/pstack-picks:reflectfrom pstack-picks
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 pstack-picks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
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.
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. Claude Code stores transcripts at
~/.claude/projects/<slug>/, where <slug> is the absolute repo path with every / replaced by -
(so /Users/you/myrepo becomes -Users-you-myrepo, leading dash and
all). Scope to the active workspace's slug only. Do not glob across ~/.claude/projects/*/. That
crosses workspace boundaries and reads private chats from unrelated projects.
slug=$(pwd | sed 's#/#-#g')
ls -t ~/.claude/projects/"$slug"/*.jsonl ~/.claude/projects/"$slug"/*/subagents/*.jsonl 2>/dev/null | head -10
Two layouts: the main thread is <uuid>.jsonl directly under the slug directory, and each subagent
is <parent-uuid>/subagents/agent-<id>.jsonl one level deeper.
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 Agent calls, subagent_type: "general-purpose", explicit model: on each. Use
general-purpose rather than Explore: reviewers need MCP access for context lookups (tickets, chat
threads, observability traces referenced in the transcript), and the read-only Explore type is a
narrower toolset. The prompt forbids file writes; the parent applies edits.
Read references/models.md for the engines. Defaults:
| Lens | Engine | Prompt template |
|---|---|---|
| Judgment | Agent, model: "opus" | references/judgment-reviewer.md |
| Tooling | Agent, subagent_type: "codex:codex-rescue" | references/tooling-reviewer.md |
| Divergent | Agent, model: "opus" | references/divergent-reviewer.md |
The Tooling lens is the cross-family arm. Keep it on Codex so at least one reviewer has not read the parent's reasoning.
Pass each template verbatim, substituting the transcript path or digest where marked. Reviewers return findings in the Agent response body.
One Agent call, subagent_type: "general-purpose", model: "opus". The synthesizer's quality check
includes spot-verifying citations, which can require MCP access, so do not use the read-only Explore
type here. 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. The synthesizer already applies this criterion; this is a final pass before edits land. 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. Those are tracker submissions, not skill edits. Only the Accepted list waits for approval.
For each approved Accepted item, follow the Routing field exactly:
Agent with model: "opus", pointing it at the target SKILL.md. Have it draft, then re-read the result yourself against the finding before it lands.tune description: <skill path>: the skill exists but didn't trigger when it should have. Rewrite only the description field in the frontmatter, keeping it one YAML scalar. Name the literal phrases the user typed that failed to match.new skill: <kebab-name>: create <skills-dir>/<kebab-name>/SKILL.md with name, description, and disable-model-invocation: true unless the skill genuinely needs to auto-load. Copy the shape of an existing skill in the same directory rather than inventing one.Run claude plugin validate <plugin-dir> on every touched plugin skill before declaring done. For a
loose .claude/skills/ skill there is no validator; re-read the frontmatter by eye instead.
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
npx claudepluginhub gethubgod/worker-skills --plugin pstack-picks20 skills in this plugin
/architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /architect, '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, '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, optionally pulling fresh evidence from recent transcripts.Other plugins' skills for the same job