/pstack:reflectfrom pstack (adattato)
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 (adattato). 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.
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.
Before fanning out, find this conversation's transcript in the current session's transcript store, in the directory the runtime or system prompt names for the active workspace. Never glob across workspaces. That crosses workspace boundaries and reads private chats from unrelated projects.
ls -t <transcript-store>/* <transcript-store>/*/* <transcript-store>/*/subagents/* 2>/dev/null | head -10
List by real modification time, newest first. Layouts differ by runtime: a flat file per chat (<id>.jsonl), a nested folder per session (<id>/<id>.jsonl), or subagent chats in subfolders are all examples. Adjust the globs to what the store actually contains. For each candidate, read its first lines to learn the schema (JSONL with one event per line is typical, but confirm). Take the file whose first user message contains the conversation's opening user prompt. If none matches, pass a tight digest of the session instead.
One message, three general-purpose subagents spawned with the runtime's subagent mechanism, in writable (not read-only) mode. Reviewers need MCP access to look up the tickets, chat threads, and observability traces the transcript references, and read-only mode can strip MCPs.
Each reviewer and the synthesizer name a role line in the pstack models section of the user's or project's agent instructions (written by setup-pstack) and a default tier. Set the subagent's model to that line's tier, or to the default if the section or the line is missing. Omit the model override when the value is inherit, so the subagent runs on the parent model. If the runtime rejects the chosen model, use the default tier and say so. If it rejects the default, use the closest valid model of the same tier from its error message. If the runtime cannot choose models, every role runs on the parent model. Pick each subagent's reasoning level and fast or standard speed for the job, per the Subagents section of the poteto-mode skill.
| Lens | Role line | Default tier | Prompt template |
|---|---|---|---|
| Judgment | reflect judgment, divergent, synthesizer | strongest | references/judgment-reviewer.md |
| Tooling | reflect tooling | fast (prefer a different model family than strongest) | references/tooling-reviewer.md |
| Divergent | reflect judgment, divergent, synthesizer | strongest | references/divergent-reviewer.md |
Pass each template verbatim, substituting the transcript path or digest where marked. Reviewers return findings in the subagent's response body.
One general-purpose subagent, model tier from the reflect judgment, divergent, synthesizer line (default strongest), in writable (not read-only) mode. It spot-verifies citations through MCP, and read-only mode can strip MCPs. Pass references/synthesizer.md verbatim, with each reviewer's full output inlined where marked. It returns an Accepted / Rejected / Backlog list.
Move any Accepted item that a lint rule, script, metadata flag, or runtime check would enforce more reliably to Backlog. See the encode-lessons-in-structure principle skill.
Present the synthesizer's full Accepted / Rejected / Backlog output and wait for explicit approval before applying any Accepted edit. The user picks the subset and may redirect routings. Skill changes affect every future agent in the org. Do not auto-apply.
File each Backlog item to your team's devex or backlog tracker without waiting. Only the Accepted list waits for approval.
Follow each approved row's Routing exactly:
tune description: <skill path> (the skill exists but didn't trigger when it should have): hand to the same skill-authoring path and run a description-optimization loop.new skill via skill-authoring: <kebab-name>: hand creation to the same skill-authoring path. Do not invent the shape ad hoc.If your environment ships a SKILL.md validator, run it on every touched skill before declaring done.
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 dox-op/ep-skills-marketplace --plugin pstack57 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 the runtime's skill authoring + unslop, optionally pulling fresh evidence from recent transcripts.Other plugins' skills for the same job