/agent-utilities:skill-cleanerfrom agent-utilities
Agent skill audit: live budget, usage, duplicates, compact descriptions.
Ships in agent-utilities. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this when trimming skill prompt budget, finding duplicate skills, auditing enabled/disabled skill roots, or deciding which skills/plugins to remove.
From this skill directory:
node --experimental-strip-types scripts/skill-cleaner.ts --months 3
From this repository root:
node --experimental-strip-types plugins/agent-utilities/skills/skill-cleaner/scripts/skill-cleaner.ts --months 3
Useful variants:
node --experimental-strip-types scripts/skill-cleaner.ts --no-logs
node --experimental-strip-types scripts/skill-cleaner.ts --no-live --no-logs
node --experimental-strip-types scripts/skill-cleaner.ts --months 6 --max-log-mb 800 --deep-logs
node --experimental-strip-types scripts/skill-cleaner.ts --context-tokens 272000 --budget-percent 2 --no-logs
node --experimental-strip-types scripts/skill-cleaner.ts --root /path/to/skills --no-logs
node --experimental-strip-types scripts/skill-cleaner.ts --root /path/to/skills --root-only --no-logs
Skill Budget: live Codex inventory, 2% budget, budgeted usage, and full-description pressure.Description candidates: long descriptions where relaxed grammar saves prompt budget.Duplicates: same skill name or near-identical description/body across Codex, plugin cache, repo siblings, and personal skill roots.Unused candidates: no recent user mention or actual SKILL.md read in recent agent logs.Root summary: where skills came from and whether config marks them disabled.codex debug prompt-input supplies the exact model-visible skill list, order, names, and aliased paths. --no-live forces the broader filesystem fallback.- name: description (file: path).name and description.core-skills/src/render.rs: 2% of raw context_window, token cost ceil(utf8_bytes / 4), then full descriptions -> equal description truncation -> omitted minimum lines. Alias-table line cost is included.~/.codex/models_cache.json for GPT-5.5 context_window; fallback is 272,000 tokens and 2%.--root <path>.--root-only requires at least one --root <path>, disables live inventory, and scans only the supplied roots.~/.codex/history.jsonl and recent ~/.codex/sessions/**/*.jsonl by default. Add --deep-logs for archived sessions and optional extra log roots supplied through AGENT_UTILITIES_LOG_ROOTS.$skill/use skill mentions and paths observed in tool-call arguments.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
15 skills in this plugin
/browser-useControl the user's existing signed-in Chrome: native browser tool first, with direct DevTools attachment only as a last fallback./clean-room-rebuildClean-room rebuild of a feature from a shipped app without its source. REA investigation writes a behaviour-only spec, a fresh session builds from it, and mutation-tested checks verify the result. For investigation only, use reverse-engineer-anything./cleanup-codexDiagnose and recover macOS Codex app-servers under descriptor pressure — read-only inspect, two-pass recycle of a detached server (native daemon restart) or of the ChatGPT/Codex desktop app, and snapshot-bound reaping of leftover processes.agent-utilities@novotnyllc is listed by novotnyllc/marketplace — review the source before installing
npx claudepluginhub novotnyllc/marketplace --plugin agent-utilities