npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

compound-engineering-pi

v0.3.0

Published

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

Readme

Compound Engineering for Pi

npm Build Status

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

Install

Use this package as the Pi install/distribution layer:

pi install npm:compound-engineering-pi -l

Reload your session, then you're ready:

/reload

Quick start

Legacy prompt aliases still work:

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

And the newer upstream workflow skills are bundled too:

pi -p "/skill:ce:plan Build a todo app"
pi -p "/skill:ce:work"
pi -p "/skill:ce:review"
pi -p "/skill:ce:compound"

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

What's included

Legacy 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 |

84 skills

This package now bundles the newer upstream Compound Engineering skill set for Pi, including the ce:* workflow skills, reviewer personas, planning/document-review personas, browser/video workflows, and the older specialized research/review skills that still power the legacy prompts.

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

Subagent output behavior:

  • single runs return the full subagent output
  • chain runs return the final step output plus a step summary
  • parallel runs stay compact by default, but support includeOutputs: true
  • if you install a richer pi-subagents package, this package automatically defers to it

Subagent model selection (compatibility tool):

  • pass model: "haiku" or a provider/modelId (optionally with a :thinking suffix) for a single task
  • set a top-level model as the default for tasks[] or chain[]; each entry can override it
  • omitted models keep the child Pi process's configured default, not necessarily the parent session's active model
  • an empty or whitespace-only entry model clears the top-level default

Example subagent tool arguments for a cheaper scout and a stronger reviewer:

{
  "model": "haiku",
  "tasks": [
    { "agent": "repo-research-analyst", "task": "Find the relevant code" },
    { "agent": "kieran-typescript-reviewer", "task": "Review correctness", "model": "sonnet" }
  ]
}

Use models available and authenticated in your Pi installation. See the Pi guide for all three modes.

Conversion and sync

For converter usage, prefer the upstream package:

bunx @every-env/compound-plugin install compound-engineering --to pi

This repo’s bundled package should mainly be used via pi install npm:compound-engineering-pi.

The vendored plugins/compound-engineering snapshot and bundled Pi skills can be refreshed from the main plugin repo with:

bun run sync:upstream

By default this syncs from ../compound-engineering-plugin. Override with COMPOUND_PLUGIN_SOURCE=/path/to/compound-engineering-plugin if needed.

Optional: MCP support via MCPorter

For MCP interoperability, install MCPorter:

npm i -g mcporter

Maintainer workflow

This repo now follows an upstream-first model:

  • make converter/content changes in compound-engineering-plugin first
  • refresh this package with bun run sync:upstream
  • keep this repo focused on Pi packaging, Pi docs, and Pi-specific compatibility behavior

See MAINTENANCE.md for the exact boundary and workflow.

Credits

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

License

MIT