Guide · Open source
How to use compound-engineering-plugin: install and run the loop
Updated · written with AI from the project's own documentation and checked against our catalogue data
Compound Engineering is a plugin of 36 skills for AI coding agents such as Claude Code, Cursor and Codex. It structures work as a loop of brainstorming, planning, building, reviewing and recording what you learned, so later changes can read that knowledge. This guide shows how to install it, what each core skill does and how to start your first loop.
Quick start
- 1Confirm your host. Make sure you have Claude Code, Cursor, Codex or another supported agent host installed.
- 2Install the plugin. Run the marketplace and install commands for your host, then restart Codex if you used it.
- 3Run setup. Run /ce-setup in your project to create the config file and check optional tools.
- 4Brainstorm the requirements. Use /ce-brainstorm to answer questions and write a requirements-only plan.
- 5Plan and build. Use /ce-plan to make the plan implementation-ready, then /ce-work to execute it.
- 6Review and capture. Run /ce-code-review, then /ce-compound to save the lesson in docs/solutions/.
Check the prerequisites
You need a supported AI coding agent host. The README lists 14 hosts, including Claude Code, Cursor and Codex. The skills run inside those hosts, so the plugin does not work on its own as a separate application.
- Pick one host you already use, such as Claude Code, Cursor or Codex.
- If you use Codex, you can install through the Codex app or the Codex CLI.
Install the plugin in Claude Code
In Claude Code, add the marketplace and then install the plugin. Both commands are typed inside Claude Code.
- Run the marketplace command first, then the install command.
- If you already have the plugin, refresh the marketplace before updating. The README warns that running /plugin update alone keeps you on the old version.
/plugin marketplace add EveryInc/compound-engineering-plugin
/plugin install compound-engineeringInstall the plugin in Cursor or Codex
In Cursor, open Agent chat and install from the plugin marketplace. For Codex CLI, register the marketplace in your terminal, then add the plugin. Restart Codex after the install finishes. The Codex app has a separate path that adds a custom marketplace from the Plugins sidebar.
- Cursor: run /add-plugin compound-engineering in Agent chat, or search for "compound engineering" in the plugin marketplace.
- Codex CLI: register the marketplace, then install the plugin, then restart Codex.
- If you use a non-default Codex profile, run both Codex steps with the same CODEX_HOME value.
codex plugin marketplace add EveryInc/compound-engineering-plugin
codex plugin add compound-engineering@compound-engineering-pluginLearn the core loop of skills
The core loop has six steps: brainstorm the requirements, plan the implementation, work through the plan, simplify the code, review the result, then compound the learning. Each cycle is meant to make the next one easier. In Codex, invoke skills with $skill-name, for example $ce-plan. In most other slash-skill hosts, use /skill-name.
- /ce-brainstorm: interactive Q&A that writes a requirements-only plan before planning.
- /ce-plan: turns feature ideas or requirements into an implementation-ready plan.
- /ce-work: executes the plan, with host verification, commits and shipping.
- /ce-simplify-code: refines freshly written code and prunes useless tests and comments.
- /ce-code-review: report-only multi-agent review against the plan. Local apply is explicit.
- /ce-compound: captures the learning into docs/solutions/ for future loops.
Run your first loop
Start by running /ce-setup in your project. According to the README, it reports optional tool capabilities, creates a repo .compound-engineering/config.yaml when it is missing, and refreshes the committed example. Then move through the loop in order, so each stage can read the previous one's output.
Lessons are written to docs/solutions/, and the next /ce-brainstorm and /ce-plan read those files as grounding. The README describes this as the point of the loop: run one teaches the tool, and run two remembers.
- Run /ce-setup in the project.
- Use /ce-brainstorm to write requirements, then /ce-plan to build the implementation plan.
- Use /ce-work to carry out the plan, /ce-simplify-code to tidy it, and /ce-code-review to check it.
- Finish with /ce-compound so the lesson lands in docs/solutions/.
/ce-setupChange where artifacts are stored
The artifact folders such as docs/solutions/ and docs/plans/ are the defaults. If your docs/ folder holds tracked content, the README says you can move every CE artifact folder under one repo-relative root with the docs_root setting. The configuration guide covers the details.
- Default folders: docs/solutions/ and docs/plans/.
- Setting: docs_root, which relocates all CE artifact folders under one root.
What people use it for
- Planning a new feature with a written requirements plan before any code is written
- Reviewing a change against its plan with a report-only multi-agent review
- Recording an engineering lesson in docs/solutions/ so a later plan can pick it up
- Asking ce-explain how a piece of existing behavior works and why it exists before changing it
Frequently asked questions
Is compound-engineering-plugin free?
The repository is licensed under the MIT license, as shown in the README and the item details. The plugin runs inside a host such as Claude Code, Cursor or Codex, which you access through your own setup. This guide does not cover pricing for those hosts.
What do I need to install compound-engineering-plugin?
You need a supported AI coding agent host, such as Claude Code, Cursor or Codex. The skills run inside those hosts, so you cannot use the plugin on its own as a standalone app.
How do I install compound-engineering in Claude Code?
Inside Claude Code, run /plugin marketplace add EveryInc/compound-engineering-plugin and then /plugin install compound-engineering. If you already have it installed, refresh the marketplace before updating.
How do I install compound-engineering for Codex CLI?
Run codex plugin marketplace add EveryInc/compound-engineering-plugin, then codex plugin add compound-engineering@compound-engineering-plugin. Restart Codex after the install completes.
Where does compound-engineering store what it learns?
The /ce-compound skill captures lessons into docs/solutions/. Later /ce-brainstorm and /ce-plan runs read these files as grounding. You can relocate artifact folders with the docs_root setting.
Is compound-engineering a good alternative to ad hoc prompting?
It suits people who prefer a plan-then-review workflow over ad hoc prompting, since it builds in brainstorm, plan, review and capture steps. If you do not use a supported agent host, or you need a standalone app with its own interface, it is not the right fit.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Compound Engineering suits developers who already use Claude Code, Cursor or Codex and want structured planning, review and written lessons that later work can build on. It is a poor fit if you do not use a supported agent host, want a standalone application, or need a documented stable interface, since the README does not describe stability guarantees.
Install options & downloads