/session-harvest:skill-harvestfrom Session Harvest
Use when work wraps up and the user asks what their own agent skills should learn from it — "harvest skill improvements", "is this skill stale?" — or when a session catches a personal skill giving outdated or incomplete guidance. Maps each learning to the specific skill it should improve and ships approved changes as PRs following each repo's conventions. Learnings headed to memory, CLAUDE.md, or project docs go to session-harvest instead.
Ships in Session Harvest. 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.
Read when SKILL.md points to them.
A personal skill library is a maintained product, and real sessions are its field data. When a session fights stale API guidance, hits a gotcha a skill should have warned about, or performs by hand a sequence a skill should encode, that learning is worth more in the skill — where every future session gets it — than in a private memory or a fading recollection.
This is the sibling of session-harvest, split by destination:
| Learning is about... | Home | Skill |
|---|---|---|
| How Claude should work with this user; cross-session context | Memory | session-harvest |
| A convention/decision of the current project | CLAUDE.md/AGENTS.md, docs, hooks | session-harvest |
| Domain knowledge a personal skill or plugin teaches | The skill's own repo, via PR | this skill |
When session-harvest hands off flagged candidates, start from those instead of re-sweeping — this phase becomes a quick supplement, and the work resumes at Phase 2. Otherwise, sweep the session (and, when invoked at project close, the whole project) for moments where a personal skill's coverage was tested:
Check beyond the transcript: the project's memory directory often holds staleness notes written mid-session (e.g. *-stale.md), and handoffs/review findings record gotchas the conversation summary may have compacted away.
Locate the user's skill library — the local dev clones behind their personal plugin marketplaces. The harness lists the configured marketplace sources (Claude Code: ~/.claude/plugins/known_marketplaces.json; Codex: codex plugin marketplace list); if the dev-clone locations aren't already known, ask. Then route each candidate:
references/ file).Read the target before proposing. A candidate is only a gap if the skill actually lacks it. Open the target skill's current content — SKILL.md and its references/ files — and confirm the "missing" guidance isn't already there; recollection and diff hunks aren't evidence of absence, the file is. Then check git log on the file: material that was deliberately cut would come back as a regression, not an improvement. If the skill already covers the ground but could be sharpened, propose an update to the existing passage rather than a parallel addition.
Generalize before proposing. A skill ships to every future session, so a single session's workaround becomes guidance only if it holds beyond this project's particulars. Prefer "X changed in version Y — check Z" over rules overfit to today's bug.
A wrong claim in a skill misleads every future session that loads it. Before presenting candidates for approval, verify each one's factual assertions against a primary source — release notes, changelogs, the library's actual code — not training intuition or the session's own summary. Date-stamp or version-stamp anything version-sensitive ("as of r184") so future staleness is detectable.
Verification runs before presentation on purpose: what the user approves is what ships, so it must already be checked. When a claim doesn't hold up:
Show one numbered list across all candidates: the learning, the evidence (what happened this session), the target skill and file, and the shape of the change (one-line fix / new gotcha entry / new reference section). Present in two tiers, mirroring session-harvest: candidates strong on durability (matters beyond this month), generality (holds beyond this project), and evidence (traceable to something that happened) are genuine recommendations; anything weak on one of those axes goes under borderline — optional, with a phrase on why it's marginal, so skipping it reads as a fine default rather than a rejection. When you can't decide the tier, it's borderline. Then ask which to ship. Never edit a skill repo without approval of the specific items. Briefly list what was skipped and why, so the user can overrule.
For each approved item, follow the target repo's own contribution conventions — look for a conventions doc (e.g. docs/PLUGIN-CONVENTIONS.md) and honor it: version bumps so content changes reach installed users, per-plugin README/catalog rows, validation steps. Group changes into one branch and PR per plugin, built in a worktree, with the PR description citing the field evidence.
When a fix corrects a stale fact, check the skill's eval files for the same stale premise — an eval can encode the outdated claim and then contradict the corrected skill. Realign the eval in the same PR where the repo allows it; where evals are convention-protected, flag the mismatch in the PR description instead of leaving the two silently at odds.
Ship exactly what was approved. If anything had to shift between approval and the PR — a claim tightened, a target file changed — say so in the PR description rather than letting the diff quietly diverge from what the user signed off on. Offer a /code-review pass on the PRs as the closing step.
What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
session-harvest@cypherpoet-toolchest is listed by cypherpoet/cypherpoet-toolchest — review the source before installing
npx claudepluginhub cypherpoet/cypherpoet-toolchest --plugin session-harvest