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.
npx skills add iofold/ainative-claude-plugins --skill codex-dispatchgit clone --depth 1 https://github.com/iofold/ainative-claude-pluginsWrote 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.
[](https://agentmods.dev/skills/iofold/ainative-claude-plugins/codex-dispatch)<a href="https://agentmods.dev/skills/iofold/ainative-claude-plugins/codex-dispatch"><img src="https://agentmods.dev/badge/skills/iofold/ainative-claude-plugins/codex-dispatch/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.
<a href="https://agentmods.dev/skills/iofold/ainative-claude-plugins/codex-dispatch"><img src="https://agentmods.dev/badge/skills/iofold/ainative-claude-plugins/codex-dispatch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.02126 |
| Opus 5.5 | $0.00030 | $0.00850 |
| Sonnet 5.5 | $0.00015 | $0.00425 |
| Haiku 4.5 | $0.00008 | $0.00213 |
Grade B, and why
codex-dispatch scanned grade B with 1 finding 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 1mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
**Setup:** Set in `~/.claude/settings.json` under `env`, or inject from vault: How it starts
The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codex CLI Task Dispatch
Dispatch independent coding tasks to OpenAI's Codex CLI running in isolated git worktrees. Codex has its own tool loop and excels at autonomous code generation.
Use Codex when: task benefits from OpenAI models, you want a diverse model perspective, task involves long-running autonomous coding, you need structured JSON output, or code review via codex review.
Use Claude subagents when: task needs current conversation context, is tightly coupled to ongoing work, is quick (<30s), or needs MCP tools.
Essential Workflow
1. Conflict check — verify file independence
Before dispatching, confirm no other agent is modifying the same files, dev servers, or shared state (DB files, lock files). Each task gets its own branch.
2. Create worktree
TASK_ID=$(date +%s)-codex-$(echo "$TASK_NAME" | tr ' ' '-' | tr '[:upper:]' '[:lower:]' | head -c 30)
WORKTREE=/tmp/agent-tasks/$TASK_ID
git worktree add $WORKTREE -b agent/codex/$TASK_ID
3. Write prompt file
Never pass complex prompts inline. Write to the worktree for shell-safety and audit trail.
cat > $WORKTREE/.codex-prompt.md << 'PROMPT'
# Task: [TITLE]
## Objective
[What to accomplish]
## Files to Modify
- path/to/file — [what to change]
## Files to NOT Modify
- path/to/other — owned by another agent
## Constraints
- Follow existing code patterns
- Run tests after changes
## Acceptance Criteria
- [ ] [Criterion]
- [ ] All existing tests pass
PROMPT
Optionally write .codex/instructions.md in the worktree for persistent project context Codex reads automatically.
4. Dispatch
Recommended — captures JSONL events + final message:
codex exec \
--full-auto \
--json \
-C $WORKTREE \
--ephemeral \
-o $WORKTREE/.codex-result.txt \
- < $WORKTREE/.codex-prompt.md \
> $WORKTREE/.codex-events.jsonl \
2> $WORKTREE/.codex-stderr.txt &
CODEX_PID=$!
Simple — final message only (no event stream):
codex exec --full-auto -C $WORKTREE --ephemeral \
-o $WORKTREE/.codex-result.txt \
- < $WORKTREE/.codex-prompt.md \
2>&1 | tee $WORKTREE/.codex-log.txt &
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.
- 1mo ago First seen · 227 lines · 76 tokens per session scan B 8634f22ab640
codex-dispatch is a skill published in the GitHub repository iofold/ainative-claude-plugins (3 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 2,126 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-24.
codex-dispatch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codex-dispatchiofold/ainative-claude-plugins | Skill | 3 | 1mo ago | MIT | B | 76 | Claude Code |
| merge-batchdiegosouzapw/OmniRoute | Skill | 91k | 2d ago | MIT | A | 46 | Claude Code |
| prowler-commitprowler-cloud/prowler | Skill | 15k | yesterday | Apache-2.0 | A | 44 | Claude Code, Codex |
| gh-auth-isolationgithub/gh-aw | Skill | 5.7k | today | MIT | A | 20 | Claude Code, Codex |
| comet-githubrpamis/comet | Skill | 3.3k | today | MIT | A | 72 | Claude Code, Codex |
| github-skillzeenie-ai/OpenCompany | Skill | 1.1k | 4d ago | MIT | A | 51 | Claude Code |
| codex-autoresearchleo-lilinxiao/codex-autoresearch | Skill | 3.3k | 12d ago | MIT | A | 39 | Codex |