Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add zebbern/agent-collab/plugin install codexWrote 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/zebbern/agent-collab/codex-delegation)<a href="https://agentmods.dev/skills/zebbern/agent-collab/codex-delegation"><img src="https://agentmods.dev/badge/skills/zebbern/agent-collab/codex-delegation/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/zebbern/agent-collab/codex-delegation"><img src="https://agentmods.dev/badge/skills/zebbern/agent-collab/codex-delegation.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.00074 | $0.01253 |
| Opus 5.5 | $0.00030 | $0.00501 |
| Sonnet 5.5 | $0.00015 | $0.00251 |
| Haiku 4.5 | $0.00007 | $0.00125 |
Grade A, and why
codex-delegation 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codex Delegation
This skill is the policy and the loop for delegating work to Codex without a /codex:* command. Presenting output stays governed by the codex-result-handling skill; prompt shape stays governed by the gpt-5-4-prompting skill. Do not duplicate either — defer to them.
When to delegate — and when not
- Delegate when an independent deep pass adds real value: a second opinion on a risky change, security or architecture analysis, an adversarial review of a substantive diff, or an implementation that can run in parallel while the session continues on something else.
- Keep trivial work local. A rename, a one-file edit, a question Claude can answer directly — spawning a background agent there is overhead, not help.
- Bench evidence, 2026-08-08 (docs/bench-pilot-2026-08-08.md): on the pilot's one comparable cell — a well-localized single-file bugfix with a reproducible symptom — a Codex-delegation arm matched solo Claude's fix rate exactly (3/3 both arms) while costing ~30% more wall time. n=3, one task shape: a direction, not a law. For fixes of that measured shape, default to solo unless the change carries a genuine risk or second-opinion dimension; broader bugfix classes keep the guidance above unchanged until more cells replicate.
- Never delegate when the user explicitly asked Claude to do the work personally.
- Run one delegated job of a class at a time (one task, one review). Before firing a new one, run
status --jsonand confirm nothing of the same class is still active.
Disclosure
- Announce every delegation in one short line when starting it — what is being delegated and that it is going to Codex. Never silently spawn CLI work.
The loop: fire, await, collect
Fire — start the job in the background:
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" task --background [--write] [--profile <deep|fast>] [--effort <tier>] "<prompt>"
- The output line
started in the background as <jobId>carries the job id. Record it. - Add
--writeonly when Codex is supposed to edit files; leave it off for analysis and second opinions. --profile <deep|fast>is accepted ontask(and itsrescueforwarder) only;reviewandadversarial-reviewreject it.- This fire → await → collect loop is for
taskonly. Reviews detach differently — see below.
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.
- 3mo ago First seen · 88 lines · 74 tokens per session scan A d39d77ea89d6
codex-delegation is a skill published in the GitHub repository zebbern/agent-collab (35 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,253 once invoked, about $0.0003 per session on Opus 5.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-30.
codex-delegation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codex-delegationzebbern/agent-collab | Skill | 35 | 2mo ago | Apache-2.0 | A | 74 | Claude Code |
| skill-builderyusufkaraaslan/Skill_Seekers | Skill | 15k | 3d ago | MIT | A | 38 | Claude Code, Codex |
| schedule-querychrisblattman/claudeblattman | Skill | 498 | 12d ago | MIT | A | 17 | Claude Code |
| research-councilchrisblattman/claudeblattman | Skill | 498 | 12d ago | MIT | A | 64 | Claude Code, Codex |
| goals-reviewchrisblattman/claudeblattman | Skill | 498 | 12d ago | MIT | A | 18 | Claude Code |
| todo-addchrisblattman/claudeblattman | Skill | 498 | 12d ago | MIT | A | 18 | Claude Code, Codex |
| pre-meetingchrisblattman/claudeblattman | Skill | 498 | 12d ago | MIT | A | 52 | Claude Code, Codex |