agentleFS
uzairansaruziuzairansaruzi/p3-stack/skills/p3-help/SKILL.md

p3-help

Skill126 starsChanged 38 days agoMITView on GitHub

Guides users through p3-stack setup, /p3-mode, and picking the skill, playbook, or principle for a task. Use for /p3-help, or when the user asks how to install, set up, or use p3-stack, or which p3-stack skill fits. Not for requests to do work, even ones that name p3-stack.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Run /setup-p3. It asks for a reasoning budget, maps a model to each role, and writes p3-models.md.

    line 23
  2. Very specific:

    Start a real task with /p3-mode, a goal, and a check that can pass or fail.

    line 24
  3. Very specific:

    If a skill directory next to this one is missing from the table, read its frontmatter and route by its description.

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

P3 help

Answer the user's question about p3-stack, hand them a prompt they can send, and link the file the answer came from. For a help question, don't start the work. The user asked how, and a p3-stack run spends real tokens, so let them send the prompt.

A message that asks for work, such as "use p3-stack to fix this bug", is not a help question. Read p3-mode, do the work under it, and mention once that invoking /p3-mode keeps the work in this style.

This file maps questions to the skills and playbooks that hold the answers. Those files own the details. Read the file you route to before you quote it, and trust it when it disagrees with this map. The links here are repo-relative, so give the user the file's public copy: https://github.com/uzairansaruzi/p3-stack/blob/main/ followed by its path.

Find out what they need

Infer the need from the message and the conversation. A named situation, such as "which skill reviews a PR?", goes straight to its section. If the need is still unclear, ask one multiple-choice question with these options, then answer only the section they pick: get set up, start a task with /p3-mode, pick a skill for a situation, fix a run that went wrong, or make p3-stack my own.

Check the state that changes the answer, and mention it only when it does. No p3-models.md means /setup-p3 hasn't run for this user, so every role uses its default model. No verify-* skill or other app harness in the project means agents have no scripted way to drive the app; mention /create-verification-skill when the question is about proving a change works.

Get set up

  1. Install by cloning the repo and running ./install.sh. It links every skill into ~/.agents/skills/, where T3 Code reads skills; ./install.sh --project /path/to/repo targets a project's .agents/skills/ instead.
  2. Run /setup-p3. It asks for a reasoning budget, maps a model to each role, and writes p3-models.md. The file applies to new sessions.
  3. Start a real task with /p3-mode, a goal, and a check that can pass or fail.

Installing changes nothing until the user invokes a skill. Only /p3-help loads from the user's words. The README has the details. Offer to word their first prompt with them.

If cost is the worry, say where the tokens go and how to spend fewer. p3-stack spends extra tokens on subagents and review panels. Rerun /setup-p3 and pick a smaller budget or cheaper models. A role set to auto or inherit-parent runs on the parent thread's model, which saves tokens when that model is cheaper. A shorter panel list runs fewer subagents, one for each entry. Save /p3-mode for work that needs rigor.

Start a task with /p3-mode

/p3-mode matches the task to a playbook, copies the playbook's steps into the todo list, and runs the other skills as the steps need them. A step it skips stays in the list as skip: <reason>. A good prompt states the goal and how to tell it's done. It doesn't list skills, because a hand-written sequence tends to drop or reorder steps the playbook would keep.

Skills are invoked by name (/p3-mode). There are no mode toggles, so start each new task with /p3-mode. Mid-chat, "new task" makes the mode match a fresh playbook. /p3-mode already uses agents/p3-agent.md for the delegates its playbook steps spawn. To get the same style from a delegate of your own, open its brief with agents/p3-agent.md.

Pick a skill

The default answer is /p3-mode, which runs most of the others when its steps need them. Name a skill directly when the user wants more or less of something than the playbook gives. Read the skill before you recommend it, and give one example prompt.

