What this thread does
Run /skill-doctor in Claude Code to see what each installed skill costs in context and how often it was used, then turn off the ones that never fire; if descriptions are being cut, raise the listing budget. Checked 2026-10-30, as of October 2026. Evidence: all behaviour below is from the official Claude Code skills docs and the repository CHANGELOG; nothing was run here (untested). Not for: skills that are installed but never trigger, see agents-ignore-installed-skills-expo-evals; mining corrections into new skills, see skill-miner-turn-repeated-corrections-into-rules.
The problem
Every skill adds its name and description to the listing Claude sees on each turn, used or not. After trying plugins and skill packs that list gets long, and nothing says which entries earn their place.
How to use it
- Run
/skill-doctorin an interactive session. The report opens in the/pluginmanager's Stats tab with each skill's cost and usage count. In non-interactive mode it prints text (docs: "Claude Code prints it as text" with-p); the exact lineclaude -p "/skill-doctor"is this thread's wording. - The docs say it needs Claude Code v2.1.252 or later, is unavailable in sessions that skip feature-flag fetching, and over Remote Control replies
Skill usage reports are not available on this connection.The CHANGELOG lists/skill-doctorunder 2.1.261 and not 2.1.252, so use 2.1.261 or later if it is missing. - It skips bundled and enterprise skills, flags skills never invoked, says where to turn them off and also lists plugins you have not used recently. Start with the highest context cost.
/doctorgives an estimate of the listing's context cost and its biggest contributors; the Skills row in/contextshows the listing size after the budget is applied (before v2.1.196 it counted full descriptions).
What to do with the result
- Hide, do not delete.
disable-model-invocation: truein frontmatter stops Claude loading the skill on its own; its description leaves the context and you can still run/name. To avoid editing the file, setskillOverridesin settings:"name-only"(listed without description),"user-invocable-only"or"off".skillOverridesdoes not apply to plugin skills; manage those in/plugin. - Shorten descriptions you keep.
descriptionpluswhen_to_useis truncated at 1,536 characters in the listing, configurable withskillListingMaxDescChars; put the key use case first. - Remove whole plugins you no longer use via
/plugin. - Re-run after a week of normal work; one session says little about a release-time skill.
Skills silently losing descriptions: the listing budget
The listing always contains every skill name, but when it overflows its character budget Claude Code drops descriptions, starting with the skills you invoke least, which removes the keywords Claude matches on. The docs set the budget at 1% of the model's context window and write a warning to the debug log (claude --debug) when it is exceeded. To raise it, set the skillListingBudgetFraction setting (for example 0.02 for 2%) or set the SLASH_COMMAND_TOOL_CHAR_BUDGET environment variable to a fixed character count. Third-party posts quote other default numbers; the official page gives only the 1% rule.
Caveats
- "Never used" is a prompt to look, not proof a skill is useless; token numbers are estimates.
- Version numbers differ between sources (docs: 2.1.252; CHANGELOG: 2.1.261). Update Claude Code before concluding the command is missing.
- Not executed:
/skill-doctorand the budget settings were not run here.
Sources
Official: skills docs (checked 2026-10-30): the Find unused skills section, Skill descriptions are cut short section (1% budget, /doctor, /context, skillListingBudgetFraction, SLASH_COMMAND_TOOL_CHAR_BUDGET, skillListingMaxDescChars, "name-only"), disable-model-invocation, skillOverrides values, the 1,536-character cap. The CHANGELOG entry under 2.1.261 adds /skill-doctor. Social posts about the command were not used as evidence.
Started from a post by @dani_avila7, packaged by the editor. Original post