agentleFS
floydbarbernah-ossfloydbarbernah-oss/ai-freelance-studio-framework/skills/codex-delegate/SKILL.md

codex-delegate

Skill0 starsChanged 4 months agoMITView on GitHub

Delegate a bounded technical task to Codex using the verified Windows headless workflow, sandbox and explicit file scope; then inspect status, full diff, stderr, tests, and SPEC before accepting the result.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before invoking Codex, read references/CODEX_DELEGATION_VERIFIED.md.

    line 11
  2. Very specific:

    use of apply_patch for writes.

    line 21
  3. Distinctive:

    no commercial decisions and no client communication.

    line 22
  4. Very specific:

    Use --sandbox workspace-write.

    line 24
  5. Distinctive:

    read the complete git diff.

    line 31
  6. Distinctive:

    run project tests/smoke checks.

    line 34

“Common” is measured: kept by at least 6 in 10 of the 6 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.

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

Codex delegation

Codex is optional. Delegate only when the task is isolated enough to specify precisely and delegation saves main-context time or provides a useful independent pass. One- or two-line fixes stay with Claude.

Before invoking Codex, read references/CODEX_DELEGATION_VERIFIED.md.

Delegation contract

The prompt must state:

  • project directory and files to read;
  • exact deliverable and acceptance criteria;
  • exact files allowed to change;
  • files/areas that must not change;
  • required tests;
  • use of apply_patch for writes;
  • no commercial decisions and no client communication.

Use --sandbox workspace-write. Never use danger-full-access, bypass flags, arbitrary --add-dir, or a command that weakens approval policy.

Acceptance of Codex output

Exit code is not proof. Claude must:

  1. inspect git status;
  2. read the complete git diff;
  3. inspect stderr separately;
  4. confirm only allowed files changed;
  5. run project tests/smoke checks;
  6. compare against SPEC and scope;
  7. invoke code-reviewer for material commercial changes;
  8. fix/reject/redo any inadequate result.

Codex never reports directly to the owner as the accepted implementation. Claude summarizes the verified result.

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.