codex-build
Skill0 starsChanged 4 months agoMITView on GitHub
i-Willink 標準開発フローを Codex で実行するための 5 phase adapter。Claude Code の /build と同期し、Codex subagents はユーザーが明示した場合のみ使う。
3 other projects use a version of this.
Adopted by
Most recently taken up by
- chaseai-yt/claudex-looptheir own version, first seen Oct 25, 2026
- jaron-goh-centr/claude-skillstheir own version, first seen Oct 11, 2026
- alanshurafa/co-evolutiontheir own version, first seen Sep 17, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- chaseai-yt/claudex-loop★ 3.2ksame name
- alanshurafa/co-evolution★ 4same name
- jaron-goh-centr/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository46 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- a11y-standardsSkill
- a11y-static-gateSkill
- adversarial-refute-voteSkill
- antigravity-buildSkill
- architecture-parity-gateSkill
- ci-required-check-installerSkill
- codex-imagegenSkill
- codex-spark-delegateSkill
- commit-convention-gateSkill
- commit-msg-quality-scoreSkill
- consumer-finding-ledgerSkill
- context-bloat-trackerSkill
- coverage-floor-lockSkill
- destructive-env-guardSkill
- dev-standardsSkill
- eval-dataset-buildSkill
- eval-regression-guardSkill
- fanout-verify-synthSkill
- gate-forgeSkill
- hallucination-rate-meterSkill
- harness-kpi-ledgerSkill
- judge-rubric-voteSkill
- knowledge-citation-coverageSkill
- knowledge-dedup-scanSkill
- knowledge-index-guardSkill
- live-state-verify-guardSkill
- maker-checker-relaySkill
- memory-distillSkill
- mistake-rule-distillSkill
- oneshotSkill
- prompt-ab-evalSkill
- report-shapeSkill
- retry-failure-classifierSkill
- review-finding-reproSkill
- rule-dedup-scanSkill
- rule-promote-auditSkill
- rule-promotion-extractSkill
- secret-scan-hardeningSkill
- self-heal-ciSkill
- session-length-compact-auditSkill
- startSkill
- subagent-usage-analyzerSkill
- task-success-rate-trackSkill
- token-codegen-gateSkill
- trigger-vocab-dedupSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. 0 are common, 10 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Read skills/dev-standards/SKILL.md before starting substantial work.
- Very specific: line 13
If the task touches UI, also read skills/a11y-standards/SKILL.md.
- Very specific: line 15
If present in a downstream repository, read .claude/skills/project-standards/SKILL.md for project-specific conventions.
- Very specific: line 16
If reviewing a diff in a downstream repository, read .claude/agent-memory/dev-reviewer/MEMORY.md when present.
- Very specific: line 17
Treat commands/build.md and the four Claude role contracts in agents/ as canonical:
- Distinctive: line 26
Use Codex subagents only when the user explicitly asks for sub-agents, delegation, or parallel agent work.
- Distinctive: line 27
When subagents are authorized, keep delegated tasks concrete, bounded, and read-only unless the user explicitly asked for parallel …
- Very specific: line 28
Prefer rg / rg --files for search, preserve unrelated user changes, and verify with the repo's actual commands.
- Very specific: line 36
Follow the dev-explorer contract.
- Very specific: line 46
Follow the dev-planner contract when the change is non-trivial: more than one file, more than about 50 lines, or meaningful architectural …
- Distinctive: line 50
If the user explicitly requested agent delegation, a read-only planning subtask may be delegated, but the main Codex agent owns the final …
- Distinctive: line 63
Follow the plan unless new repo facts require a change.
- Distinctive: line 64
Keep edits scoped to the task.
- Distinctive: line 66
Avoid unrelated refactors and speculative abstractions.
- Very specific: line 70
Run dev-tester and dev-reviewer behavior after implementation.
- Distinctive: line 78
Run all configured quality gates, even when an earlier command fails.
- Distinctive: line 85
Read the full diff and changed files in context.
- Distinctive: line 86
Check spec adherence, code quality, error handling, security, accessibility, tests, standards, and scope discipline.
- Distinctive: line 99
Use Conventional Commits if the user asks Codex to commit.
- Very specific: line 104
When started as /build --from oneshot/state.json (a person interrupted an unattended /oneshot run with oneshot/STOP, Ctrl-C, or an …
- Very specific: line 107
If status is still running, first confirm with the user that oneshot/STOP was placed.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
codex-build — Codex Adapter For The 5 Phase Flow
This skill adapts the canonical Claude Code /build flow in commands/build.md for Codex. The Claude Code files remain the source of truth; this skill explains the Codex execution model where platform behavior differs.
Canonical Inputs
- Read
skills/dev-standards/SKILL.mdbefore starting substantial work. - If the task touches UI, also read
skills/a11y-standards/SKILL.md. Accessibility is decided in Phase 2, not audited afterwards. - If present in a downstream repository, read
.claude/skills/project-standards/SKILL.mdfor project-specific conventions. Do not create a separate Codex copy. - If reviewing a diff in a downstream repository, read
.claude/agent-memory/dev-reviewer/MEMORY.mdwhen present. Keep that Claude path as shared project memory. - Treat
commands/build.mdand the four Claude role contracts inagents/as canonical:dev-explorerdev-plannerdev-testerdev-reviewer
Codex Operating Rules
- Codex stays on the main critical path for implementation and fixes. Phase 3 and Phase 5 are not delegated.
- Use Codex subagents only when the user explicitly asks for sub-agents, delegation, or parallel agent work. If the user did not authorize that, execute the same role behavior locally.
- When subagents are authorized, keep delegated tasks concrete, bounded, and read-only unless the user explicitly asked for parallel implementation with disjoint ownership.
- Prefer
rg/rg --filesfor search, preserve unrelated user changes, and verify with the repo's actual commands. - A person is in the loop: state a one-line plan before the first action, and end with a short recap — what changed, what verified it (command and exit code), and what is needed from the user. Put status notes in the same message as the next action; stop to ask only when you cannot continue without the user, or before anything irreversible (deleting data, force-pushing, changing anything outside the repository).
Phase 1: Impact Exploration
Follow the dev-explorer contract. Run this phase only when the task spans 3+ independent areas; otherwise inspect locally.
Codex mapping:
- Without explicit subagent authorization: search and read the relevant areas in the main Codex session.
- With authorization: spawn up to 3
exploreragents for orthogonal read-only questions, then continue useful local work while they run.
Return only decision-useful context: summary, key files, conventions observed, open questions, and recommended follow-up.
Phase 2: Implementation Planning
Follow the dev-planner contract when the change is non-trivial: more than one file, more than about 50 lines, or meaningful architectural risk.
Codex mapping:
- Build the plan in the main Codex session by default.
- If the user explicitly requested agent delegation, a read-only planning subtask may be delegated, but the main Codex agent owns the final implementation decisions.
The plan must identify files to change, existing utilities to reuse, implementation steps, tests, and rollback path.
For UI work the plan must also state, per new/changed interactive element, its accessible name, role and state, plus how the layout behaves at 200% text. Write "a11y: N/A (no UI change)" when it does not apply — a blank section reads as "not considered".
Phase 3: Implementation
The main Codex agent implements the change. Do not delegate sequential implementation to another agent.
Implementation rules:
- Follow the plan unless new repo facts require a change.
- Keep edits scoped to the task.
- Reuse existing helpers and local patterns.
- Avoid unrelated refactors and speculative abstractions.
Phase 4: Verification
Run dev-tester and dev-reviewer behavior after implementation.
Codex mapping:
- Without explicit subagent authorization: run quality gates and perform the code review locally.
- With authorization: verification may run in parallel through read-only agents while the main Codex session handles non-overlapping follow-up work.
Tester behavior:
- Detect the stack from repo files.
- Run all configured quality gates, even when an earlier command fails.
- For UI diffs, also run the a11y static gate
(
python3 scripts/a11y-static-check.py --root . [--baseline .a11y-baseline.json]) and the project's a11y tests. Exit 3 means zero files were scanned — that is UNKNOWN, never a pass. - Report PASS, PARTIAL, or FAIL with commands run, failures, skipped tests, and suggested fix scope.
Reviewer behavior:
- Read the full diff and changed files in context.
- Check spec adherence, code quality, error handling, security, accessibility, tests, standards, and scope discipline. On UI diffs, a missing accessible name or role is CRITICAL, not a nitpick.
- List as findings only the problems that block the merge, each with
file:line, why it is wrong, and how to show it fails (a reproduction or the test that would go red); prefix each withBLOCKER. Anything that cannot be shown failing, and every improvement idea, goes under "Not blocking". - Report PASS, CONDITIONAL, or FAIL. PASS only when the reviewer would merge it (zero blocking findings).
Phase 5: Fixes And Commit
The main Codex agent fixes issues surfaced in Phase 4.
- Address tester/reviewer findings one by one.
- Repeat Phase 4 up to 2 loops when needed.
- Use Conventional Commits if the user asks Codex to commit.
- Split large changes into logical commits when committing.
Resuming From An Interrupted /oneshot
When started as /build --from oneshot/state.json (a person interrupted an unattended /oneshot run with
oneshot/STOP, Ctrl-C, or an escalation), keep the same worktree, branch, and intermediate commits — do not discard them.
- If
statusis stillrunning, first confirm with the user thatoneshot/STOPwas placed; do not edit the worktree while the unattended run is still going. - Summarize on one screen first, with denominators:
goal, open dod items (resultother thangreen, M of N),violations,note,blocker,interrupted(round, phase, time),pr. - Resume by
phase: preflight / explore / plan → Phase 2; implement / loop → Phase 3; verify / mutate → Phase 4; deliver / escalate → Phase 5. - From here a person is in the loop; the unattended standing instruction of
/oneshotdoes not apply. - The contract's DoD still works as verification:
python3 <kit>/scripts/oneshot-preflight.py roundexit 0 means the DoD is green (never self-report it).
Skip Table
| Task type | Phase 1 | Phase 2 | Phase 4 |
| typo fix | skip | skip | tester only when useful |
| one-function bug fix | skip | skip | tester + reviewer behavior |
| small feature | skip | run | tester + reviewer behavior |
| large feature | run | run | tester + reviewer behavior |
| refactor | run | run | tester + reviewer behavior |
| docs only | skip | skip | skip unless docs validation exists |
Failure Modes To Guard Against
- Early victory: never treat a partial command run as a pass.
- Telephone game: do not hand off sequential implementation/fix work.
- Options flooding: keep role mapping to the four canonical contracts.
- Same-file parallel edits: only parallelize read-only work unless ownership is explicit and disjoint.
- Context pollution: ask subagents for compact reports, not long transcripts.
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.

