brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: /skill-doctor shows which Claude Code skills cost context and never get used

Claude
~/tips/tip-claude-code-skill-doctor

/skill-doctor

Lists what each of your skills costs in context and flags the ones nobody has invoked.

Every skill you install adds a line to what Claude Code has to read on every turn, whether you ever use it or not. After a few months of collecting skills, that adds up. Here’s how to see which ones are dead weight.

/skill-doctor

The report shows what each skill costs in context and how often it gets used. It flags skills in the listing that have never been invoked and says where to turn them off. It also lists plugins you haven’t used recently. In an interactive session it opens in the Stats tab of the /plugin manager. With -p, Claude Code prints it as text instead.

The docs suggest starting with the flagged skills that have the highest context cost. To switch one off without editing its file, the skillOverrides setting does that, and disable-model-invocation: true in the frontmatter stops Claude from invoking a skill by itself.

Caveats: the report skips bundled skills and enterprise skills. It needs Claude Code v2.1.252 or later, and it doesn’t work in sessions that skip feature-flag fetching. Over Remote Control from a phone or browser you only get Skill usage reports are not available on this connection., so run it in the terminal on the machine where the session lives.

I’d check it any time the skill list starts to feel long. Pruning skills you never call is the cheapest context saving there is.

Further reading: Claude Code docs: find unused skills

More Claude tips /recap /focus /autocompact 500k claude purge ~/work/my-repo --dry-run claude auth status --text All Claude tips (83) All topics

Link