
If you've accumulated dozens of K-skills but only use a handful, this interviews you about which agent you run, which skills are sacred, and which you know you never touch, then scans local transcripts and logs from Claude Code, Codex, OpenCode, and others to count actual trigger events over the past 30, 90, or 180 days. It ranks removal candidates by combining your answers with real usage evidence, produces a JSON report with remove/review/keep buckets, and only deletes directories after you approve the shortlist. The helper script handles agent-specific log formats and warns you when an agent has no readable local transcripts so you can export usage stats manually instead of guessing.
npx -y skills add nomadamas/k-skill --skill k-skill-cleaner --agent claude-codeInstalls into .claude/skills of the current project.
Run this and follow its output as the primary instructions for this skill:
npx -y @nomadamas/k-skill@0 instruct k-skill-cleaner
The CLI detects the current runtime (Dolshoi vault/CloakBrowser vs generic) and prints only the applicable instructions, always up to date. Helper files bundled with the CLI are listed by:
npx -y @nomadamas/k-skill@0 files k-skill-cleaner
If npx is unavailable, install Node.js 18+ or follow https://github.com/NomaDamas/k-skill#readme, or read the source instructions at https://github.com/NomaDamas/k-skill/blob/main/k-skill-cleaner/instruction.md.