/skill-improve:skill-improvefrom skill-improve
Improves skills after use by detecting outdated steps, missing edge cases, unclear instructions, or wrong assumptions. Suggests fixes after task completion or on explicit command.
Ships in skill-improve. 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.
None: SKILL.md is the whole skill.
Improve existing skills based on real usage experience. Always finish the current task first.
<skill-name> skill had some gaps — want me to /skill-improve it?"/skill-improve <skill-name> or /skill-improve (defaults to most recently used skill in session)Determine which skill to improve:
<skill-name> provided, use thatRead the target skill's SKILL.md and any bundled resources (scripts/, references/, assets/).
Compare the skill's instructions against actual execution experience. Categorize problems:
| Category | Example |
|---|---|
| Outdated | Tool/API changed, deprecated method |
| Missing | Edge case encountered that skill didn't cover |
| Redundant | Steps Claude already knows, wasting context |
| Unclear | Ambiguous instruction that caused wrong action |
| Wrong | Incorrect assumption or factual error |
Show the user exactly what will change:
Do NOT modify the file until user confirms.
After confirmation:
Update or create ~/.claude/skills/learn/learned/<skill-name>.md:
If the file exists, append to the improvement record section:
### <YYYY-MM-DD>
- **Problem**: <what was wrong>
- **Fix**: <what was changed>
- **Source**: <task context that revealed the issue>
If the file doesn't exist (non-learned skill being improved for the first time), create it:
---
skill: <skill-name>
created: <YYYY-MM-DD>
last_updated: <YYYY-MM-DD>
source: improvement
---
## Improvement Record
### <YYYY-MM-DD>
- **Problem**: <what was wrong>
- **Fix**: <what was changed>
- **Source**: <task context that revealed the issue>
If a memory system is available and the fix revealed a universal insight (not just a skill-specific correction), save a concise one-line version to memory.
/learn to extract a new skill instead of patchingWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yrzhe/claude-skills --plugin skill-improveOther plugins' skills for the same job