Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Identifies unused Codex skills and MCP servers, then disables them after user confirmation to reduce context bloat.
Use this skill ↓30% 74%+43 ptsof test cases passed
Passed 17 of 23 test cases with the skill, and 7 of 23 without it.
3 of 3 safety checks passed
Not used yet
When the user wants to slim Codex skills or MCP servers, follow the same
flow: enumerate → suggest → confirm → disable. The CLI exposes parallel
skills and mcp command trees on Codex (subagents are Claude Code-only).
Prefer ${AGENT_CLEANER_CLI} if set. Otherwise locate the newest installed bundle:
find "${CODEX_HOME:-$HOME/.codex}/plugins/cache/local/agent-cleaner" -path '*/lib/agent-cleaner.mjs' -type f 2>/dev/null | sort | tail -1
If that finds nothing, check the current repository path:
test -f plugins/codex/lib/agent-cleaner.mjs && pwd
Always invoke via node <abs-path> and always pass --host=codex.
node "<abs-path>/agent-cleaner.mjs" --host=codex skills suggest --json
The output is a JSON array of suggestions, each with id, name, source, reason (never-used | stale), confidence (high | medium | low), details.
If the user wants to see all skills, use skills list --json.
Show the suggestion list as a compact table with id, reason, and confidence. Never disable without explicit user confirmation.
If the user wants to adjust the staleness threshold, mention --unused-for=60d (or 2w, 3m, 1y) or persist a default in ~/.agent-cleaner/config.json:
{ "unusedForDays": 60 }
Next to this one in the catalogue, plus more from the same author.