setup-p3
Configure which models p3-stack uses per role and at what reasoning budget.
Skill by uzairansaruzi
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/uzairansaruzi-setup-p3
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/setup-p3
What's inside
- Skill name
setup-p3- Description
- Configure which models p3-stack uses per role and at what reasoning budget. Detects your available models and writes p3-models.md, which overrides the skill defaults. Use for /setup-p3, "configure p3 models", "p3 budget", or changing p3-stack's model choices.
- License
- MIT
- Instructions
- 69 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Setup p3 Write `p3-models.md`, a file that sets p3-stack's model per role. Default location is the current project root. Offer `~/.agents/p3-models.md` as the global option, and ask which one. A project file wins over the global one. ## Steps ### 1. Detect available models Call `orchestrator_capabilities`. It lists the providers and models you can pass to `delegate_task` in this session, custom models included, with each one's provider instance ID and any reasoning options. That is the only source. If it returns nothing, stop and tell the user. Never write a provider or model it did not return. `inherit-parent` is always valid even though it is not a detected model. ### 2. Load current state The roles are the labels shown in step 5. If `p3-models.md` already exists at the chosen location, read it and treat its `# budget` line and its role values as the current choices. Otherwise start from the defaults in step 3(b). A line whose role is not in step 5, such as `how critics`, is from a retired role. Drop it. ### 3. Budget, map, and confirm **(a) Ask for a budget.** Ask plainly in the thread. Offer these four options with these exact labels, and name the current budget when the file records one. - `unlimited — keep max` - `large — xhigh reasoning` - `medium — high reasoning` - `small — medium reasoning` **(b) Apply it.** Build the working table. On a fresh run, give code roles (`feature, refactoring`, `bug-fix`, `perf-issue`, `hillclimb`) and the explorer, investigator, and swarm roles the fastest strong coding model detected. Give `judgment and prose`, `hardest tasks`, the explainer, the synthesizers, and `reflect tooling` the most capable model detected. Fill each panel role with one entry per distinct provider detected, up to three. On a re-run, keep any role the user changed. When the catalog exposes reasoning options for a model, set each real entry's effort option from the budget: `unlimited` takes the highest option, and `large`, `medium`, and `small` take `xhigh`, `high`, or `medium`. The ladder is `max` > `xhigh` > `high` > `medium` > `low`. If the model does not expose the target, use the highest option at or below it, else mark the role as needing a choice. `inherit-parent` does not change. When the catalog exposes no reasoning options, map roles only and drop effort tokens; the budget label is still recorded. **(c) Show the roles and confirm.** Show every role with its model, marking any entry not in the detected set as needing a choice. Also list each line step 2 dropped. Ask whether to accept as-is or change specific roles, offering the detected models plus `inherit-parent` (the role runs on the parent thread's model, so omit the model in `delegate_task`) as the options. For panel roles (arena runners, architect runners, interrogate reviewers) the value is a list, and one `delegate_task` 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 provider 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. ### 4. Validate Every real entry written must be in the `orchestrator_capabilities` result, under the provider instance it came from. `inherit-parent` always passes. If a chosen entry is not available, stop and ask again. ### 5. Write the file Write `p3-models.md` with a `# budget` line with the chosen label and its target effort, and one line per role, using the same labels p3-mode uses. Write each entry as `<providerInstanceId>/<model>`, followed by its effort option in parentheses when step 3(b) set one. Overwrite the whole file so re-runs stay idempotent. Shape: ``` # p3 model configuration. One line per role. Delete a line to fall back to the skill default. # `inherit-parent` as a value: the role runs on the parent thread's model (omit the delegate_task model). Entries in a panel list still count toward its fan-out. # budget: unlimited (max) feature, refactoring: <providerInstanceId>/<model> (<effort>) bug-fix: <providerInstanceId>/<model> (<effort>) perf-issue: <providerInstanceId>/<model> (<effort>) hillclimb: <providerInstanceId>/<model> (<effort>) judgment and prose: <providerInstanceId>/<model> (<effort>) hardest tasks: <providerInstanceId>/<model> (<effort>) how explorer: <providerInstanceId>/<model> (<effort>) how explainer: <providerInstanceId>/<model> (<effort>) why investigators: <providerInstanceId>/<model> (<effort>) why synthesizer: <providerInstanceId>/<model> (<effort>) reflect tooling: <providerInstanceId>/<model> (<effort>) reflect judgment, divergent, synthesizer: <providerInstanceId>/<model> (<effort>) arena runners: <entry>, <entry>, <entry> arena cross-judge pool: <entry>, <entry>, <entry> swarm workers: <providerInstanceId>/<model> (<effort>) architect runners: <entry>, <entry>, <entry> interrogate reviewers: <entry>, <entry>, <entry> ``` ### 6. Confirm Tell the user the file was written, where, and that it applies to new sessions. Re-running this skill updates it. ### 7. 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.
From uzairansaruzi/p3-stack, MIT.
More from uzairansaruzi/p3-stack
- 0.788score
reflect
uzairansaruzi
Delegate three parallel reviewers over the active thread, surface learnings, and route each to a concrete edit on an existing skill.
SkillAFreshness: A★ 155Claude Code +9 - 0.784score
p3-mode
uzairansaruzi
p3 agent style for concise, detailed responses, deliberate delegation, unslopped prose, simple code, and verified work.
SkillAFreshness: A★ 155Claude Code +9 - 0.782score
p3-help
uzairansaruzi
Guides users through p3-stack setup, /p3-mode, and picking the skill, playbook, or principle for a task.
SkillAFreshness: A★ 155Claude Code +9 - 0.778score
principle-test-behavior-not-implementation
uzairansaruzi
Apply when you write, change, or keep a test.
SkillAFreshness: A★ 155Claude Code +9 - 0.778score
principle-model-the-domain
uzairansaruzi
Apply when writing stateful logic, or when code branches a lot or repeats a shape assumption across files.
SkillAFreshness: A★ 155Claude Code +9 - 0.657score
create-verification-skill
uzairansaruzi
Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform.
SkillAFreshness: A★ 155Claude Code +9 - 0.657score
architect
uzairansaruzi
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
SkillAFreshness: A★ 155Claude Code +9 - 0.657score
how
uzairansaruzi
Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which…
SkillAFreshness: A★ 155Claude Code +9 - 0.657score
interrogate
uzairansaruzi
Use for "interrogate", "adversarial review", "multi-model review", "challenge this", "stress test this code", "find blind spots", or "tear this apart".
SkillAFreshness: A★ 155Claude Code +9 - 0.655score
automate-me
uzairansaruzi
Use 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…
SkillAFreshness: A★ 155Claude Code +9 - 0.655score
make-bot-ui
uzairansaruzi
Use when building a custom UI (page, dashboard, buttons) that should wake the agent over a webhook, when the user must provide a webhook secret, or when…
SkillAFreshness: A★ 155Claude Code +9 - 0.655score
benchmark-checklist
uzairansaruzi
Vet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it.
SkillAFreshness: A★ 155Claude Code +9
Signals
- Stars
- 155
- Forks
- 21
- Open issues
- 1
- Last commit (this folder)
- Oct 5, 2026 (23 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/uzairansaruzi/p3-stack
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from uzairansaruzi
- 0.788score
reflect
uzairansaruzi
Delegate three parallel reviewers over the active thread, surface learnings, and route each to a concrete edit on an existing skill.
SkillAFreshness: A★ 155Claude Code +9 - 0.784score
p3-mode
uzairansaruzi
p3 agent style for concise, detailed responses, deliberate delegation, unslopped prose, simple code, and verified work.
SkillAFreshness: A★ 155Claude Code +9 - 0.782score
p3-help
uzairansaruzi
Guides users through p3-stack setup, /p3-mode, and picking the skill, playbook, or principle for a task.
SkillAFreshness: A★ 155Claude Code +9 - 0.778score
principle-test-behavior-not-implementation
uzairansaruzi
Apply when you write, change, or keep a test.
SkillAFreshness: A★ 155Claude Code +9 - 0.778score
principle-model-the-domain
uzairansaruzi
Apply when writing stateful logic, or when code branches a lot or repeats a shape assumption across files.
SkillAFreshness: A★ 155Claude Code +9 - 0.657score
architect
uzairansaruzi
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
SkillAFreshness: A★ 155Claude Code +9
Cite this page
setup-p3 skill. Agent Mart. https://agentmart.dev/skills/uzairansaruzi-setup-p3 (last updated 2026-10-24)