mad-build
Skill8 starsChanged 4 months agoMITView on GitHub
Four-step Claude + Codex collaboration for producing artifacts (code, drafts, analyses). Independent drafts → cross-review → revisions → merge.
In this repository2 other files it gives its agents.
- codex-bridgeSkill
- mad-researchSkill
The file
Files
mad-build skill
A structured Claude + Codex collaboration on a creative or technical artifact. Use when you want a second pair of eyes from a different model on something you're making.
When this skill is the right tool
- Writing code: "MAD-build an R script that does X."
- Drafting prose: "MAD-build a one-page summary of attention mechanisms."
- Designing a plan: "MAD-build a research design for testing Y."
When this skill is NOT the right tool
- For a stress-test / referee report on a paper or grant, use
mad-research. - For a single ad-hoc Codex call, use
codex-bridge.
How it works (four steps)
- Claude scaffolds
<project>/ASSIGNMENT.mdfrom the user's request. - Both agents draft independently (Claude writes
claude_v1/, Codex viacodex execwritescodex_v1/). Neither reads the other. - Each reviews the other's draft →
round1_feedback/. Strict rule: each side reviews ONLY the other side's draft, never its own. - Each revises in response →
round2_revisions/. Do NOT skip this step. If no changes are needed, document v2 = v1 explicitly. Then Claude merges intofinal/and writesREADME_DEBRIEF.md.
See prompts/mad_build_protocol.md for the full operational protocol.
Safety defaults
This skill uses --sandbox workspace-write by default (Codex needs
to write into the session folder). The bypass flag is behind an
explicit --unsafe-yolo opt-in. See helpers/invoke_codex.md.
Files
mad-build/
├── SKILL.md # this file
├── prompts/
│ └── mad_build_protocol.md # the 4-step operational protocol
├── helpers/
│ ├── invoke_codex.md # verified codex exec patterns
│ └── doctor.md # pre-flight checks
└── README.md # what to install and whyDoes 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.

