Plugin audit against detected stack (Python, Node, Rust, Go, Terraform, Docker, K8s). Use when cleaning up unused plugins or discovering stack-relevant ones for a project.
Plugin audit against detected stack (Python, Node, Rust, Go, Terraform, Docker, K8s). Use when cleaning up unused plugins or discovering stack-relevant ones for a project.
Audit the project's enabled plugins against the actual technology stack. Identifies plugins that don't apply to this project and suggests relevant plugins that aren't enabled.
Show what would be changed without modifying files
--verbose
Show detailed analysis of each plugin decision
Execution
Execute this plugin relevance audit:
Step 1: Detect the project technology stack
Analyze project files from the context above to determine the technology stack. Match indicators against the tech stack mapping in REFERENCE.md.
Step 2: Retrieve available plugins
Run claude plugin list --json to get all available plugins from configured marketplaces. Parse the output for plugin name, description, keywords, and category.
Step 3: Read currently enabled plugins
Read .claude/settings.json and extract the enabledPlugins array. If the file does not exist or enabledPlugins is not set, treat as empty list.
Step 4: Analyze plugin relevance
Compare each enabled plugin against the detected tech stack. Use the plugin relevance mapping in REFERENCE.md to determine which plugins are relevant, irrelevant, or missing.
Categorize each plugin as:
RELEVANT -- matches detected tech stack
NOT RELEVANT -- no matching indicators found
MISSING -- relevant plugin not currently enabled
Step 5: Generate the audit report
Print a structured report covering:
Detected technology stack with evidence
Currently enabled plugins with relevance status
Suggested plugins to add (with reasons)
Suggested plugins to remove (with reasons)
Summary counts
Step 6: Apply changes (if --fix)
When --fix is passed:
Back up current settings: cp .claude/settings.json .claude/settings.json.backup
Ask for confirmation before each category of changes (removals, additions)