From claude-evolve
Extracts and saves key learnings from conversations as skills, agents, or rules in Claude toolkits. Use after debugging, problem-solving, or pattern discovery via /learn or phrases like 'extract learnings'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-evolve:learnThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute the `/learn` command flow, which orchestrates the learning-extractor agent in two phases with user selection in between.
Execute the /learn command flow, which orchestrates the learning-extractor agent in two phases with user selection in between.
$HOME/.claude-evolve/active exists. If not, tell user to run /evolve init first and stop.claude-evolve:evolve-learning-extractor with action="discover" and the user's trigger text as topic hint. Agent analyzes conversation context and session signals, returns at most 4 candidate learnings ranked by value.claude-evolve:evolve-learning-extractor with action="create" and the user's approved selections (id, summary, detail, type, scope, name, consolidates_with per learning).See ${CLAUDE_PLUGIN_ROOT}/commands/learn.md for full implementation details.
| Found | Becomes | Location |
|---|---|---|
| Problem-solving pattern | Skill | $HOME/.claude-evolve/toolkits/{name}/skills/{skill-name}/SKILL.md |
| Investigation method | Agent | $HOME/.claude-evolve/toolkits/{name}/agents/{name}.md |
| Code pattern/approach | Rule | $HOME/.claude-evolve/toolkits/{name}/rules/{name}.md |
| Improvement to existing | Consolidated | Merged into existing file |
Key: No separate storage. Learnings become agents/skills/rules directly.
| Error | Action |
|---|---|
| No toolkit initialized | Tell user: "Run /evolve init first." |
| Phase 1 returns no candidates | Report: "No significant learnings found in this session." |
| User selects no candidates | Report: "No learnings captured." |
| Phase 2 fails to write | Report error, suggest checking toolkit directory permissions |
| Consolidation target found | Agent marks target in Phase 1; user approves in selection; agent consolidates in Phase 2 |
## Learnings Captured
**Created:** `agents/{name}.md` (universal)
**Created:** `skills/{name}/SKILL.md` (project-specific)
**Consolidated:** `rules/{name}.md` (universal)
{Description of each component}
Available next session (agents/skills load at startup).
Run `/evolve release` to sync to other machines.
Best results when the session contains:
Less useful for routine task completions with no novel insights.
npx claudepluginhub hknc/claude-evolveCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.