Back to Plugins

Compounding Engineering

AI-powered development tools that get smarter with every use, featuring 24 specialized agents, 16 commands, and 11 skills

aiagentsworkflowproductivitycommunity
By Every Inc
24k2.0kUpdated 1 day agoTypeScriptMIT

Installation

npx claude-plugins install @EveryInc/compound-engineering-plugin/compounding-engineering

Configuration

{
  "enabledPlugins": {
    "@EveryInc/compound-engineering-plugin/compounding-engineering": true
  }
}

Commands

compoundStart a compounding engineering session
learnTeach the system new patterns from your codebase
recallRecall learned patterns and apply them

How to install

  1. Open Claude Code in your terminal
  2. Run the installation command above
  3. The plugin will be enabled automatically
  4. Use the plugin's features in your Claude Code sessions
<div align="center"> <img src="assets/logo.png" alt="Compound Engineering" width="120">

Compound Engineering

AI skills that make each unit of engineering work easier than the last.

Build Status License: MIT Skills

</div>

Compound Engineering is a plugin of 33 skills for AI coding agents. It structures the work around a loop — brainstorm, plan, build, review, then capture what you learned — so the knowledge from each change is written down where the next change can read it.

It runs on 14 agent hosts, including Claude Code, Cursor, and Codex.

Install

Claude Code

/plugin marketplace add EveryInc/compound-engineering-plugin
/plugin install compound-engineering

[!IMPORTANT] Already have Compound Engineering installed? Refresh the marketplace before updating — see Upgrading. Running /plugin update alone keeps you on the old version.

Cursor

In Cursor Agent chat, install from the plugin marketplace:

/add-plugin compound-engineering

Or search for "compound engineering" in the plugin marketplace.

Grok Bot

Grok Bot is its own app, but it uses your Cursor account and plugin library. There is no separate Grok Bot login. Install Compound Engineering once on that account and Grok Bot agents can load it.

In Cursor Agent chat:

/add-plugin compound-engineering

Or search for "compound engineering" in the Cursor plugin marketplace. Do not run /add-plugin in the Grok Bot chat, and do not clone this repository onto the Grok Bot computer.

Codex App

Compound Engineering is not listed in Codex's built-in plugin marketplace yet. Add it as a custom marketplace:

  1. In the Codex app, open Plugins from the sidebar.

  2. Click the arrow next to Create, then select Add marketplace.

  3. Enter:

    FieldValue
    SourceEveryInc/compound-engineering-plugin
    Git refmain
    Sparse pathsleave blank
  4. Click Add marketplace.

  5. Search for Compound Engineering, install compound-engineering-plugin, then restart Codex.

The Codex app install is self-contained for Compound Engineering. Specialist reviewer and research behavior lives inside the skills as local prompt assets; no separate custom-agent install step is required.

Codex CLI

Register the marketplace, then install the plugin.

  1. Register the marketplace with Codex:

    codex plugin marketplace add EveryInc/compound-engineering-plugin
  2. Install the plugin:

    codex plugin add compound-engineering@compound-engineering-plugin

    You can also launch codex, run /plugins, find the Compound Engineering marketplace, select the compound-engineering plugin, and choose Install. Restart Codex after install completes.

The native Codex plugin install is self-contained for Compound Engineering. Specialist reviewer and research behavior lives inside the skills as local prompt assets; no separate custom-agent install step is required.

For a non-default Codex profile, run every Codex-related step against the same CODEX_HOME. This example installs CE into a work profile:

CODEX_HOME="$HOME/.codex/profiles/work" codex plugin marketplace add EveryInc/compound-engineering-plugin
CODEX_HOME="$HOME/.codex/profiles/work" codex plugin add compound-engineering@compound-engineering-plugin

The marketplace step only makes the plugin available; the plugin install is what activates the native CE skills for that profile.

Another editor or CLI? Kimi Code CLI, Cline, Grok Build CLI, Devin CLI, GitHub Copilot, Factory Droid, Qwen Code, OpenCode, Pi, oh-my-pi (omp), and Antigravity CLI are all supported — see More install options.


Philosophy

Each unit of engineering work should make subsequent units easier -- not harder.

Invocation syntax: this README uses /skill-name examples for slash-skill hosts. In Codex, invoke installed skills with $skill-name (for example, $ce-plan and $lfg). In oh-my-pi (omp), these prompts can model-route to visible skills; use the native deterministic /skill:<name> form for manual-only or hidden skills (for example, /skill:ce-polish). /goal remains a Codex built-in command.

Traditional development accumulates technical debt. Every feature adds complexity. Every bug fix leaves behind a little more local knowledge that someone has to rediscover later. The codebase gets larger, the context gets harder to hold, and the next change becomes slower.

Compound engineering inverts this. 80% is in planning and review, 20% is in execution:

  • Plan thoroughly before writing code with /ce-brainstorm and /ce-plan using one readiness-based plan artifact
  • Review to catch issues and calibrate judgment with /ce-code-review and /ce-doc-review
  • Codify knowledge so it is reusable with /ce-compound
  • Keep quality high so future changes are easy

