正在加载视频...
视频加载失败
Claude Code just shipped a new /skill-doctor command It shows which skills are loaded in your session, which ones haven’t been used, and how many context tokens each is costing you Now you know exactly what to remove
26 条评论

the unused skill list is the real feature, most people's setup is just cruft nobody prunes

tracking token cost per skill is clever, let's connect soon

After using Astra yesterday, I'm starting to think figuring out which instructions to remove matters as much as knowing what to add. I'm doing a full cleanup of my skills and agent instructions now. Astra in Codex feels like a new platform.

cost visibility is good, it just answers what's expensive, not what's working

skill-doctor 最有用的输出不只是“删哪些技能”,而是按触发频率/上下文成本/实际收益排序;高 token 但低命中率的规则,应该先懒加载或拆到子技能。

a command whose whole job is telling you what to delete, that's a first for a cli tool

cc @wjayesh

pr #867 for a slash command, this repo moves faster than most seed stage roadmaps

@dani_avila7 love it! it’s like decluttering for your AI setup. this would've saved me so much time debugging last month!

Now if only I could actually delete shared skills, that would be great. Also better organization of org level skills so you can limit them to LOBs not the entire firm.

skill-doctor is the audit every agent stack was missing. load list, unused skills, token burn per skill. finally a reason to prune the skill graveyard instead of pretending it is free context.

Great thanks

“Last used: never” as the default row is a pretty good roast of most Claude Code setups.

this is such a good diagnostic — seeing unused skills and their context cost makes cleanup way less guessy

Is this the same as /doctor ?

skill doctor is exactly what i needed

This is a good feature to have. Spending unnecessary tokens is like a death warrant.

Why is the command reporting usage reports are not available on this connection

nice! maybe this will finally convince me to try removing all my skills and adding them back as needed

Quite lovely Sir! Been waiting for this. Thanks for being a news channel worth paying attention to.

unused this session and unused are different things. the skill you only load during an incident will look like dead weight.

I've left dead skills loaded for weeks. /skill-doctor is the cleanup I needed.

Handy. But does it flag skills silently bloating context without pulling weight? Or just list 'em?

pruning unused context tokens saves money and avoids hallucinations

unused in one session doesn't mean removable. rare guardrails and dead weight look identical at the token-count level. the doctor needs to show which skill prevented which failure.

token count is only the first part of what a skill costs. Cached and uncached input bill at different rates, so a large skill sitting in a stable prefix is far cheaper than the raw number suggests. And a rarely-used one may be preventing a failure that only shows up downstream.
