Agent skill · Compound Engineering
/ce-compound Turn each solved problem into a test, rule or learning
ce-compound captures the lesson of one verified fix in the cheapest form that stops it recurring: a test, a lint rule, a coding standard line or a learning doc. It only writes when a future engineer working from the current code would likely repeat the mistake. A refresh mode audits existing learnings for drift.
Works with
- Claude Code
- Cursor
- Codex CLI
- GitHub Copilot CLI
- Kimi Code CLI
- Grok Build CLI
- Devin CLI
- Factory Droid
- Qwen Code
- Pi
- Antigravity CLI
- Cline
When to use it
- A fix proved an earlier belief about how something behaves was wrong.
- A review caught a real defect worth guarding against.
- Your learnings folder has grown stale, overlapping or out of date.
How it works
- 1Choose capture or refresh
It runs capture unless refresh is requested explicitly, and asks once if an interactive request is ambiguous.
- 2Apply the durability test
It writes nothing unless losing the lesson would plausibly cause a repeat or long rediscovery, and says why when it skips.
- 3Research
Subagents gather related docs and session history into scratch files while the orchestrator drafts.
- 4Pick the cheapest form
It writes at most one test, lint rule, standards condition or learning, updating an existing learning rather than duplicating it.
- 5Report
It ends with a completion report, or a clear documentation-skipped signal in non-interactive runs.
What it steers the agent away from
- Documenting routine work that went as planned
- Batching several lessons into one record
- Changing product code while recording a lesson
Install this skill
It installs with the Compound Engineering pack.
Claude CodeRefresh the marketplace before updating an existing install.
/plugin marketplace add EveryInc/compound-engineering-plugin
/plugin install compound-engineeringCursorRun in Cursor Agent chat; Grok Bot picks it up from the same Cursor account.
/add-plugin compound-engineeringCodex CLIRestart Codex afterwards; invoke skills with $skill-name.
codex plugin marketplace add EveryInc/compound-engineering-plugin
codex plugin add compound-engineering@compound-engineering-pluginGitHub Copilot CLICopilot reads the Claude-compatible manifests directly.
copilot plugin marketplace add EveryInc/compound-engineering-plugin
copilot plugin install compound-engineering@compound-engineering-pluginKimi Code CLIRun /reload or start a new session afterwards.
/plugins install https://github.com/EveryInc/compound-engineering-pluginGrok Build CLITracks the repository; update with grok plugin update.
grok plugin install EveryInc/compound-engineering-pluginDevin CLISkills appear as /compound-engineering: in a new session.
devin plugins install EveryInc/compound-engineering-pluginFactory DroidDroid converts the Claude Code plugin format automatically.
droid plugin marketplace add https://github.com/EveryInc/compound-engineering-plugin
droid plugin install compound-engineering@compound-engineering-pluginQwen CodeInstalled straight from GitHub.
qwen extensions install EveryInc/compound-engineering-plugin:compound-engineeringPiThe pi-subagents package is required for skills that dispatch subagents.
pi install git:github.com/EveryInc/compound-engineering-plugin
pi install npm:pi-subagentsAntigravity CLIVerify with agy plugin list.
agy plugin install https://github.com/EveryInc/compound-engineering-pluginClineEnable Skills in Cline settings first and start a new task afterwards.
git clone https://github.com/EveryInc/compound-engineering-plugin
./compound-engineering-plugin/.cline/scripts/install-skills.sh --globalCommands come from the author’s README; check it for changes before you run them.
Questions
How do later runs use the learnings?
ce-brainstorm and ce-plan read the solutions folder as grounding, so the next piece of work starts with the recorded lesson.
Can it run without prompts?
Yes. With mode:non-interactive it asks nothing and ends on a fixed completion or skipped signal, which is how lfg uses it.
More guides from Compound Engineering
/ce-brainstormSettle what to build before the agent plans or codesTalks through a vague idea one question at a time and writes a requirements-only plan sized to the work.Read the guide →/ce-code-reviewRisk-matched multi-agent code review that reports firstReviews a diff or PR with risk-selected reviewer personas against the plan, reporting findings without applying them by default.Read the guide →/ce-debugRoot-cause debugging with a full causal chain before fixingTraces a bug from trigger to symptom with file and line evidence, then fixes it test-first if you choose.Read the guide →/ce-planImplementation plans that research choices but never write codeTurns requirements or a request into an implementation plan, researching technical choices without writing production code.Read the guide →/ce-workExecute a plan unit by unit with a mandatory review gateImplements a plan or clear request unit by unit, verifies it locally and requires a code review before shipping.Read the guide →/lfgHands-off pipeline from request to open pull requestRoutes a request to the right skills and runs hands-off to an open pull request with review and CI handled.Read the guide →
Also in this pack
/ce-babysit-prWatches an open GitHub PR, routing review comments and CI failures to fixes until it is ready or blocked.↗/ce-bakeoffDevelops three independent competing solutions to a brief, has them judged and synthesises the strongest approach.↗/ce-commit-push-prCommits, pushes and opens a pull request, or just writes or refreshes a PR description.↗/ce-commitCreates local commits with explicit file lists and outcome-focused messages, branching first if you are on the default branch.↗/ce-doc-reviewReviews a requirements doc, plan or spec through role-specific lenses and fixes problems that would derail the work.↗/ce-dogfoodDrives every user-visible change on the branch in a real browser, fixes small breakages with tests and writes a QA report.↗/ce-explainExplains how something works or why it took its shape, citing commits, PR discussion and source lines.↗/ce-handoffWrites a pointer-first handoff note so a fresh agent can continue the work, or finds and resumes an earlier one.↗/ce-ideateGenerates many repo-grounded ideas, critiques every one and explains only the survivors before any brainstorming.↗/ce-noslopRewrites, checks or drafts prose to remove AI writing tells while keeping every fact from the source.↗/ce-optimizeMoves a named metric with a measured experiment loop on a dedicated branch, keeping winning changes and reverting the rest.↗/ce-polishPuts a working feature in front of you on a live dev server and turns your typed or spoken feedback into UX fixes.↗
Summary by trendhub. The skill itself lives in EveryInc/compound-engineering-plugin/skills/ce-compound by Every (MIT); read the full, current text there.