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 commands/jgt87/codex-offload-mcp/codex-plan-executegit clone --depth 1 https://github.com/jgt87/codex-offload-mcpWhat 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.00019 | $0.00485 |
| Opus 5 | $0.00010 | $0.00243 |
| Sonnet 5 | $0.00004 | $0.00097 |
| Haiku 4.5 | $0.00002 | $0.00049 |
Grade A, and why
codex-plan-execute 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 yesterday.
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
The user wants the plan→execute collaboration: you do the design thinking, Codex does the typing.
Task: $ARGUMENTS
- Plan it yourself, in this conversation. Work out the approach: which files change, what each change is, the order to do them in, and how to tell it worked (tests to run, behaviour to check). Investigate the codebase as much as you need — this is the part only you can do.
- Write the plan as a self-contained, ordered list. Codex cannot see this conversation, so name every file and state every step and acceptance check in the plan text itself.
- Hand it off with
codex_execute_plan(plan, cwd=<repo root>). Since the design is done, consider a lowerreasoningEffortunless individual steps are themselves subtle. You get a jobId back immediately. - Keep working or verify — don't sleep-poll. The job runs detached; do real work meanwhile and
collect with
codex_resultwhen you're ready, which checks Codex's report against git. Don't narrate a wait and firesleep— foregroundsleepis blocked by the harness, so the wait never happens and you just re-poll seconds later. If you genuinely have nothing else to do, block on completion by running the returnedwatchCommandvia Bash withrun_in_background; it gives one notification when the job finishes. Don't useMonitorhere: it is for repeated events, not a one-shot completion wait. Also don't narrate a wait and fire nothing — ending the turn on "I'll check back shortly" leaves nothing to bring you back; either armwatchCommandnow or keep working now. If Codex reports a blocker, revise the plan and resume withcodex_reply.
If the task is exploratory (each step changes what you'd do next) or needs this conversation's context to execute, say so and do it in-process instead — plan→execute only fits work whose shape is known before it starts.
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.
- yesterday First seen · 31 lines · 19 tokens per session scan A 14d507118bd2
codex-plan-execute is a command published in the GitHub repository jgt87/codex-offload-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 485 once invoked, about $0.0001 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 commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
constitution
Create or update the project constitution from interactive or provided principle inputs.