Borrowing it
Nothing to install: this file belongs to megamen32/agent-resume. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/megamen32/agent-resume/main/.codex/skills/delayed-codex-resume/SKILL.mdgit clone --depth 1 https://github.com/megamen32/agent-resumeWrote 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/megamen32/agent-resume/delayed-codex-resume)<a href="https://agentmods.dev/skills/megamen32/agent-resume/delayed-codex-resume"><img src="https://agentmods.dev/badge/skills/megamen32/agent-resume/delayed-codex-resume/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/megamen32/agent-resume/delayed-codex-resume"><img src="https://agentmods.dev/badge/skills/megamen32/agent-resume/delayed-codex-resume.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.00071 | $0.00938 |
| Opus 5.5 | $0.00028 | $0.00375 |
| Sonnet 5.5 | $0.00014 | $0.00188 |
| Haiku 4.5 | $0.00007 | $0.00094 |
Grade A, and why
delayed-codex-resume 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 2mo 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Delayed Codex Resume
Use AgentResume for a one-time callback into the current Codex session. The session itself schedules the wait, then its resumed instruction performs the requested follow-up. This avoids inventing a scheduler, but it is intentionally not a durable job system.
Preconditions
- The request authorizes a one-shot callback and its cost.
- The dedicated session has the
agent_resumeMCP tool configured; otherwise it cannot schedule its own continuation. - Choose the model when starting the session.
AgentResumefreezes that model from the current Codex state together with the thread id and passes it tocodex exec resume; it must not silently inherit a later CLI default. - Probe a requested model with a tiny
codex exec --ephemeral -m <model>call before relying on it. If unavailable, report the exact error; never silently substitute a different model.
Read the transport contract before changing this workflow or using it in an unfamiliar environment.
One-shot workflow
-
Start a dedicated, non-ephemeral Codex session with the chosen model. Keep its task narrow and prohibit unrelated tools or edits.
-
In that session, call
agent_resume.wait_and_resumewith:{ "wait_seconds": 60, "note": "One-shot callback: reply exactly НАДО.", "execute_resume": true }The initial prompt must say that the continuation, after the callback, must reply with the requested exact text.
-
Record the returned job id. Do not create a cron job, systemd timer, or retry loop for this test.
-
Observe for at most the requested delay plus two minutes, then verify all of the following:
agent_resume.wait_job_statusreportsstate: "finished";- its
meta.jsonrecordsresume_result.executed: true, a zerolaunch_returncode,resume_result.modelequal to the initial model, andresume_result.log_file; resume_result.log_filecontains the expected response. If a resume PID is recorded, it is no longer alive before declaring the test complete.
-
Report elapsed time, selected model, job id, and the exact evidence. A zero launch return code merely means the resumed Codex process started; it does not prove the response was produced. If the callback fails, preserve the log and diagnose before attempting another one.
What ships with it
2 files 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.
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.
- 2mo ago First seen · 92 lines · 71 tokens per session scan A 83f5c959d52d
delayed-codex-resume is a skill published in the GitHub repository megamen32/agent-resume (0 stars, last pushed 25d ago), licensed MIT. It adds 71 tokens to every session and 938 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-31.
delayed-codex-resume compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| delayed-codex-resumemegamen32/agent-resume | Skill | 0 | 25d ago | MIT | A | 71 | Codex |
| orbit-notionnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 117 | Claude Code, Codex |
| agentmailpaperclipai/paperclip | Skill | 111k | yesterday | MIT | A | 30 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 20k | yesterday | MIT | A | 184 | Claude Code |
| rowboat-spacesrowboatlabs/rowboat | Skill | 18k | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | 5d ago | MIT | A | 33 | Claude Code, Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 10d ago | MIT | A | 52 | Claude Code, Codex |