codex
Skill8 starsChanged 5 months agoMITView on GitHub
Delegate a coding task to a Codex CLI session managed via tmux. Invoked as /codex. User drives all progress checks and interventions — no auto-polling.
135 other projects use a version of this.
Adopted by
Most recently taken up by
- holylight1979/AtomicMemory-ClaudeCodetheir own version, first seen Nov 8, 2026
- mxrsv/agents-skillstheir own version, first seen Nov 8, 2026
- hemal08ce094/DesignSkillsSwiftUItheir own version, first seen Nov 8, 2026
- choughton/feature-design-prompt-templatestheir own version, first seen Nov 8, 2026
- hurleywgly/skillstheir own version, first seen Nov 8, 2026
- puck-muling/peer-agenttheir own version, first seen Nov 8, 2026
Used with
Projects with it also use ios-sync, compare-screenshots 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 6 projects that use this
transitive-bullshitSkillcompare-screenshots
Compare screenshots against the intended design, distinguishing approved references from historical baselines. Use for iterative implementation matching, before/after visual review, objective image telemetry, or checking a lone capture for flat, empty, or badly framed content.
Also in 5 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
Saqlain-811Skillios-clean
Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)
Also in 5 projects that use this
john-data-chenSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 7 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 5 projects that use this
- +1 more from Saqlain-811
Other versions135 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 135
- NousResearch/hermes-agent★ 262ksame name
- garrytan/gstack★ 141ksame 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
- clice-io/clice★ 1.4ksame name
125 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.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 111 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
All operations go through a single dispatcher:
- Very specific: line 45
Default session name: cc-codex.
“Common” is measured: kept by at least 6 in 10 of the 111 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 — delegate to Codex CLI
Spawns Codex in a detached tmux session so Claude can offload work to it. The user stays in the loop: they ask Claude when to check progress, what guidance to send, and when to stop.
Primitive
All operations go through a single dispatcher:
~/.claude/skills/codex/bin/codex-agent [--session <name>] <verb> [args]Verbs:
start [task...]— create session (defaultcc-codex), launchcodex --dangerously-bypass-approvals-and-sandbox, type the task and press Enter. Returns immediately (non-blocking).send <message>— type message + Enter. For follow-up guidance. Does not interrupt current generation; Codex queues the input.keys <name>— send a raw tmux key (Escape,C-c,Enter, etc.). Used for interrupts.capture [lines]— print last N ANSI-stripped rendered lines (default 500). Read-only, non-destructive.wait [stable] [timeout]— block until codex goes idle, then exit. Run via a backgrounded Bash so the harness notifies Claude on completion (see "Auto-notify" below).stable= secs the working indicator must stay gone before declaring idle (default 6);timeout= overall cap in secs (default 1800).stop— kill-session. Destroys the tmux session.list— list activecc-codex*sessions.
How to respond to the user
| User says | Do |
/codex <task> | start <task>, then arm Auto-notify (below); reply "Started. I'll ping you when codex finishes." |
| "check codex" / "progress" / "what's codex doing" / "ask codex for progress" | capture. Show the relevant tail, add a one-line diagnosis (running / idle / error / prompt). Do not send ESC. |
| "interrupt codex" / "esc codex" | keys Escape → capture. |
| "tell codex: X" / "send codex: X" | send X. |
| "kill codex" / "stop codex" | stop. |
Rules:
- Never auto-poll by burning Claude turns on a
ScheduleWakeup/timer. For new tasks, arm thewaitwatcher by default (see Auto-notify), which polls inside a cheap background shell instead. Onlycapturewhen the user asks. - Never send
Escapeunless the user explicitly asks to interrupt. captureis the default observation verb. Prefer it over intervention.
Conventions
- Default session name:
cc-codex. For concurrent tasks, pass--session <name>before the verb. - Tasks and messages are single-line: newlines are interpreted as submit by the TUI. For long prompts, write the prompt to a file and tell Codex to read it.
Safety
--dangerously-bypass-approvals-and-sandbox lets Codex run arbitrary shell commands without approval or sandbox. For untrusted tasks, launch inside a git worktree or change the script to use --full-auto (sandboxed workspace-write).
Auto-notify (get pinged when codex finishes, no timer)
After start — and after any send that should produce another completion ping — arm a backgrounded watcher. This is the default for /codex <task>; the user does not need to say "tell me when it's done". The trick is entirely Claude-side: codex sends no signal. A background shell scrapes the pane and exits when codex goes idle, and the harness re-invokes Claude on that exit. The polling moves into a cheap shell loop; Claude is woken exactly once.
To arm it, call the wait verb through a backgrounded Bash:
Bash(
command: "~/.claude/skills/codex/bin/codex-agent wait",
run_in_background: true,
description: "wait for codex to go idle"
)On exit the harness notifies Claude. Read the final stdout line for the state, then capture and report to the user:
| Watcher's last line | Means | Claude does on wake |
idle … task-appears-complete | spinner gone and stable | capture, summarize the result |
prompt … permission-prompt | idle but a y/n prompt is up | capture, tell the user / send y if they authorized it |
timeout … still-busy | hit the cap while still working | capture, report it's still going; re-arm wait if desired |
gone / idle … no-activity | session killed, or codex never started working | capture to confirm |
Notes:
- Arm
waitimmediately afterstart/send— don'tcapturefirst. A fast model can finish during the gap, and the watcher will then reportno-activity(it never saw the spinner) instead of catching the idle transition. Capture only after the watcher wakes you. - This is the only sanctioned auto-detection path. Don't substitute a
ScheduleWakeuptimer (that's autopilot's job, with its own skill). - The watcher debounces: the working indicator briefly drops between steps, so
waitrequires it gone forstablesecs (default 6) before declaring idle. Bump it for tasks with long gaps between steps. - Re-arm after each
sendif you want a ping for that follow-up too — onewaitcovers one idle transition.
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.

