/skillbook-skills:reflectfrom skillbook-skills
Spawn three parallel review subagents over the active transcript, surface learnings, and route each to a concrete edit on an existing skill. Use when the user says reflect.
Ships in skillbook-skills. 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.
Mine the current conversation for durable learnings, then route them into skill edits.
Invoke when the user says "reflect" or "/reflect". Skip when the conversation is trivial, off-topic, or already covered by an existing skill the parent followed correctly. One-offs are not learnings.
The parent finds its own transcript file before fanning out. The system prompt names the active workspace's agent-transcripts/ directory, typically under ~/.agents/projects/<slug>/agent-transcripts/; the legacy ~/.cursor/projects/<slug>/agent-transcripts/ path is a fallback when that is where your harness keeps them. Use that path. Do not glob across ~/.agents/projects/*/ (or the legacy ~/.cursor/projects/*/). That crosses workspace boundaries and reads private chats from unrelated projects.
ls -t <agent-transcripts>/*.jsonl <agent-transcripts>/*/*.jsonl <agent-transcripts>/*/subagents/*.jsonl 2>/dev/null | head -10
Three transcript layouts: legacy flat (<id>.jsonl), current nested (<id>/<id>.jsonl), and subagent (<parent>/subagents/<child>.jsonl).
For each candidate, read the first JSONL line and check that message.content[0].text contains the conversation's opening user prompt. Take the matching path. If no path resolves, write a tight digest of the session and pass that instead.
One message, three reviewers spawned with your harness's task mechanism if it has one, otherwise run them inline one at a time, each with an explicit model: and agent mode (readonly: false). Reviewers need MCP access for context lookups (tickets, chat threads, observability traces referenced in the transcript). Readonly strips MCPs.
| Lens | model | Prompt template |
|---|---|---|
| Judgment | your configured reflect judgment model, or your harness's default model | references/judgment-reviewer.md |
| Tooling | your configured reflect tooling model, or your harness's default model | references/tooling-reviewer.md |
| Divergent | your configured reflect judgment model, or your harness's default model | references/divergent-reviewer.md |
Pass each template verbatim, substituting the transcript path or digest where marked. Reviewers return findings in their task response body, or inline when your harness has no task mechanism.
One synthesizer spawned with your harness's task mechanism if it has one, otherwise run it inline, using your configured reflect judgment model, or your harness's default model, agent mode (readonly: false). The synthesizer's quality check includes spot-verifying citations, which can require MCP access. Readonly strips MCPs. Use references/synthesizer.md verbatim, with each reviewer's full output inlined where marked. The synthesizer returns a structured Accepted / Rejected / Backlog list.
Sanity-check the synthesizer's Accepted list. For any item that would be enforced more reliably by a lint rule, script, metadata flag, or runtime check, move it from Accepted to Backlog. See the encode-lessons-in-structure principle skill.
Before applying any Accepted edit, present the synthesizer's full Accepted/Rejected/Backlog output to the user and wait for explicit approval. The user picks which subset to apply and may redirect routings. Skill changes affect every future agent in the org. Do not auto-apply.
Backlog items file to whatever devex / backlog tracker your team uses automatically. Only the Accepted list waits for approval.
For each approved Accepted item, follow the Routing field exactly:
create-skill skill) and run its draft / test / iterate loop; otherwise make the edit directly following the target skill's existing format.tune description: <skill path> (the skill exists but didn't trigger when it should have): use the description-optimization loop when your harness provides one (for example create-skill); otherwise tighten the description by hand.new skill via create-skill: <kebab-name>: hand creation to the harness skill-authoring capability when available; otherwise author the new skill directly following the format of neighboring skills. Do not invent the shape ad hoc.If your environment ships a SKILL.md validator, run it on every touched skill before declaring done. Skip this step if it doesn't.
Short list, no preamble:
<skill path>. What changed, one line each.<skill path>. One line each (rare).<issue title> (<tags>). One line each.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dyegolara/skillbook --plugin skillbook-skills56 skills in this plugin
/architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for "architect this", "design this", or non-trivial work where jumping to code would lock in the wrong shape./arenaSpawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for "arena this", "throw it in the arena", or when one attempt at a non-trivial artifact would lock in the wrong shape./automate-meUse for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a skill", or wanting agents to follow how the user works. Drafts or revises a personal -mode skill via create-skill + unslop, optionally pulling fresh evidence from recent transcripts./blast-radiusFind what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of writing it up. Use for 'blast radius of X', 'what could this break', or reviewing a small diff you don't trust./broRestate the last message in plain human language, with no jargon./code-review-loopSoftware-factory chain stage: two-axis code review of the integration branch against the merge-base with origin/main, written to an untracked local report, then routed — normal findings to dev-flow, a clean review to create-pr, decision-forcing findings to grill-with-spec, which pauses the chain on the maintainer. Use for /code-review-loop or any independent review that must pick the next stage.