agentleFS
eryzerzeryzerz/prime-pstack/skills/setup-pstack/SKILL.md

setup-pstack

Skill0 starsChanged 3 months agoMITView on GitHub

Configure which models pstack uses per role. Reads each skill's references/models.md, shows the current choices, asks the user, and writes back a kept, idempotent file. Use for /setup-pstack, "configure pstack models", or changing pstack's model choices.

25 other projects use a version of this, 11 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use poteto-help, principle-explain-the-number and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ianclearySkill

    poteto-help

    Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.

    Also in 13 projects that use this

  • ianclearySkill

    principle-explain-the-number

    Apply before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.

    Also in 16 projects that use this

  • jaydubya818Skill

    principle-attack-the-premise

    Apply when repeated fixes fail and a shared assumption may be wrong.

    Also in 19 projects that use this

  • jaydubya818Skill

    principle-test-behavior-not-implementation

    Apply when tests mirror internals instead of asserting observable outcomes.

    Also in 19 projects that use this

  • tristanphvnSkill

    ketchup-video

    Catch the user up like /keel:ketchup, with a short silent video of slides for what happened and the waiting calls as text under it. Use for /keel:ketchup-video.

    Also in 6 projects that use this

  • TheOnlyFusionCubeSkill

    statechart

    Draw what an app's user sees as a Mermaid statechart from a TLA+ model. States are gray if they work, red if still wrong, and green if fixed. Each bug TLC finds is a numbered path. Use for /statechart, \"show the PM the bug\", or to turn an agreed chart into a TLA+ skeleton.

    Also in 8 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 25 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every real selector written must be in the detected set.

    line 30
  2. Very specific:

    Write each references/models.md with one line per role, using the same labels the skill's own file documents.

    line 34

“Common” is measured: kept by at least 6 in 10 of the 25 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Setup pstack

Write each pstack skill's references/models.md, the per-skill override file that sets pstack's model per role. Every skill that reads role→model config has one. The skills read their own file and fall back to the parent model when a line is absent, so this is an override layer, not a requirement.

Steps

1. Locate the per-skill config files

Find pstack's skills wherever they are installed: this repo's skills/, ~/.prime/agent/skills/, or node_modules/<pkg>/skills/. Every skill with a references/models.md is configurable. Read each file; its header comment documents the role lines and their legal values for that skill.

2. Detect available models

Resolve the model selectors you can pass to a child in this session with await rlm.find_models(...); that is the dependable source. If you cannot detect any, ask the user to paste the selectors they have access to. Never write a real selector you have not confirmed is available. The alias inherit-parent is always valid even though it is not a detected selector.

3. Load current state

For each skill, the current choices are the role lines present in its references/models.md. A file with no lines (or no file) means every role falls back to the parent model.

4. Map and confirm

Show every role with its current model, marking any real selector not in the detected set as needing a choice. Ask the user whether to accept as-is or change specific roles, offering the detected models plus inherit-parent (this role runs on the parent chat model) as the options. For panel roles (arena runners, how critics, architect runners, interrogate reviewers) the value is a list, and one subagent runs per entry, inherit-parent entries included, so the list length sets the count. arena cross-judge pool is also a list, but Arena selects one value from it whose model family differs from the parent's when possible. swarm workers is the default model for every worker unless a race or comparison assigns another model per arm. Follow each skill's own file for its exact role names and list semantics.

5. Validate

Every real selector written must be in the detected set; inherit-parent always passes. If a chosen real selector is not available, stop and ask again. A file pointing at a model the user cannot use breaks every delegation that reads it.

6. Write each file

Write each references/models.md with one line per role, using the same labels the skill's own file documents. Keep the file's header and example comments as-is; overwrite the values so re-runs stay idempotent. The reflect file shows the canonical shape:

# reflect model configuration

One line per role. Delete a line (or this file) to inherit the parent model.

# judgment: <model selector>
# tooling: <model selector>

Resolve a valid selector with await rlm.find_models(...) and pass the exact returned selector as model= when spawning. inherit-parent or omitting model runs the child on the parent chat model.

7. Confirm

Tell the user the files were written and that the choices apply to new runs. Re-running this skill updates them.

8. Offer a verification skill (optional)

Check whether the project has a way to drive the real app for proof (a verify-* skill, or an existing harness). If not, offer once: "want a project-local verification skill, so agents can drive the app the way a user does and prove changes work? I can generate one with /create-verification-skill." On yes, invoke /create-verification-skill. On no, move on without pushing.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.