The user wants toSkill
Do any non-trivial task with rigor/p3-mode
Know how code works now, or where new code should live/how
Know why code is shaped this way, or where a number came from/why
Understand a change or subsystem, explained plainly/teach
Catch up on their own recent work on a topic/recall
Know what a small diff could break outside itself/blast-radius
Settle types and module shape before code that crosses a function boundary/architect
Get several attempts at one brief, merged into the best one/arena
Run parallel checks over slices, or race workers, as delegated child tasks/swarm
Have several models review a diff and try to break it/interrogate
Fix a bug test-first when a cheap local test exists/tdd
Apply TypeScript rules to .ts or .tsx work/typescript-best-practices
Strip comments before review, using a reviewer that didn't write them/no-comments
Clean AI tells out of prose/unslop
Write docs, an RFC, a README, a PR description, or a commit message to a standard/technical-writing
Hear the last reply again in plain words/bro
Give agents a scripted way to drive the app and prove behavior/create-verification-skill
Bring a verification skill and its feature map back in line with the app/maintain-verification-skill
Vet a performance number before reporting or acting on it/benchmark-checklist
Run a large or cross-cutting change, or one to review after stepping away/figure-it-out
Keep a decision log during a run, and review it afterward/show-me-your-work
Pick a model for each role and a reasoning budget/setup-p3
Turn their own working habits into a personal mode skill/automate-me
Turn what a finished task taught into skill edits/reflect
Stop agents from repeating the same mistakes in this repo/correct
Build a page whose buttons wake a bot over a webhook/make-bot-ui
Find their way around p3-stack/p3-help

If a skill directory next to this one is missing from the table, read its frontmatter and route by its description. The principle-* directories are covered under principles below.

Close calls:

  • /how explains what the code does. /why explains the reasons. /teach runs one or both and explains the result plainly.
  • /arena gives every worker the same brief and merges the best parts. /swarm splits work into slices or a race and returns one report.
  • /architect implements right after it settles the design. Add "with checkpoint" to review the design before it writes code.
  • /interrogate reviews the diff. /blast-radius looks for breakage outside the diff and proves the one fact that makes the change safe.
  • /recall rebuilds context across recent threads. Resuming one specific thread, delegated task, or branch is the Session pickup playbook.
  • /figure-it-out designs one rigorous run. The Orchestrate playbook runs a program that spans days and many PRs. The Autonomous run playbook drives one task to a finish condition.

Not in p3-stack: p3-stack has no /orchestrate skill. Orchestrate is a /p3-mode playbook.

Playbooks and principles

Playbooks are step lists inside /p3-mode, not skills, so they aren't invoked by name. Inside /p3-mode, describing the task picks one, and these phrases name one directly; the Playbooks section of p3-mode lists every playbook and when it applies:

  • "babysit this pr" or "check on pr 123" runs Babysit. It drives the PR to merge-ready and stops there. It doesn't merge unless the user asks to merge, land, or ship.
  • "land the stack" runs Shipping. "take over this branch" runs Session pickup. "pause safely" runs Pause safely. "run the eval playbook" runs Eval.
  • "full autopilot on this queue" runs Autopilot-full. "stack them, don't ship" runs Autopilot-stack.

p3-stack has no planning skill. For work that spans phases or stacked PRs, asking /p3-mode for a plan runs the Multi-phase plan playbook, which writes the plan and doesn't implement it. For a design question, the Prototype playbook or /architect settles it in code first.

Principles are one-rule skills that /p3-mode reads and cites in its replies. The user rarely invokes one. They steer with the names instead, as in "apply prove it works. show me the real output." Typing /principle-<name> still loads one on demand.

Fix a run that went wrong

SymptomFix
The mode stopped applying after a few turnsStart each new task with /p3-mode; there's no mode to toggle on.
A question got treated as the next step of the last taskSay "new task", or say the turn doesn't need the mode.
A new model choice had no effectThe file from /setup-p3 applies to new sessions. Start one.
Runs cost more than expectedSee the cost paragraph under Get set up.
A skill didn't load on its ownOnly /p3-help loads from the user's words. The others load when the user invokes them by name or when /p3-mode runs them, and it doesn't run every skill.
Parallel agents overwrote each otherGive each worker its own worktree through t3_thread_launch, and keep one writer per worktree.
An overnight run moved but finished nothingIt needs a check that can pass or fail, not a duration.
The reply claims success from a green buildAsk for the real command, flow, stored value, or profile. That's the prove-it-works principle.

Make p3-stack my own

  • /automate-me drafts a personal mode skill from the user's own history, to use alongside /p3-mode. /reflect after a session turns its lessons into skill edits the user approves. /p3-mode write a skill for <workflow> runs the authoring playbook, and the eval playbook tests a skill change blind.
  • Fix a misbehaving skill in its own PR, not inside the feature work where it went wrong.

Reply

Lead with the answer. Give at most one example prompt in a code block, then the link to that file. Keep it short unless the user asked for the whole map.

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.