compound-engineering-pi

Pi-first Compound Engineering extension with subagents and MCPorter compatibility.

Package details

extensionskillprompt

Install compound-engineering-pi from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:compound-engineering-pi
Package
compound-engineering-pi
Version
0.2.4
Published
Feb 23, 2026
Downloads
179/mo · 56/wk
Author
khosla
License
MIT
Types
extension, skill, prompt
Size
2.3 MB
Dependencies
2 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ],
  "skills": [
    "./skills"
  ],
  "prompts": [
    "./prompts"
  ],
  "image": "https://opengraph.githubassets.com/1/gvkhosla/compound-engineering-pi"
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

Compound Engineering for Pi

npm Build Status

Compound Engineering adapted for Pi. 47 skills, 9 workflow prompts, and a native compatibility layer, all installable in one command.

Install

pi install npm:compound-engineering-pi -l

Reload your session, then you're ready:

/reload

Quick start

pi -p "/workflows-plan Build a todo app"
pi -p "/workflows-work"
pi -p "/workflows-review"
pi -p "/workflows-compound"

These follow the core loop: Plan, Work, Review, Compound.

What's included

Workflow prompts

Prompt What it does
/workflows-plan Create a structured project plan
/workflows-work Execute work from a plan
/workflows-review Multi-agent code review
/workflows-compound Document learnings for future sessions
/workflows-brainstorm Explore ideas before planning
/deepen-plan Add depth to an existing plan
/test-browser Run browser tests on your pages
/feature-video Record a video walkthrough of a feature
/resolve_todo_parallel Resolve all pending todos in parallel

47 skills

Code review, research, design, workflow automation, and more. Specialized reviewers for Rails, Python, and TypeScript. Security auditing, architecture analysis, design iteration, git worktree management, image generation, and browser automation.

Run pi skills after installing to see the full list.

Pi compatibility extension

Four tools that bridge common agent workflows into Pi:

  • ask_user_question - prompt the user for input
  • subagent - orchestrate tasks (single, parallel, chain)
  • mcporter_list - list available MCP servers
  • mcporter_call - call MCP server tools

Optional: MCP support via MCPorter

For MCP interoperability, install MCPorter:

npm i -g mcporter

Credits

Built on the Compound Engineering plugin by Every and Kieran Klaassen. Read the original writeup.

License

MIT