The point is not ceremony. The point is leverage. A good brainstorm makes the plan sharper. A good plan makes execution smaller. A good review catches the pattern, not just the bug. A good compound note means the next agent does not have to learn the same lesson from scratch.

The loop

The core loop is six steps: brainstorm the requirements, plan the implementation, work through the plan, simplify what you wrote, review the result, then compound the learning -- and repeat with better context.

SkillPurpose
/ce-brainstormInteractive Q&A to think through a feature or problem and write a requirements-only unified plan before planning
/ce-planEnrich feature ideas or requirements-only plans into implementation-ready plans
/ce-workExecute implementation-ready plans natively or through a qualified cross-model author while retaining host verification, commits, and shipping
/ce-simplify-codeRefine the freshly written code for clarity and reuse before review
/ce-code-reviewReport-only multi-agent review against the plan before merging; local apply is explicit
/ce-compoundCapture the learning into docs/solutions/ so the next loop starts smarter

Each cycle compounds: /ce-compound writes learnings that the next /ce-brainstorm and /ce-plan read as grounding -- brainstorms sharpen plans, plans inform future plans, reviews catch more issues, patterns get documented. That return arrow is the whole point.

<img src="assets/demo/compound-loop.gif" alt="A ce-compound run writes a learning about an env-var trap; 18 days later, on unrelated work, a ce-plan run finds that learning and carries its constraints into the new plan" width="100%">

Run one teaches it. Run two remembers.

<sub>Replayed from a real pair of sessions 18 days apart, with names and paths anonymized and the six-minute run compressed to about 30 seconds. Nothing shown is behavior the skills don't have — see <a href="assets/demo/README.md">assets/demo</a> for the source and the substitutions.</sub>

Artifact folders like docs/solutions/ and docs/plans/ are the defaults. A project whose docs/ is tracked content can relocate every CE artifact folder under one repo-relative root via the docs_root setting -- see configuration.

Try it

After installing, run /ce-setup in any project. It reports optional tool capabilities, creates repo .compound-engineering/config.yaml when missing, refreshes the committed example, and gitignores an existing local override.

The standard loop -- turn a rough idea into shipped, reviewed code:

/ce-brainstorm make background job retries safer
/ce-plan
/ce-work
/ce-simplify-code
/ce-code-review
/ce-compound

Autonomous -- hand off a feature and let the agent run the whole pipeline:

/ce-brainstorm describe the feature
/lfg

/lfg runs the loop hands-off: it plans, works through the plan, simplifies, runs code review and applies the fixes, runs browser tests, then commits. When a git remote exists it pushes, opens a PR, and watches CI with a bounded repair loop (it does not merge, and it can finish with leftovers if the repair budget is hit). With no remote it stops at local commits. Start it after /ce-brainstorm so it plans against real requirements rather than a one-line prompt.

Starting from a bug instead of a feature? Use /ce-debug. Not sure what to build yet? Start with /ce-ideate.

Skills at a glance

33 skills, grouped by what they are for. The full catalog, with a page per skill and how each one chains into the others, is in docs/skills.

GroupSkillsWhat it covers
Core loopce-brainstorm ce-plan ce-work ce-simplify-code ce-code-review ce-compoundThe six steps of every iteration
Around the loopce-strategy ce-product-pulse ce-sweep ce-compound-refreshAnchors and feeds that keep the loop grounded
On demandce-ideate ce-pov ce-debug ce-explain ce-doc-review ce-optimize ce-prototypeReached for when a specific need arises
Git workflowce-commit ce-commit-push-pr ce-babysit-pr ce-resolve-pr-feedback ce-worktreeCommitting, shipping, and shepherding PRs
AutonomouslfgThe whole pipeline, hands-off
Testing & designce-test-browser ce-test-xcode ce-polish ce-dogfoodVerifying and polishing what you built
Collaborationce-proof ce-handoff ce-promoteSharing work and handing it off
Utilitiesce-setup ce-retune ce-riffrec-feedback-analysisSetup and maintenance

Learn more


More Install Options

Claude Code, Cursor, and Codex are at the top. Everything here is equally supported.

Kimi Code CLI

Kimi Code CLI can install Compound Engineering directly from this repository because the repo ships a native .kimi-plugin/plugin.json manifest:

/plugins install https://github.com/EveryInc/compound-engineering-plugin

You can also browse it through Kimi's custom marketplace flow:

/plugins marketplace https://raw.githubusercontent.com/EveryInc/compound-engineering-plugin/main/.kimi-plugin/marketplace.json

After installing or updating, run /reload or start a new Kimi session so the plugin skills are loaded.

Cline

Cline loads CE skills from on-demand SKILL.md directories. Enable Settings -> Features -> Enable Skills in the Cline extension, then link this repository's skills globally or per project:

git clone https://github.com/EveryInc/compound-engineering-plugin
./compound-engineering-plugin/.cline/scripts/install-skills.sh --global

Per-proje

View source on GitHub