agentleFS
ihiteshguptaihiteshgupta/ClaudeSkills/skills/codex-coder/SKILL.md

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.

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
  1. Very specific:

    Always call mcp__codex-mcp__codex_task to delegate the work to Codex.

    line 11
  2. Distinctive:

    Use this skill when the user asks to:

    line 14
  3. Distinctive:

    Write or implement any code (features, functions, modules)

    line 15
  4. Distinctive:

    Create automation scripts (CI/CD, data pipelines, cron jobs, shell scripts)

    line 17
  5. Distinctive:

    Use the current working directory or ask the user if unclear

    line 23
  6. Distinctive:

    Must be an absolute path to a git repository

    line 24
  7. Very specific:

    Call mcp__codex-mcp__codex_task immediately with:

    line 27
  8. Very specific:

    Call mcp__codex-mcp__codex_review with the returned task ID to show the diff to the user.

    line 32
  9. Very specific:

    If user approves → call mcp__codex-mcp__codex_apply

    line 35
  10. Very specific:

    If user rejects → call mcp__codex-mcp__codex_discard and re-prompt with corrections

    line 36
  11. Very specific:

    Call mcp__codex-mcp__codex_list to list all pending/active Codex tasks.

    line 39
  12. Distinctive:

    Write detailed prompts for best results:

    line 42
  13. Very specific:

    NEVER write code yourself — always use mcp__codex-mcp__codex_task

    line 65
  14. Very specific:

    ALWAYS call codex_review before codex_apply

    line 66
  15. Very specific:

    If the diff is wrong, call codex_discard and re-run with a better prompt

    line 67

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 project
  • prompt: 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_discard and 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_review before codex_apply
  • If the diff is wrong, call codex_discard and re-run with a better prompt
  • Break large tasks into focused, single-concern prompts for best results

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.