khendzel/skills-janitor
123 stars · Last commit 2026-09-30
Tinder for your Claude Code skills, subagents and MCP servers. Swipe away what wastes context, scan for prompt injection, get honest token costs. Fixes what it finds and actually deletes. Zero dependencies, Claude Code + Codex.
README preview
# Skills Janitor > Tinder for your Claude Code skills. Swipe through your collection and delete what's wasting context, in seconds. Works with **Claude Code** and **OpenAI Codex**. 6 commands, zero dependencies.  > **Status (v1.8, September 2026): maintenance mode. Claude Code now does the core of this natively.** > > When this project started, nothing in Claude Code told you which skills were eating your context. Now it does: > > - [`/skill-doctor`](https://code.claude.com/docs/en/skills#find-unused-skills) shows what each skill costs in context and how often it gets used, and flags the ones never invoked > - [`/doctor`](https://code.claude.com/docs/en/commands) finds unused skills, MCP servers and plugins against their context cost, and fixes them after asking > - `/doctor prompt-audit` audits your CLAUDE.md files, skills, agents and commands for outdated or conflicting instructions > - `/skills` sorts by token count (`t`) and hides a skill with `Space` > > If you only use Claude Code and only want to trim context, use those. They see real usage from inside the harness, which a plugin never can. > > The janitor stays useful for what still isn't built in: **security scanning** ([`/janitor-security`](#security-scan-v16), plus a pre-install check in `/janitor-discover`), **duplicate detection** across skills, **OpenAI Codex** support, and **actually deleting** broken symlinks and dead skill folders. Bug fixes and PRs are still welcome. No new features are planned.