Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.121 Home All releases olderv2.1.120 v2.1.122newer
Claude Code v2.1.121

Plugin Prune Command

What

New claude plugin prune subcommand removes auto-installed plugin dependencies that are no longer needed by any active plugin.

Usage
# List orphaned plugins without removing them
claude plugin prune --dry-run

# Remove orphans at user scope
claude plugin prune

# Remove at project scope
claude plugin prune --scope project

# Skip confirmation prompt (for CI)
claude plugin prune -y

# Also prune during uninstall
claude plugin uninstall my-plugin --prune
Details
  • Detects auto-installed dependencies that no longer have a parent plugin requiring them
  • Supports scopes: user, project, or local
  • Dry-run mode shows what would be removed without acting
  • Non-TTY environments require -y flag
  • Reports which plugins were removed and their count
  • Integrates with plugin uninstall --prune for cleanup during uninstall
  • Telemetry event tengu_plugin_prune_cli tracks usage
Evidence

Plugin prune handler (search for "plugin prune", "Nothing to prune", "no longer needed")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.121 →