cobuild
Skill0 starsChanged 5 months agoMITView on GitHub
The "make" leg of the core loop. Implement against the coplan plan in small, reviewable increments, handing each increment to cotest before moving on — because build is where work COLLAPSES fast, so small increments keep it reviewable and recoverable. The doer is cobuilder. Use whenever there's a plan or spec to turn into working code/output. Mandatory leg of a full cycle; runs standalone too. Pairs with cotest (check) and jumps to codebug on failure. Best on Sonnet (structured build).
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- new-skillSkill
- cochallengeSkill
- cochangelogSkill
- coconsolidateSkill
- cocreatorSkill
- cocritiqueSkill
- codebugSkill
- codirectSkill
- codrawSkill
- cohardenSkill
- colearnSkill
- coplanSkill
- coresearchSkill
- cospecifySkill
- costudySkill
- cotestSkill
- cotranslateSkill
- my-skillSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
Never stack on an unverified increment.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
cobuild — build the work
The doer is cobuilder. This is the mandatory make leg of the core
make → check → learn engine — structured build, best run on Sonnet. Build is where the work
collapses (fast), so the discipline is small increments, each handed straight to cotest.
When to Use
- There's a
coplanplan orcospecifyspec to turn into working code/output. - You're implementing a feature, refactor, or fix — the actual making.
- Any time you'd otherwise "just build it": do it in reviewable increments.
How to Use
- Recall first — run
colearnto pull lessons/guardrails relevant to this build. - Pull the plan — work against the
coplanrecord (andcospecifyspec, if any). - Build one small increment — the smallest reviewable slice that does something verifiable.
- Hand it to
cotest— don't stack the next increment on an unverified one. - On verify failure, jump to
codebug— diagnose root cause, then resume. Mark the plan.
Native tooling
TaskUpdate (tick off plan items as they land) · /loop (self-paced passes over a long build) ·
Agent (parallelize independent increments) · hand each increment to cotest, failures to
codebug, and recurring lessons to colearn.
Memory Bank
Storage: Resolve
workspaceRootfrom.agents/workspace/cocreation.yaml(default.agents). Inlocal, write the full record to<workspaceRoot>/skills/<name>/memory-bank/and refresh its index. Inlinear-primary, write the human-facing artifact through the active backend and keep provider metadata, links, and the local navigation/index cache; never write project records into the plugin cache.
Save each build as YYYY-MM-DD-kebab-title.md:
.agents/skills/cobuild/memory-bank/2026-06-26-add-oauth-login.mdCopy _template.md, keep its frontmatter (title, date, status, optional plan) filled —
plan: cross-references the coplan record it builds against.
BUILD.md is the auto-generated index — never edit it by hand. After changes:
node .agents/skills/cobuild/index.mjs.
Self-eval gate (close the loop)
- Increment built and self-checks pass → PASS to
cotest. - It doesn't work / verify fails → jump to
codebug, then re-loop. - Blocked on a decision or missing input → escalate to the human.
- Scope creeping past the appetite → cut to the appetite; don't grow the box.
Principles
- Small, reviewable increments — review capacity is the constraint, not build capacity.
- Never stack on an unverified increment; check before continuing.
- Build collapses fast — that's why the increments must stay small enough to recover from.
- Build is execution, not judgment; route judgment calls to the human.
- Close the loop: feed recurring bug-classes to
colearnso they graduate into guardrails.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

