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 agentmods add skills/jinxlzc/grok-codex-plugin/codex-delegatenpx skills add jinxlzc/grok-codex-plugin --skill codex-delegategit clone --depth 1 https://github.com/jinxlzc/grok-codex-pluginWrote 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/jinxlzc/grok-codex-plugin/codex-delegate)<a href="https://agentmods.dev/skills/jinxlzc/grok-codex-plugin/codex-delegate"><img src="https://agentmods.dev/badge/skills/jinxlzc/grok-codex-plugin/codex-delegate.svg" alt="Measured on agentmods" 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 | $0.00082 | $0.00463 |
| Opus 5 | $0.00041 | $0.00231 |
| Sonnet 5 | $0.00016 | $0.00093 |
| Haiku 4.5 | $0.00008 | $0.00046 |
Grade A, and why
codex-delegate 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 4d 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.
What it actually says
Delegate to local Codex
This skill is the Grok-facing entry point for the local Codex companion.
Prefer the plugin's first-class tools when they are available:
- MCP tools from the
codexserver (codex_setup,codex_review,codex_adversarial_review,codex_rescue,codex_transfer,codex_status,codex_result,codex_cancel) - Slash commands
/codex:setup,/codex:review,/codex:adversarial-review,/codex:rescue,/codex:transfer,/codex:status,/codex:result,/codex:cancel
If MCP is not attached, invoke the companion directly:
node "${GROK_PLUGIN_ROOT:-$CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" <subcommand>
Routing:
- Setup / login / review-gate →
setup - Ordinary code review of the working tree or a branch →
review(read-only) - Challenge the design / approach →
adversarial-review - Investigate, fix, implement, or continue previous Codex work →
rescueviacodex:codex-rescueortask --write - Move this Grok conversation into Codex →
transfer - Check background work →
status/result/cancel
Rules:
- Do not reimplement the task yourself after a successful Codex handoff.
- Return companion / MCP output verbatim.
- After a review, do not apply fixes unless the user asks.
- If Codex is missing or logged out, stop and tell the user to run
/codex:setup.
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.
- 4d ago First seen · 41 lines · 82 tokens per session scan A 7f81c5f25e0d
codex-delegate is a skill published in the GitHub repository jinxlzc/grok-codex-plugin (1 stars, last pushed 22d ago), licensed Apache-2.0. It adds 82 tokens to every session and 463 once invoked, about $0.0004 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.
Other skills, from other repositories
grok-prompting
Internal guidance for composing clear Grok task prompts from Codex rescue handoffs.
grok-brand-media
Prompt recipes for Grok image/video generation from Codex (OG images, README banners, launch clips).
grok-cli-runtime
Internal helper contract for calling the grok-companion runtime from Codex.
grok-workflows
When and how to run Grok Rhai multi-agent workflows from Codex.
grok-routing
When Codex should delegate to Grok vs handle work itself.
grok-brand-media
Prompt recipes for Grok image/video generation from Codex (OG images, README banners, launch clips).