/evolution:capture [refine <skill> | workflow | lesson to capture]from Evolution
Turn a hard-won fix or a repeated workflow into a new or refined versioned skill, or decide it isn't worth one. Use when evolution flags a fix, a skill that misfired, or a repeated procedure, or when asked to "remember this".
Ships in Evolution. 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.
Decide whether something from this session is worth keeping and, if it is, keep it as a skill that a future session will actually trigger.
Request or nudge (may be empty): $ARGUMENTS
Below, evolution <cmd> means node "${CLAUDE_PLUGIN_ROOT}/scripts/evolution.mjs" --session "${CLAUDE_SESSION_ID}" <cmd>.
Read the skill's SKILL.md, then compare it with what actually happened after it fired. Refine it only if the skill caused or failed to prevent the trouble: a step was wrong or missing, a command or flag changed, or the user corrected how it should be done. If the trouble had nothing to do with the skill, say "Not refining : ." and stop.
Write four lines for yourself: Symptom (exact error text), Cause, Fix, Proof (the command that showed it worked, from this session). If you cannot state the Cause honestly, stop: a fix you don't understand is a superstition. Keep the lesson only if it is:
Keep the procedure only if it is:
Run evolution list --all --json. If a skill covers the same symptom, tool, subsystem or procedure, update it: correct what was wrong, add the new case, and keep it coherent. A skill is a playbook, not a diary. Two skills with overlapping triggers compete, and both get worse.
list --json reports each skill's owner:
evolution register <skill-dir> --note "adopted before refinement" first, so the original is saved as v1 and can be restored, then edit and register again. From then on it is evolved.metadata: evolution: "off"): never edit it. Describe the change to the user and stop.Never edit skills that live inside a plugin: plugin updates overwrite them.
<project>/.claude/skills/<name>/): this codebase's build, layout, services, deploys or conventions. Shared through git.~/.claude/skills/<name>/): a tool, language, platform or personal routine you'll meet in other repos.When in doubt, choose project. Promoting a skill later is easy, but a codebase detail that leaks into every project is hard to take back.
Frontmatter for both shapes:
---
name: <kebab-case; same as the directory; 64 chars max>
description: >-
<What it does, in one clause>. Use when <the literal triggers: error
strings, commands, file or tool names, or the words the user asks with>.
---
A lesson body has ## Symptom (quote the error), ## Cause, ## Fix (imperative steps, exact commands), ## Verify and ## Pitfalls (what looked right but wasn't).
A workflow body has ## When (the request that starts it), ## Inputs (what to ask for or detect: version, target, environment), ## Steps (numbered, exact commands, in the user's order), ## Checks (how to tell each step worked) and ## Variations (known branches; what the user corrected before).
Rules:
<package>, $PROJECT) unless they are the lesson.evolution-* keys under metadata: alone. The CLI owns them.evolution register <skill-dir> --note "<one line: what changed and why>"
This stamps the version, saves a snapshot for rollback, and adds a CHANGELOG.md entry. It does nothing on an unchanged skill. If it prints warnings, fix the skill and run it again.
One line, for example Refined deploy-staging v3 (project): pass --canary before the full rollout. For a project skill, remind the user to commit .claude/skills/.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/pruneReview evolved skills and retire, merge, trim or keep the ones that stopped earning their keep (stale, overlapping or too costly in context)./statusList evolved skills with versions and usage, show a skill's history, or roll back, restore or adopt one. Use when asked what Claude has learned or to undo a skill change.Other plugins' skills for the same job
Generated from the plugin's indexed repository (fingerskier/evolution-claude-plugin) — no native marketplace selected
npx claudepluginhub p/fingerskier-evolution