Compound Engineering Plugin

2026-09-08 · page · source ↗ · source summary

The shipped implementation of the Compound Engineering philosophy: a 33-skill plugin for AI coding agents that runs the brainstorm → plan → work → simplify → review → compound loop across 14 agent hosts, with a TypeScript converter that translates one Claude-native skill format into each host's plugin format. Where the Every.to essay described the methodology, this repo is the machinery — and the machinery is more interesting than the essay implied.


Architecture

Two halves, cleanly separated:

The skills (skills/<skill>/SKILL.md + references/ + scripts/). Each skill is a directory; SKILL.md is the entrypoint with YAML frontmatter (name, description, argument-hint, plus custom fields like ce_platforms). The body follows a strict pattern: an Outcome (what it produces and who consumes it), a Done bar (the completion condition), and a phase list where each step names its references/ file as a required read at the acting step. This is the "phase-loaded kernel" pattern from CONCEPTS.md: the always-loaded body is reduced to what must fire without any reference read, and everything else is pulled in lazily — an explicit defense against host prompt-budget truncation.

The converter (src/, ~8K lines of TypeScript on Bun). src/index.ts is a citty CLI with convert, install, cleanup, list, plugin-path. src/parsers/claude.ts parses the Claude plugin manifest and skill files; per-target converters (src/converters/claude-to-*.ts) map tools, permissions, hooks, and model names explicitly; per-target writers (src/targets/*.ts) emit the bundle to the host's expected paths. The design vocabulary (Converter, Writer, Bundle, Target, Install manifest) is defined in CONCEPTS.md, which reads like a formal spec for a plugin-federation problem most projects solve with ad-hoc scripts.

Two architecture decisions stand out:

Key techniques

Design decisions

Comparison notes

Compound Engineering (the philosophy page) describes the idea; this is the implementation, and it has moved past the essay's snapshot. The essay counted "26 agents, 23 commands, 13 skills" and standalone review agents; the shipped plugin is 33 skills with specialist personas seeded into generic subagents, and it runs on 14 hosts, not just Claude Code. The plugin is also the concrete answer to the essay's open question — "what's the measured payback?" — because the docs/solutions/ learnings are the compounding asset made visible.

Claude Code Skills System is the substrate: SKILL.md directories, frontmatter, subagent delegation, lazy loading. This plugin is arguably the most sophisticated skills package built on that substrate — it pushes the "progressive disclosure as architecture" idea far past the official docs, engineering around prompt-budget truncation the reference never mentions.

Loop Engineering is the meta-skill; this plugin is a full five-component loop shipped as a product, with the distinctive addition of a return arrow — the compound step that feeds each cycle's learning into the next. Most loops Osmani surveys generate and review; very few write the learning back.

Agent-Native Architectures (Every) is the same company's design guide (files as the universal interface, improvement over time), and the plugin is that guide applied to the engineering process itself: learnings and plans are files, capability improves without redeploying code, and the "improvement over time" principle is literal — the toolset gets smarter each run.

#tool #project #agents #compound-engineering #skills #code-review


Sources: raw/compound-engineering-plugin, Compound Engineering Plugin Last updated: 2026-09-08