Add experimental pi support
Summary
Add experimental support for the pi coding agent (@mariozechner/pi-coding-agent) in three phases.
- Phase 1: docs + smoke tests
- Phase 2: bootstrap/package integration + one honest documented compatibility baseline
- Phase 3: supported higher-fidelity Pi workflow setup + broader coverage where practical
This issue remains the umbrella tracker for Pi support.
Status
- 🔄 Phase 1: Implemented in PR #500; awaiting review/merge
- Docs:
.pi/INSTALL.md,docs/README.pi.md,README.md - Pi agent profiles:
.pi/agents/README.md,.pi/agents/code-reviewer.md - Smoke tests:
tests/pi/test-smoke.sh,tests/pi/run-tests.sh,tests/pi/README.md
- Docs:
- 🔄 Phase 2: In progress
- ⏭️ Phase 3: Not started
Why this is feasible
Pi already supports native skills, package loading, and lifecycle extensions. That gives us a path for bootstrap/startup behavior without forking Pi.
Pi core does not provide built-in subagents, and some Superpowers behaviors assume optional capabilities such as delegated execution and task tracking. That means Pi support must be framed as:
- a minimal compatibility baseline first
- a higher-fidelity supported setup later
Phase 1: docs + smoke tests
Scope
- Add a
pisection toREADME.md - Add
docs/README.pi.mdwith:- install/update/uninstall
- verification
- troubleshooting
- known differences
- explicit experimental support note
- Add Pi-specific install instructions at
.pi/INSTALL.md - Add the minimum required Pi agent profile docs/assets for current workflows
- Add smoke checks for:
- package install into isolated
PI_CODING_AGENT_DIR - skill discoverability (verified via Pi package/skill resolution for
brainstorming)
- package install into isolated
Acceptance criteria
- Docs merged and accurate
- Smoke checks pass
- Core skills discoverable in Pi
- No regressions in existing harness docs/tests
Phase 2: bootstrap integration + documented compatibility baseline
Scope
- Add targeted Pi bootstrap behavior via extension-based integration
- under
.pi/extensions/ - using Pi lifecycle hooks
- implementing the Pi equivalent of Superpowers startup/bootstrap behavior
- under
- Define and document one honest supported compatibility baseline for Pi
- package/bootstrap behavior
- planning path
- execution/review path when compatible delegated/subagent support is present
- Explicitly document the minimum required external setup for the supported workflow
- compatible
subagenttool/setup - required Pi agent profiles
- compatible
- Add isolated validation for install/discovery/integration behavior
- Document supported behavior vs optional capabilities vs known limitations plainly
Acceptance criteria
- Pi bootstrap/package integration implemented and documented
- One documented compatibility baseline works as described
- Required external setup for delegated/subagent workflows documented clearly
- Integration behavior covered by isolated validation
- Known limitations documented plainly
- Existing harnesses remain stable
Explicit Phase 2 non-goals
- Claiming full Superpowers parity on plain Pi core
- Bundling/adopting a TodoWrite-equivalent task tracker yet
- Making Pi’s example
plan-modeortodoextensions part of the supported setup yet - Claiming broader workflow parity beyond the initial documented path
Phase 3: supported higher-fidelity Pi setup
Scope
- Define and support a higher-fidelity Pi workflow setup
- Support a TodoWrite-equivalent task tracker as part of the Pi setup
- Optionally adopt/adapt Pi’s
plan-modeextension as part of the supported setup - Strengthen and simplify the supported delegated/subagent setup story
- Add true isolated end-to-end coverage for the supported setup
- Expand workflow coverage only after the supported setup is stable
Acceptance criteria
- Higher-fidelity supported Pi setup documented clearly
- Todo/task-tracking behavior supported and documented
- Optional plan-mode integration documented if adopted
- Supported setup backed by isolated end-to-end tests
- Additional workflow coverage documented with remaining gaps explicit
Non-goals
- Guaranteeing full 1:1 parity with Claude/Codex/OpenCode in every case
- Rewriting every skill specifically for Pi in the first pass
- Building custom Pi replacements for optional capabilities before we have a stable supported baseline
This works as a good prompt to implement a port to pi using the pi coder agent to implement. I made some minor edits to mine for my own use here https://github.com/HashWarlock/nobody-plans-for-pi. I've got it working and building a solution now where I can use codex 5.3 to handle the planning then switch to opus 4.6 to do the implementation. I need to figure out model switches on the reviews, but worth a try.
I would submit a PR, but I don't want to add any accidental slop in the small details I may miss. Here is some results of my current session.
Updating the Pi roadmap here now that Phase 1 is effectively wrapped in PR #500.
The remaining work looks cleaner as two follow-on phases rather than one:
- Phase 2 = extension-based integration + one supported workflow path
- bootstrap/startup behavior
- todo/plan mapping using Pi's optional capabilities
- subagent workflow mapping
- one end-to-end planning/execution/review path with tests
- Phase 3 = broader parity / coverage
- more workflows
- more Pi agent profiles
- closer parity with Claude/Codex/OpenCode where practical
Keeping all three phases in this issue for now so #435 stays the single roadmap/source-of-truth issue for Pi support. If Phase 2 or Phase 3 grows large enough later, we can split execution work into dedicated follow-on issues at that point.
Thank you so much for doing this. I love Pi and more specifically oh-my-pi (https://github.com/can1357/oh-my-pi). Could your PR work for it?
Thank you so much for doing this. I love Pi and more specifically oh-my-pi (can1357/oh-my-pi). Could your PR work for it?
I checked this in an isolated temp HOME against omp/13.11.1, with a single Claude plugin registry entry pointing at PR #500 head.
Result:
- OMP does discover Superpowers from the PR checkout via its Claude-plugin compatibility path.
- discoverSkills() found brainstorming and using-superpowers from the PR branch’s skills/ directory, with provider claude-plugins.
- discoverAgents() found code-reviewer from the PR branch as a user agent.
- In the control case — plain checkout, no plugin registry entry — OMP discovered neither those skills nor code-reviewer.
So the answer is:
- yes, the existing Superpowers layout already works in OMP when loaded through OMP’s Claude plugin compatibility path
- no, a raw checkout of this repo is not picked up directly by OMP as-is
- therefore a dedicated .omp/* follow-up is optional if the goal is first-class/native direct-checkout support, but it is not required for compatibility with OMP
any progress here or something you could use some help on?
any progress here or something you could use some help on?
@jhochenbaum
Phase 1 is implemented in PR #500, and I just rebased it onto current main to clear the merge conflict. That PR is still intentionally scoped to:
- Pi install/docs
- one bundled required Pi agent profile (
code-reviewer) - smoke tests for isolated install + skill discovery
The most useful help right now would be:
- review of PR #500
- testing the Pi install/docs flow on a clean setup
- confirming the documented agent-profile setup is clear
Phase 2 is still open after that:
- bootstrap/startup integration via
.pi/extensions/bootstrap.ts - broader subagent/workflow mapping
- additional recommended Pi agent profiles
Closing this as addressed on dev by #1499.
Superpowers now has first-class Pi support as a native Pi package integration:
package.jsondeclares Pi package metadata for bundled skills and the Pi extension.pi/extensions/superpowers.tsregisters theskills/directory with Pi- the extension injects the
using-superpowersbootstrap on session start - the bootstrap is reinjected after compaction
- Pi-specific tool mapping is documented in
skills/using-superpowers/references/pi-tools.md tests/pi/test-pi-extension.mjscovers package metadata, lifecycle hooks, skill discovery, startup injection, compaction reinjection, and tool-mapping docs
A note on scope: this does not try to make Pi identical to Claude Code, Codex, or OpenCode. Pi has its own native skill model, and subagent/task-list capabilities remain Pi companion-package territory. The Superpowers integration maps to Pi actual harness shape rather than adding those primitives to Pi core.
The older Phase 1/Phase 2 PRs and comments here predate the implementation that landed in #1499, so they are now superseded by the current dev implementation.