- How you use it
- You ask for it
- What it can do
- writes files · runs shell
- What's inside
The options
Same job, different trade-offs. Pick one in Try it.
| Option | ASkill · v3.30.5+wwfix.3ce-compound (Compound Engineering) | BSkill · v3.30.5+wwfix.2ce-compound-refresh (Compound Engineering) |
|---|---|---|
| How you use it | You ask for it | You ask for it |
| What it can do | writes files · runs shell | writes files |
| What's inside |
- How you use it
- You ask for it
- What it can do
- writes files
- What's inside
What this thread does
Capture a hard fix in the smallest durable form that prevents the next session repeating it.
Do first: Run ce-compound after the fix; use ce-compound refresh <scope> to maintain existing learnings.
The idea
Agents start each session without memory of last week's three-hour debugging. The fix is a small, committed knowledge store the next session reads. Trevin Chow, co-author of the Compound Engineering plugin, posted about this workflow on 31 Aug 2026.
ce-compound: capture
- Runs after a problem is solved and the result has supporting evidence. One learning per run.
- Applies a bar before writing anything: would a future engineer reading the final code, tests and docs still be likely to repeat the mistake? If not, it writes nothing and says why. Diff size or effort does not count.
- Chooses a test, lint rule, coding-standard condition or learning under
docs/solutions/(configurable), and records vocabulary inCONCEPTS.md. A standalone learning is no longer the only outcome. Current skill. - Updates an existing learning instead of adding a duplicate.
- In full mode it can look through your past local agent sessions for the errors and dead ends behind the fix; a lightweight, non-interactive mode skips that and asks no questions.
ce-compound refresh: keep it honest
As code moves, paths change and old fixes become anti-patterns. Refresh reviews learnings against the current code. The old ce-compound-refresh name is deprecated and forwards to ce-compound. For unattended refresh, pass mode:refresh mode:non-interactive; without mode:refresh, an unattended run captures a lesson instead. Compatibility skill. Run it after a refactor or rename, or when ce-compound flags an older doc.
When to use it
Projects where the same kinds of bugs come back, or where several people and agents work on the same code. Skip it for throwaway prototypes.
Alternatives
- A plain
LESSONS.mdthe agent appends to: no install, but it grows stale and noisy without a bar or a refresh pass. - For decisions and vocabulary captured while planning (not after fixes), see the thread on project glossaries and decision records.
- Memory plugins and built-in agent memory store notes per user rather than as reviewed docs in the repo; see the thread comparing memory plugins, built-in memory and checkpoint notes.
Caveats
- The current skills use supporting reference files; a copied
SKILL.mdalone omits that guidance. As of November 2026, the upstream plugin manifest lists v3.38.3. - Full mode reads your local agent session history to find context. Use lightweight mode if you do not want that.
- In interactive mode ce-compound may ask to add one line to your project instruction file so agents find the store; refresh may delete docs and, in interactive mode, commit or open a PR.
Started from a post by @trevin, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.