/pstack-pi:automate-mefrom pstack-pi
Guides users through creating or updating a personal -mode skill that captures their working style and preferences for agent follow-through. Orchestrates history mining, skill authoring, and prose refinement.
Ships in pstack-pi. 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.
None: SKILL.md is the whole skill.
Follow the portable runtime contract for transcript discovery, questions, child roles, skill paths, and skill invocation.
A guided flow for turning the user's working conventions into a skill agents will follow. The output is one -mode skill tailored to them (e.g. jay-mode, priya-mode).
This skill orchestrates three parts: an inline mining pass (see step 1), the host's skill-authoring facility when available (or direct SKILL.md authoring when it is not), and the sibling unslop skill for prose discipline. It sequences them; it doesn't replace them.
Look recursively in the current project's host-supported skill roots for **/*-mode/SKILL.md matching the user's handle. Within this package, use skills/<handle>-mode/SKILL.md or an established skills/<handle>/<handle>-mode/SKILL.md category. If one exists, confirm intent with the host's structured question facility, or one focused chat question when unavailable (unless they already said "update my skill" or similar):
Update mode changes the rest of the flow:
git log -1 --format=%cI <path>).Locate the active workspace's transcript source before fanning out. Use the host history resource, an explicit transcript directory, or $PSTACK_TRANSCRIPTS_DIR, in that order. Use only that workspace-scoped source. If none is available, report the gap and continue with the direct interview; never scan a global vendor history tree or another workspace.
Survey recent agent conversations within that scope for recurring patterns. Run multiple parallel subagents across slices of history (e.g. last 2-4 weeks, split into 3 slices so each has enough material). Each slice mining subagent reads transcripts from the workspace-scoped path the parent provides, looks for the signals below, and returns a short structured list of patterns it saw with evidence pointers. Default signals worth hunting:
Cross-check across slices before elevating a signal. Patterns seen in 2+ slices are high-confidence; lone signals are weak and usually get dropped.
Mining misses intent that hasn't come up yet. Use the host's structured multi-choice interaction when available; otherwise ask one focused question in normal chat. Lower cognitive load, higher hit rate.
Shape: one or two questions with 4-6 options each, allow_multiple: true for category questions. Start broad ("Which areas matter most?"), then follow up on selected areas with specific options. After the structured rounds, one free-form chat question catches anything the options missed.
Don't dump 20 questions. Two structured rounds plus one open question is usually enough.
Group the combined signals into sections. Common ones (use only what applies):
The poteto-mode skill shows the shape. Read it for granularity. Don't copy its content; the user's rules are not the same as poteto-mode's.
Use the host's skill-authoring facility when available. Otherwise author the SKILL.md directly using the same draft, review, and iteration discipline. Placement:
skills/<handle>/<handle>-mode/SKILL.md when the repo has an established personal category for that handle; otherwise default to skills/<handle>-mode/SKILL.md. For another host, use its project-local skill root; do not assume a vendor-specific global path.description: trigger on their name + /<handle>-mode + "work in their style", not on generic keywords like "write code" or "review PR".create-skill's YAML rules. Keep description as one YAML scalar; quote it or use description: >- with indented continuation lines when punctuation or wrapping requires it.disable-model-invocation: true by default. Mode skills are heavy and opinionated; they should only apply when the user explicitly invokes them (by name or slash command), not auto-trigger on description matching. Opt out only if the user explicitly wants their mode to apply on every turn.Apply the sibling unslop skill and the live host's skill-authoring guidelines to every line. Both apply to any agent-read prose, not just skills.
Show the draft to the user and take feedback. Expect multiple iterations. Cut ruthlessly; a mode skill is not a manual.
Work in a worktree off main. Commit and open a PR so the user can review it. Don't push to main directly.
A -mode skill is subjective output. A create-skill-style test/iterate benchmark loop isn't useful here. Vibe-check with the user: does it read like them? Did it miss anything? Then ship.
Run a description-optimization loop only if the skill's trigger accuracy turns out to be a problem in practice.
SKILL.md conventions.What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (shrimpwtf/oh-my-pstack) — no native marketplace selected
npx claudepluginhub p/shrimpwtf-pstack-pi49 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./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.Other plugins' skills for the same job