English edition updated

Moving agents into Skills in Compound Engineering

  • #Compound Engineering
  • #Agent Skills

Major Restructuring: Incorporating Agents into Skills

The version number might not be immediately apparent, but this is a major update for Compound Engineering. The architecture has changed, the documentation has been reorganized, the agents can run longer and better, and we've fully embraced it /goal.

We killed our own AI agent (intentionally).

This could be the biggest structural change since Compound Engineering was first released.

In the past, Compound Engineering relied on a set of dedicated, independent agent definitions. These performed well in Claude Code. However, in Codex, Cursor, Gemini, Pi, and OpenCode, the results were less consistent, and some even failed to work at all. This is because formal agent definitions are not a common foundation that is reliably supported across all runtime environments. Each runtime environment handles agents in a slightly different way.

This means we either have to maintain multiple copies for different operating environments, or we have to provide users with a version that only works partially and requires additional manual updates to keep it up-to-date.

We removed all of that; we basically dismantled everything down to the very bottom.

Each skill is now self-contained. We can still implement specialized "agent" behaviors, but everything is housed in the skill's own cue word assets, rather than in a formal agent definition. It's very detailed, perhaps a little too detailed, but it will have a significant impact on both existing and new users.

No need to copy scripts. No need for nested paths. And no more "run setup again after updating".

The actual effect is:

  • Codex CLI and Codex Desktop Application: Now work cleanly, including as a full plugin with automatic updates. Previously, the Codex Desktop Application required some workarounds.
  • OpenCode, Pi, and Cursor: Native support is much better. Plugins now consist only of skills, meaning they can also be integrated into plugin systems that don't even have the concept of "independent agents."

The plan is now /goal ready.

In the past, we would produce two documents: a requirements document and an implementation plan. This is actually a remnant of our flawed "all-human-worker" model.

They serve different stages of the workflow, which makes sense conceptually. But the real problem is that requirements change constantly during implementation. Once they change, you have two documents to update; they may drift between each other; you have to remember which document is authoritative on a particular issue; and the agent must also contextualize both documents and coordinate between them.

The new unified "plan" document merges the two into a single deliverable. /ce-brainstorm When run, it first lists the scenarios and requirements. As you continue running /ce-plan, the document updates, incorporating implementation plan details. This gives you and your agent a complete documentation package.

The more significant change lies in the design goals of this document. It is already /goal prepared: it has a clear completion definition, a convergent scope, and a sufficiently explicit implementation method, allowing agents to work based on it without constantly returning to confirm.

At /ce-plan the end, we'll provide an option to directly hand over this plan to /goal the initiator. Then you can walk away or switch to another agent to do another set of tasks. The agent knows exactly what "completion" looks like because it's already documented.

This loop performed very well in testing complex features. I ran several full-feature development runs that lasted for hours, one of which exceeded 6 hours. The agent fully implemented the feature, wrote tests, opened a PR, and delivered it without any intervention after the initial plan handover.

For functions with a user interface, after the agent completes its first round of work, you still have room to review, iterate, and adjust, which is /ce-polish where this type of skill can come in.

Portability is also an added benefit: a document is easier to pass between multiple agents, attach to a task, or put into a new context.

When diagrams are needed, the document will also draw diagrams.

Plans and ideas aren't always suitable for being written down on a wall. Some things just need to be illustrated.

Therefore, the technology now supports making actual HTML output an option. When used, the document supplements the text with visual content: images are placed where they are more illustrative than paragraphs.

ce-ideate Furthermore, HTML is output by default because the brainstorming process inherently requires human involvement, and people can read sketch-like ideas much faster than reading specification documents. The unified planning document also supports the same approach.

There are a few things to know about how to use it:

  • Markdown remains the default format. Most Compound Engineering uses, including our own, involve directly handing the document to the agent, making Markdown a more suitable choice. HTML is optional.
  • Try it in one line. The next time you run ce-brainstorm or ce-plan, add output=html or ask it to use html format.
  • Set it once, and you won't need to worry about it again. Put your preferred default format in AGENTS.md/ CLAUDE.mdor in your Compound Engineering configuration so you don't have to type it repeatedly every time you're prompted.
  • It will respect your taste. If it's in your repository root directory DESIGN.md, the skill will use it to influence the document design while keeping the content clear and readable.

For most users, including ourselves, Markdown remains the default format. Most of the time, documents are handed directly to the agent, which doesn't need HTML. The visual path is designed for scenarios where humans can read and the content truly benefits from visual expression.

A few more things

  • Cross-model adversarial review.ce-code-review A cross-model adversarial review has been added: allowing the second model to proactively identify problems in the first model's work. We've also adjusted the scope of the review to an appropriate size and handled it through a portable path, ensuring consistent performance across different models.
  • Smarter PR feedback handling.ce-resolve-pr-feedback Now, the system first identifies the problem and then assigns fixes, instead of issuing fix requests in parallel and then hoping for the best.
  • ce-brainstorming now has eyes. There's visual feedback during brainstorming sessions, not just text changes. When the discussion needs it, the AI ​​launches a small visual artifact to capture your input and preview it in a small web service; once you're done, you close the session. It even works within the Codex application.
  • The plugin marketplace and installation process have been completely revamped. Plugin and marketplace metadata are now aligned, skill descriptions have been reduced by 50%, and installation is easier and faster on more runtime environments such as Pi and OpenCode.

How to obtain

This version includes a plugin marketplace update, meaning your runtime environment's regular update mechanisms may not be sufficient to receive it. For existing installations, the safest approach is to remove the plugin and then reinstall it from the plugin marketplace.

This is a bit of a hassle, but it's the way to ensure you get the correct version and the correct plugin data. We've also fixed some plugin marketplace and plugin data issues that previously caused friction during the first install, so the process should now be smoother than before.

Reinstall: Remove Compound Engineering from your runtime environment, and then follow the installation steps in the repository instructions. Installation methods vary depending on the runtime environment, so the repository instructions are the correct reference for your specific setup.

If you are a new user: After installation, run it in any project ce-setup, and it will get started automatically. The /goal prepared plan document and HTML output can be tried immediately.

Why is this important?

Most releases are just adding things, but this one feels much bigger. Update your plugin. Run it on a real problem /ce-brainstorm. Let us know how it goes.

Trevin Chow: Focuses on AI and AI building practices. He participates in open-source projects, including @ppressdev, @illo_skill, and Compound Engineering.