plan

plan is a command for Claude Code from jcarlosrodicio/opencode-agent-orchestration-kit. It costs 0 tokens per session (717 once invoked), scanned A, original, Apache-2.0.

A planning workflow that researches a software task, turns the findings into an implementation plan, and reviews that plan before any files are changed.

In plain words
What is it for?
It helps define scope, assumptions, acceptance criteria, validation steps, risks, and an ordered list of coding tasks.
Why use it?
It gives developers a checked, detailed plan without modifying the codebase. This reduces guesswork before implementation begins.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: agent in frontmatter; mentions AGENTS.md.

Good fit It helps define scope, assumptions, acceptance criteria, validation steps, risks, and an ordered list of coding tasks.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jcarlosrodicio/opencode-agent-orchestration-kit/plan
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.

Clone the repo
git clone --depth 1 https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit

Made for: Claude Code.

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/jcarlosrodicio/opencode-agent-orchestration-kit/plan/github.svg)](https://agentmods.dev/commands/jcarlosrodicio/opencode-agent-orchestration-kit/plan)
Your own site
<a href="https://agentmods.dev/commands/jcarlosrodicio/opencode-agent-orchestration-kit/plan"><img src="https://agentmods.dev/badge/commands/jcarlosrodicio/opencode-agent-orchestration-kit/plan/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.

agentmods 80×15 button for plan

Your own site · 80×15
<a href="https://agentmods.dev/commands/jcarlosrodicio/opencode-agent-orchestration-kit/plan"><img src="https://agentmods.dev/badge/commands/jcarlosrodicio/opencode-agent-orchestration-kit/plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 717 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.00717
Opus 5.5 $0.00000 $0.00287
Sonnet 5.5 $0.00000 $0.00143
Haiku 4.5 $0.00000 $0.00072

Measured 1mo ago against content hash 22d8930e27b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

opencode/commands/plan.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Objective:

$ARGUMENTS

Run a deterministic plan-only flow.

Contract: lead -> researcher -> specifier -> reviewer.

Init/context policy

Before invoking researcher, record only the minimum context:

  • cwd: target repository or area.
  • AGENTS.md: applicable local rules when present.
  • git state: clean/dirty state when the plan depends on current changes.
  • validation commands: likely checks the plan should use.
  • repo docs: local docs relevant to research/spec.

Do not implement or do deep discovery in this phase.

Mandatory flow

  1. Ground the user objective with assumptions, questions, scope, non-scope, and verifiable success criteria.
  2. Always invoke researcher first; wait for the full result before continuing.
  3. Synthesize research findings: verified facts, inferences, risks, recommended decisions, and open questions.
  4. Invoke specifier only after research has been consolidated.
  5. Ask specifier for an implementation-ready plan, acceptance criteria, validation, and ordered tasks.
  6. Invoke reviewer to review the plan/spec against the objective, research, assumptions, risks, and acceptance criteria.
  7. If reviewer finds no significant issues, deliver the final plan.
  8. If reviewer finds significant issues, allow exactly 1 correction pass.
  9. After the second review, deliver the plan with explicit risks or declare the state blocked.

Dependency rules

  • Do not invoke developer.
  • Do not invoke designer; if the work needs design, mark that dependency in the plan or recommend /design or /feature.
  • Do not implement code or modify application files.
  • Do not invoke specifier while researcher has pending work.
  • Do not invoke reviewer before a reviewable plan/spec exists.
  • Do not use evaluator, debugger, or evolver; this command plans, it does not evolve or validate the harness.
  • Do not parallelize phases; this flow is sequential by design.
  • If there is a blocking question, stop the flow and state it instead of inventing a decision.

Read the full file on GitHub · 75 lines

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. 1mo ago First seen · 75 lines · 0 tokens per session scan A 22d8930e27b6

Subscribe to this mod's changes

plan is a command published in the GitHub repository jcarlosrodicio/opencode-agent-orchestration-kit (136 stars, last pushed 20d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 717 tokens. 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.