codex
Skill1 starsChanged 4 days agoMITView on GitHub
Use when delegating a self-contained coding task to Codex CLI, monitoring its progress, and reporting the result as project manager.
156 other projects use a version of this.
Adopted by
Most recently taken up by
- openamer-max/max-scriptstheir own version, first seen Nov 29, 2026
- Ertinox7711/SGRR-AGI-V2their own version, first seen Nov 29, 2026
- aakash1552005/universal-agent-skillstheir own version, first seen Nov 29, 2026
- mphaxise/gstack-port-for-codextheir own version, first seen Nov 29, 2026
- Dannykkh/skill-olympustheir own version, first seen Nov 29, 2026
- tenaya-ui/claude-skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use ios-sync, audit-decisions and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Saqlain-811Skillios-sync
Regenerate the iOS debug bridge against the latest upstream gstack templates. (gstack)
Also in 7 projects that use this
dzhngSkillaudit-decisions
Audit the decisions an implementing agent made, not its diff — a pure audit that traces the session's history into a decisions ledger, changes no code, and never blocks an unsupervised run. Working code still embeds architecture the user never chose; surface it because future work inherits it. Use when the user wants to review the decisions the AI made on their behalf, before merging or committing AI-implemented work, when integrating a delegated subagent's pass, or when a fix "works" but might be a point fix.
Also in 4 projects that use this
dzhngSkillimplement-spec-with-codex
Run [implement-spec](../implement-spec/SKILL.md) with Codex doing the implementation passes while you orchestrate, integrate, and review. Use when the user asks to implement a spec with Codex, or to run implement-spec with Codex as the implementer.
Also in 4 projects that use this
math-incSkillminecraft-modpack-server
Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.
Also in 6 projects that use this
math-incSkillpokemon-player
Play Pokemon games autonomously via headless emulation. Starts a game server, reads structured game state from RAM, makes strategic decisions, and sends button inputs — all from the terminal.
Also in 6 projects that use this
ayudaySkillsetup-deploy
Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".
Also in 22 projects that use this
- +1 more from math-inc
Other versions156 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 156
- NousResearch/hermes-agent★ 267ksame name
- garrytan/gstack★ 143ksame name
- dzhng/jevgrep★ 3.2ksame name
- ispc/ispc★ 3ksame name
- bergside/awesome-design-skills★ 2.9ksame name
- dataplat/dbatools★ 2.9ksame name
- Lilac-Labs/gini-agent★ 1.9ksame name
- Open-Curiosity/gini-agent★ 1.9ksame name
- dzhng/skills★ 1.5ksame name
- math-inc/OpenGauss★ 1.3ksame name
146 more not listed
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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- antigravitySkill
- claudeSkill
- debugSkill
- hcc-refreshSkill
- inspect-imagesSkill
- memory-searchSkill
- msnSkill
- ngrSkill
- office-basicsSkill
- visionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 12 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 132 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Run Codex in the background using this pattern:
- Very specific: line 16
Always use a timestamped log filename (e.g.
- Distinctive: line 36
Do NOT just forward the user's message.
- Distinctive: line 56
Read the full log
- Distinctive: line 60
Verify the output if possible (run tests, check file existence, etc.)
- Distinctive: line 64
When the task completes, report to the user:
- Distinctive: line 71
If the task failed, read the error log carefully and either:
- Very specific: line 78
Timeout: If the Codex process has been running for more than 15 minutes with no new log output, assume it is stuck.
- Distinctive: line 79
No self-workspace editing: Never point Codex at your own workspace directory.
- Distinctive: line 80
Timestamped logs: Always use a timestamped log filename so concurrent or sequential delegations don't overwrite each other.
- Distinctive: line 85
Write clear, complete delegation prompts.
- Distinctive: line 86
Always capture output to a log file so you can review what happened.
- Distinctive: line 87
Do not blindly trust "success" — verify the output when possible.
- Distinctive: line 88
If the task is very large, break it into smaller Codex invocations.
“Common” is measured: kept by at least 6 in 10 of the 132 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
You are delegating a coding task to OpenAI Codex CLI. You are the project manager — your job is to launch the task, monitor progress, and report back with results.
How to launch
Run Codex in the background using this pattern:
codex exec -q "TASK_DESCRIPTION" --model gpt-5.6-sol -c model_reasoning_effort='medium' --full-auto --no-persist > WORKDIR/codex_YYYYMMDD_HHMMSS.log 2>&1Always use a timestamped log filename (e.g. codex_20260311_143022.log) so multiple delegations don't overwrite each other.
Replace TASK_DESCRIPTION with a clear, self-contained prompt describing the full task. Replace WORKDIR with your workspace directory.
Important flags:
--full-auto— no human approval needed for tool use--no-persist— stateless, no session persistence--model gpt-5.6-sol— default model (change if needed)-c model_reasoning_effort='medium'— explicit default reasoning effort-q— quiet mode, takes a prompt string
Writing a good delegation prompt
The Codex agent cannot see your conversation history. You must write a complete, self-contained task description that includes:
- What to build or change
- Where the relevant files are (absolute paths)
- Any constraints or requirements
- What "done" looks like
Do NOT just forward the user's message. Rewrite it as a clear engineering spec.
Monitoring progress
After launching Codex:
- Check if the process is still running:
tasklist | findstr codex - Read the output log for progress:
tail -50 WORKDIR/codex_delegated.log - For long tasks (>5 minutes), set up periodic check-ins. Tell the user you've launched the task and will check back. Then check the log periodically (every few minutes) to see if Codex has finished or if there are errors.
- When Codex finishes:
- Read the full log
- Summarize what was done
- List any files created or modified
- Report any errors or warnings
- Verify the output if possible (run tests, check file existence, etc.)
Reporting back
When the task completes, report to the user:
- Task summary (what was requested)
- What Codex did (files created/modified, commands run)
- Result status (success/failure/partial)
- Any follow-up actions needed
If the task failed, read the error log carefully and either:
- Fix the issue and re-run
- Report the specific failure to the user with your analysis
Safety rules
- No re-delegation. If Codex fails or produces partial results, do NOT delegate again to Codex automatically. Report the failure to the user and let them decide. You may retry ONCE if the failure was clearly transient (e.g. network timeout), but never more than that. Infinite delegation loops waste resources and produce garbage.
- Timeout. If the Codex process has been running for more than 15 minutes with no new log output, assume it is stuck. Kill it (
taskkill /F /IM codex.exe /T), report the timeout to the user, and do not retry automatically. - No self-workspace editing. Never point Codex at your own workspace directory. Always target the actual project directory the user's task is about.
- Timestamped logs. Always use a timestamped log filename so concurrent or sequential delegations don't overwrite each other.
Important rules
- You are the project manager, NOT the coder. Let Codex do the coding work.
- Write clear, complete delegation prompts. Garbage in = garbage out.
- Always capture output to a log file so you can review what happened.
- Do not blindly trust "success" — verify the output when possible.
- If the task is very large, break it into smaller Codex invocations.
- The workspace directory for Codex should be the target project directory, not your own workspace.
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.

