clean

Installation
SKILL.md
Contains Hooks

This skill uses Claude hooks which can execute code automatically in response to events. Review carefully before installing.

Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

Pre-computed context

Uncommitted changes: !git status --porcelain 2>/dev/null | head -5 || echo "" Current branch: !git branch --show-current 2>/dev/null || echo "unknown"

Purpose

Return the repo toward a known-good state. Selective tiers (scan, caches, build, git, all) remove artifacts while preserving secrets, runtime deps, and skill data. tree is the destructive tier — reset --hard + clean -fdx, but safe-by-default: it preserves the same secrets / runtime-deps / skill-data classes unless you opt in via --include-deps / --include-secrets.

Bare invocation never mutates silently: resolve intent → dry-run → user confirmation → --apply. Full menu, aliases, and confirmation matrix: context/action-router.md.

Arguments

$ARGUMENTS — cleanup action or alias. Resolve first:

bash ${CLAUDE_PLUGIN_ROOT}/skills/clean/scripts/resolve-clean-action.sh $ARGUMENTS
Installs
3
GitHub Stars
12
First Seen
Mar 5, 2026
clean — melodic-software/claude-code-plugins