codex

codex is a skill for Claude Code, Codex from phuongduyphan/cc-tmux-agents. It costs 39 tokens per session (1,331 once invoked), scanned A, original, MIT.

A command for handing a coding task to a separate Codex command-line session running inside tmux, a terminal session manager.

In plain words
What is it for?
Use it to start a session, send follow-up instructions, view its recent output, wait for it to finish, or send control keys.
Why use it?
It allows coding work to continue separately while the user decides when to check progress, send guidance, or stop it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Codex.

Good fit Use it to start a session, send follow-up instructions, view its recent output, wait for it to finish, or send control keys.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phuongduyphan/cc-tmux-agents/codex
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add phuongduyphan/cc-tmux-agents --skill codex
Clone the repo
git clone --depth 1 https://github.com/phuongduyphan/cc-tmux-agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/codex/github.svg)](https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/codex)
Your own site
<a href="https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/codex"><img src="https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/codex/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex

Your own site · 80×15
<a href="https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/codex"><img src="https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,331 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01331
Opus 5 $0.00019 $0.00665
Sonnet 5 $0.00008 $0.00266
Haiku 4.5 $0.00004 $0.00133

Measured 8d ago against content hash 07193f50b3f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

codex scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/codex/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/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 (default cc-codex), launch codex --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 active cc-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 Escapecapture.
"tell codex: X" / "send codex: X" send X.
"kill codex" / "stop codex" stop.

Read the full file on GitHub · 81 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 81 lines · 39 tokens per session scan A 07193f50b3f0

Subscribe to this mod's changes

codex is a skill published in the GitHub repository phuongduyphan/cc-tmux-agents (8 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 1,331 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

repo-hygiene

Use when the scheduled repo-hygiene workflow runs from GitHub Actions (or an operator dry-run) to scan the repository for small, certain docs/test/code hygiene issues and fix them as one batched branch.

QwenLM/qwen-code · 48 tokens

find-simplifications

Use for a periodic repo-wide sweep of qwen-code for accumulated excess surface — dead components and files, orphaned locale keys, exports nothing consumes, added-then-removed scaffolding — filing candidates on a tracking issue and landing only what a maintainer has said yes to. Repo-wide and evidence-first; every…

QwenLM/qwen-code · 103 tokens

autoprompt

Explicit-only useful-first orchestration. Invoke only when the user names autoprompt - typed as /autoprompt or in plain language such as "act in autoprompt mode" - to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Do not infer invocation from…

Spielewoy/autoprompt-skill · 85 tokens

autoprompt

Explicit-only useful-first orchestration. Invoke /autoprompt to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Never infer invocation from ordinary requests. Never resume from leftover artifacts without an explicit resume instruction.

Spielewoy/autoprompt-skill · 56 tokens

autoprompt

Explicit-only useful-first orchestration. Invoke /autoprompt to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Never infer invocation from ordinary requests. Never resume from leftover artifacts without an explicit resume instruction.

Spielewoy/autoprompt-skill · 56 tokens

ap-execharness-resolver

L3 executor - EXECHARNESS RESOLVE. Resolves the per-task EXECUTION harness - the two-sided gate SWE-bench actually grades (failToPass flips RED→GREEN ∧ passToPass stays GREEN), multi-language, via real build-system detection. Ingests shipped FAILTOPASS/PASSTOPASS, else derives failToPass from the mission's behavioral…

Spielewoy/autoprompt-skill · 100 tokens