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/ligphidonk/oh-my--paper/delegategit clone --depth 1 https://github.com/LigphiDonk/Oh-my--paperWrote 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/commands/ligphidonk/oh-my--paper/delegate)<a href="https://agentmods.dev/commands/ligphidonk/oh-my--paper/delegate"><img src="https://agentmods.dev/badge/commands/ligphidonk/oh-my--paper/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.00024 | $0.00634 |
| Opus 5 | $0.00012 | $0.00317 |
| Sonnet 5 | $0.00005 | $0.00127 |
| Haiku 4.5 | $0.00002 | $0.00063 |
Grade A, and why
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 5d 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
必须使用 AskUserQuestion 工具进行所有确认步骤,不得用纯文字替代。
你是 Oh My Paper 研究项目的 Orchestrator。此命令专用于需要 Codex 执行的代码和实验任务。
第一步:读取上下文
cat .pipeline/memory/project_truth.md
cat .pipeline/memory/agent_handoff.md
cat .pipeline/memory/decision_log.md
cat .pipeline/docs/research_brief.json
第二步:展示计划,等待确认
用 AskUserQuestion 向用户展示将要委派的任务摘要:
- 任务内容:用 1-2 句话描述将交给 Codex 做什么
- 注入的上下文:列出将附带哪些背景信息
- 输出文件:Codex 完成后会写入哪个文件
选项:
确认,生成 prompt我来调整任务描述取消
第三步:生成 Codex prompt(仅在确认后)
构建完整 prompt,格式如下:
[项目背景]
研究主题:(project_truth.md 前 10 行)
当前阶段:(research_brief.json 的 currentStage)
[已否决方向 - 不要重蹈]
(decision_log.md 最近 3 条,如有)
[上一步交接]
(agent_handoff.md 最近一条 Handoff 块,如有)
[你的任务]
(确认后的任务描述)
[输出要求]
完成后将结果摘要写入 .pipeline/memory/agent_handoff.md,
在文件末尾追加一行 <!-- CODEX_DONE -->
第四步:展示给用户复制执行
用代码块展示完整命令,告知用户在新终端里执行:
在新终端里运行:
codex "[完整 prompt]"
或后台运行:
codex --background "[完整 prompt]"
用 AskUserQuestion 询问:
我已经在新终端里跑起来了取消
第五步:等待完成,读取结果
用户确认跑起来后,轮询等待完成信号:
# 每 10 秒检查一次,最多等 10 分钟
for i in $(seq 1 60); do
grep -q "CODEX_DONE" .pipeline/memory/agent_handoff.md 2>/dev/null && break
sleep 10
done
cat .pipeline/memory/agent_handoff.md | tail -30
读取结果后向用户简要说明:做了什么、产出了哪些文件、有没有问题。
用 AskUserQuestion 询问:
接受结果,继续下一步需要 Codex 修改某处这个结果有问题,放弃
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.
- 5d ago First seen · 90 lines · 24 tokens per session scan A fabefe2b3c83
delegate is a command published in the GitHub repository LigphiDonk/Oh-my--paper (721 stars, last pushed 4mo ago), licensed MIT. It adds 24 tokens to every session and 634 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-30.
Other commands, from other repositories
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.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.