codex-system
Skill0 starsChanged 9 months agoMITView on GitHub
Codex CLI handles planning, design, and complex code implementation. Use for: architecture design, implementation planning, complex algorithms, debugging (root cause analysis), trade-off evaluation, code review. External research is NOT Codex's job — use Gemini CLI (Google Search grounding) instead. Explicit triggers: "plan", "design", "architecture", "think deeper", "analyze", "debug", "complex", "optimize".
3 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- ilhae-ai/claude-code-orchestratoredited, first seen Oct 20, 2026
- DeL-TaiseiOzaki/claude-code-orchestratheir own version, first seen Sep 10, 2026
- gaebalai/claude-code-orchestratoredited, first seen Jan 31, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- gaebalai/claude-code-orchestrator★ 1827% same
- ilhae-ai/claude-code-orchestrator★ 1827% same
Wrote their own version · 1
- DeL-TaiseiOzaki/claude-code-orchestra★ 199same 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 repository14 other files it gives its agents.
- .codex/AGENTS.mdAGENTS.md
- checkpointingSkill
- design-trackerSkill
- gemini-systemSkill
- initSkill
- planSkill
- research-libSkill
- simplifySkill
- startprojectSkill
- tddSkill
- team-implementSkill
- team-reviewSkill
- update-designSkill
- update-lib-docsSkill
The file
We split this skill into the rules it gives an agent
1 rule. 1 is common, 0 are distinctive, and 0 are very specific to this project.
1
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
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
- Common: line 148
Ask Codex in English
“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 System — Planning, Design & Complex Implementation
Codex CLI handles planning, design, and complex code implementation.
Detailed rules:
.claude/rules/codex-delegation.md
Two Roles of Codex
1. Planning & Design
- Architecture design, module composition
- Implementation plan creation (step breakdown, dependency ordering)
- Trade-off evaluation, technology selection
- Code review (quality and correctness analysis)
2. Complex Implementation
- Complex algorithms, optimization
- Debugging with unknown root causes
- Advanced refactoring
- Multi-step implementation tasks
When to Consult (MUST)
| Situation | Trigger Examples |
| Planning | "Create a plan" "Architecture" |
| Design decisions | "How to design?" |
| Complex implementation | "How to implement?" "How to build?" |
| Debugging | "Why doesn't this work?" "Error" "Debug" |
| Trade-off analysis | "Which is better?" "Compare" |
| Refactoring | "Refactor" "Simplify" |
| Code review | "Review" "Check" |
When NOT to Consult
- Simple file edits, typo fixes
- Tasks that simply follow explicit user instructions
- git commit, test execution, lint
- Codebase analysis → Gemini CLI (1M context for large-scale analysis)
- External information retrieval → Gemini CLI (Google Search grounding)
- Multimodal processing → Gemini CLI (PDF/video/audio/images)
How to Consult
Subagent Pattern (Recommended)
Task tool parameters:
- subagent_type: "general-purpose"
- run_in_background: true (optional)
- prompt: |
Consult Codex about: {topic}
codex exec --model gpt-5.3-codex --sandbox read-only --full-auto "
{question for Codex}
" 2>/dev/null
Return CONCISE summary (key recommendation + rationale).Direct Call (responses up to ~50 lines)
codex exec --model gpt-5.3-codex --sandbox read-only --full-auto "Brief question" 2>/dev/nullHaving Codex Implement Code
codex exec --model gpt-5.3-codex --sandbox workspace-write --full-auto "
Implement: {task description}
Requirements: {requirements}
Files: {file paths}
" 2>/dev/nullSandbox Modes
| Mode | Use Case |
read-only | Design, review, debug analysis |
workspace-write | Implementation, fixes, refactoring |
Task Templates
Implementation Planning
codex exec --model gpt-5.3-codex --sandbox read-only --full-auto "
Create an implementation plan for: {feature}
Context: {relevant architecture/code}
Provide:
1. Step-by-step plan with dependencies
2. Files to create/modify
3. Key design decisions
4. Risks and mitigations
" 2>/dev/nullDesign Review
codex exec --model gpt-5.3-codex --sandbox read-only --full-auto "
Review this design approach for: {feature}
Context: {relevant code or architecture}
Evaluate:
1. Is this approach sound?
2. Alternative approaches?
3. Potential issues?
4. Recommendations?
" 2>/dev/nullDebug Analysis
codex exec --model gpt-5.3-codex --sandbox read-only --full-auto "
Debug this issue:
Error: {error message}
Code: {relevant code}
Context: {what was happening}
Analyze root cause and suggest fixes.
" 2>/dev/nullLanguage Protocol
- Ask Codex in English
- Receive response in English
- Execute based on advice
- Report to user in the user's language
Why Codex?
- Deep reasoning: Complex analysis and problem-solving
- Planning expertise: Architecture and implementation strategies
- Code mastery: Complex algorithms, optimization, debugging
- Consistency: Same project context via
context-loaderskill
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.

