Skip to content

/clean-crate-skills

Remove local dynamic crate skills

From plugin
rust-skills
1.6k21 skills11 agents21 commands1 hook
+1
> /plugin marketplace add actionbook/rust-skills
> /plugin install rust-skills@rust-skills

Command definition

clean-crate-skills.md
description: Remove local dynamic crate skills
argument-hint: "[crate_names...] [--all]"

Clean Crate Skills

Remove dynamically generated crate skills from the local skills directory.

Arguments: $ARGUMENTS

  • `crate_names`: Specific crates to remove (space-separated)
  • `--all`: Remove all local crate skills

---

Instructions

1. List Current Skills

ls -la ~/.claude/skills/

Display current skills:

Local crate skills:
- tokio (1.40.0) - 2025-01-15
- serde (1.0.215) - 2025-01-14
- axum (0.7.9) - 2025-01-13

2. Handle Arguments

**If specific crates provided:**

# Remove specified crate skill directories
rm -rf ~/.claude/skills/{crate_name}
rm -rf ~/.claude/skills/{crate_name}-*  # Remove sub-skills (e.g., tokio-task, tokio-sync)

**If `--all` flag:**

# Remove all crate skills (be careful not to remove non-crate skills)
rm -rf ~/.claude/skills/{crate_name}*

**If no arguments:** Use AskUserQuestion to ask which crates to remove:

Which crate skills do you want to remove?
- tokio
- serde
- axum
- All of the above

3. Confirm Deletion

Before removing, confirm with user:

This will remove skills for: tokio, serde
Continue? (yes/no)

4. Report Results

Cleaned skills:
- tokio - removed
- serde - removed

Remaining skills: axum

---

Example Usage

# List and interactively select skills to remove
/clean-crate-skills

# Remove specific crate skills
/clean-crate-skills tokio serde

# Remove all crate skills
/clean-crate-skills --all

---

Safety Notes

  • This only removes skills from `~/.claude/skills/`
  • Does not affect the rust-skills repository
  • Skills can be regenerated with `/sync-crate-skills`
Read more
@actionbook
Ships withrust-skills

AI-powered Rust development assistant with meta-cognition framework

1.6k38 skills11 agents1 MCP
Get the whole plugin, auto-invoked

Stars on GitHub

Momentum

stars in total
1.6k
Star history of actionbook/rust-skills on GitHub, a chart by star-history.com

Other commands on rust-skills.

crate-info
Auto-invoked

crate-info

Command

Get information about a Rust crate including latest version, features, and changelog.

@actionbook@actionbookInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command