p3-stack skill
p3-stack ports the pstack set to T3 Code: a p3-mode router, subagent delegation, worktrees and pull request watching.
- 162 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- The skills launch subagents, worktrees and checks in the repository.
- The schedule runs audits with no active turn.
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/p3-stackDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- The skills launch subagents, worktrees and checks in the repository.
- The schedule runs audits with no active turn.
This is third-party code. Review the repository files before installing.
What it does
p3-stack rebuilds the pstack set by Lauren Tan for the T3 Code app and keeps its engineering discipline. The `/p3-mode` router reads a request, picks a playbook and runs the other skills step by step. Playbooks: investigation, bug fix, refactoring, prototype, review, shipping, autonomous run, worktree cleanup and opening a PR. Mechanics are swapped for T3 Code primitives: `delegate_task` gives child agents by role, `t3_thread_launch` binds a worker to a worktree and branch, `watch_pull_request` wakes the thread on check results and `schedule_task` runs overnight audits. The set has 26 skills, for example `architect`, `tdd`, `swarm` and `unslop`, and 24 principles that `p3-mode` indexes. `/setup-p3` maps roles to models you actually have.
Who it is for. T3 Code users who want a strict engineering scheme with parallel agents and verification.
Good fit when
- A complex task is split into roles and each worker gets its own worktree.
- After a PR opens the agent waits for checks and reacts to comments.
- You need overnight audits on a schedule while no turn is active.
- Before work `/setup-p3` links roles to the models you have.
Not a fit when
- You do not use T3 Code: you need the original pstack or its port for your agent.
- The task is small: the playbooks assume strict multi-step work.
- You have no access to T3 Code orchestration tools.
Example request
Run p3-mode and handle the failing test: investigation, fix and verification in a separate worktree.Limitations
The skills rely on T3 Code orchestration tools, so outside that app they will not fully work. `install.sh` links each `skills/*` folder into `~/.agents/skills/` or with `--project` into the project `.agents/skills/`. The role to model mapping is kept in `p3-models.md`. The project is a rework of someone else set and the original author is named in the Credit section. The last commit was in October 2026.
How to disable. Remove the skill links from `~/.agents/skills/` or the project `.agents/skills/` and the `p3-models.md` file.
FAQ
How is p3-stack different from pstack?
It keeps the skills and principles but swaps mechanics for T3 Code primitives: delegation, worktrees, PR watching and scheduling.
Which playbooks does p3-mode have?
Investigation, bug fix, performance, feature, refactoring, prototype, review, shipping, autonomous run, pause, multi-phase plan, cleanup and opening a PR.
Where do the skills install?
Into `~/.agents/skills/`, where T3 Code reads them. For a project run `./install.sh --project /path/to/repo`.
Where do I start?
Run `/setup-p3`, then use `/p3-mode` for rigorous work. If unsure which skill fits, ask `/p3-help`.
What is the license?
MIT. The original skills and language belong to the pstack author and the T3 Code rewiring belongs to this repository.
Discussion
No questions or reviews yet.
Related
SkillsA mirror of Lauren Tan's pstack set from Cursor: over 50 skills, the poteto-mode with 23 playbooks and 24 principles for strict agent work on code
A Codex plugin: 55 explicitly invoked skills and 23 poteto-mode playbooks for code tracing, TDD and review.
pstack skill catalog ported to OMP: a task router, TDD, code review and subagent playbooks, each invoked by its own command.
A set of 29 skills that make an agent think like a senior engineer before writing code: plans, failure causes and review
recursive-mode moves an agent task through file-backed phases, requirements to memory, and keeps the work trail in the repo.
An operating model where an AI agent co-maintains an open-source project: 14 skills, four roles and autonomy bands
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Repository stars | Main difference |
|---|---|---|---|
| p3-stack (this card) | no | 162 | |
| pstack | no | 4,065 | that one mirrors the original for Cursor; p3-stack rewrites the mechanics for T3 Code |
| pstack for Claude Code and Codex | no | 4,263 | an unofficial port for Claude Code, Codex and others; p3-stack targets T3 Code |
README in short
The repository explains the pstack port to T3 Code: a list of replaced mechanics, script install, first steps, a mode with playbooks, a list of skills and principles and credit to the original author. MIT licensed.