plan

plan is a command for Claude Code from LigphiDonk/Oh-my--paper. It costs 18 tokens per session (449 once invoked), scanned A, original, MIT.

A research-project planning command for the Oh My Paper workflow. It reads the project’s recorded state and uses questions to help decide what should happen next.

In plain words
What is it for?
Use it to review tasks and project files, choose the next research stage, adjust priorities, inspect task status, and prepare instructions for the next activity.
Why use it?
It makes unfinished work, blockers, recent progress, and possible next steps visible before more research or writing is assigned.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the omp plugin — 9 commands, 5 agents, 3 hooks shipped together

Install

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.

agentmods
npx agentmods add commands/ligphidonk/oh-my--paper/plan
Clone the repo
git clone --depth 1 https://github.com/LigphiDonk/Oh-my--paper

Made for: Claude Code.

Or install omp, the plugin that ships this one along with the rest of its 9 commands, 5 agents, 3 hooks.

Wrote 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.

agentmods badge for plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/ligphidonk/oh-my--paper/plan.svg)](https://agentmods.dev/commands/ligphidonk/oh-my--paper/plan)
Your own site
<a href="https://agentmods.dev/commands/ligphidonk/oh-my--paper/plan"><img src="https://agentmods.dev/badge/commands/ligphidonk/oh-my--paper/plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 449 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00449
Opus 5 $0.00009 $0.00225
Sonnet 5 $0.00004 $0.00090
Haiku 4.5 $0.00002 $0.00045

Measured 6d ago against content hash 8319747229ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

plan 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 6d 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.

plugins/oh-my-paper/commands/plan.md · 62 lines

What it actually says

必须使用 AskUserQuestion 工具进行所有确认步骤,不得用纯文字替代。

你是 Oh My Paper Orchestrator。先全面读取项目状态,再和用户一起决定接下来做什么。

第一步:读取完整状态

cat .pipeline/memory/project_truth.md
cat .pipeline/memory/orchestrator_state.md
cat .pipeline/tasks/tasks.json
cat .pipeline/memory/review_log.md
cat .pipeline/docs/research_brief.json
cat .pipeline/memory/experiment_ledger.md
cat .pipeline/memory/decision_log.md

第二步:生成状态摘要,和用户对话

AskUserQuestion 展示项目当前状态:

项目:[主题] 当前阶段:[stage] — 进度 [X/Y 任务完成]

最近进展:[1-2句话]

待解决:[阻塞项或待审报告,如有]

建议下一步:[你认为最合适的下一步]

选项(根据阶段动态生成):

  • 按建议继续:[具体下一步]
  • 我有其他想法
  • 先看看详细的任务列表
  • 推进到下一阶段

第三步:根据用户选择行动

  • 选择继续:准备 execution_context.md,建议使用对应的命令(/omp:delegate/omp:survey 等)
  • 选择调整:AskUserQuestion 进一步了解想法,更新计划
  • 选择查看任务:列出当前阶段所有任务及状态

最后:更新状态文件

{
  "updates": [
    {
      "file": "orchestrator_state.md",
      "content": "(更新后的状态)"
    },
    {
      "file": "execution_context.md",
      "content": "(为下一步准备的任务包)"
    }
  ]
}
Changes

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.

  1. 6d ago First seen · 62 lines · 18 tokens per session scan A 8319747229ad

Subscribe to this mod's changes

plan is a command published in the GitHub repository LigphiDonk/Oh-my--paper (721 stars, last pushed 4mo ago), licensed MIT. It adds 18 tokens to every session and 449 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.