codex-coder
Skill0 starsChanged 13 months agoMITView on GitHub
Use this skill for any coding task — writing features, test cases, or automation scripts. This skill MUST use the Codex MCP (mcp__codex-mcp__codex_task) to execute all coding work. Never write code manually — always delegate to Codex MCP.
In this repository13 other files it gives its agents.
- system-designSkill
- nodejs-expertSkill
- terraformSkill
- mermaid-diagramsSkill
- technical-writerSkill
- css-expertSkill
- react-expertSkill
- vue-expertSkill
- kubernetes-expertSkill
- android-expertSkill
- ios-expertSkill
- security-expertSkill
- ux-designerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 6 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Always call mcp__codex-mcp__codex_task to delegate the work to Codex.
- Distinctive: line 14
Use this skill when the user asks to:
- Distinctive: line 15
Write or implement any code (features, functions, modules)
- Distinctive: line 17
Create automation scripts (CI/CD, data pipelines, cron jobs, shell scripts)
- Distinctive: line 23
Use the current working directory or ask the user if unclear
- Distinctive: line 24
Must be an absolute path to a git repository
- Very specific: line 27
Call mcp__codex-mcp__codex_task immediately with:
- Very specific: line 32
Call mcp__codex-mcp__codex_review with the returned task ID to show the diff to the user.
- Very specific: line 35
If user approves → call mcp__codex-mcp__codex_apply
- Very specific: line 36
If user rejects → call mcp__codex-mcp__codex_discard and re-prompt with corrections
- Very specific: line 39
Call mcp__codex-mcp__codex_list to list all pending/active Codex tasks.
- Distinctive: line 42
Write detailed prompts for best results:
- Very specific: line 65
NEVER write code yourself — always use mcp__codex-mcp__codex_task
- Very specific: line 66
ALWAYS call codex_review before codex_apply
- Very specific: line 67
If the diff is wrong, call codex_discard and re-run with a better prompt
≈ “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
Codex Coder Skill
Core Rule
ALL coding tasks MUST be executed via the Codex MCP — never write code manually.
Always call mcp__codex-mcp__codex_task to delegate the work to Codex.
Trigger
Use this skill when the user asks to:
- Write or implement any code (features, functions, modules)
- Generate test cases (unit, integration, e2e)
- Create automation scripts (CI/CD, data pipelines, cron jobs, shell scripts)
- Refactor or fix existing code
Execution Steps
1. Identify the project directory
- Use the current working directory or ask the user if unclear
- Must be an absolute path to a git repository
2. Call Codex MCP to do the coding
Call mcp__codex-mcp__codex_task immediately with:
project_dir: absolute path to the git projectprompt: detailed task description (language, framework, file paths, expected behavior)
3. Review the output
Call mcp__codex-mcp__codex_review with the returned task ID to show the diff to the user.
4. Apply or Discard
- If user approves → call
mcp__codex-mcp__codex_apply - If user rejects → call
mcp__codex-mcp__codex_discardand re-prompt with corrections
Check in-progress tasks
Call mcp__codex-mcp__codex_list to list all pending/active Codex tasks.
Prompt Guidelines for Codex
Write detailed prompts for best results:
Feature / Code:
Using [language/framework], implement [feature] in [file path].
Input: [describe], Output: [describe].
Follow existing code style and conventions.Test Cases:
Write [Jest/pytest/Mocha] tests for [file/function].
Cover: happy path, edge cases, and error scenarios.
Mock external dependencies. Follow existing test structure.Automation Script:
Create an automation script in [language] that [does X].
Trigger: [manual/cron/event]. Input: [source]. Output: [result].Rules
- NEVER write code yourself — always use
mcp__codex-mcp__codex_task - ALWAYS call
codex_reviewbeforecodex_apply - If the diff is wrong, call
codex_discardand re-run with a better prompt - Break large tasks into focused, single-concern prompts for best results
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.

