plan

plan is a command for Claude Code from HigorAlves/orc. It costs 42 tokens per session (1,210 once invoked), scanned A, original, MIT.

A planning command that turns a feature or refactoring request into a written test-driven development plan and can break it into separate work issues. Test-driven development means writing a failing test before the code that makes it pass.

In plain words
What is it for?
Use it to create a resumable plan, optionally stress-test the design, split the plan into issues, and connect the work to a Jira ticket or selected repositories.
Why use it?
It helps clarify the implementation before coding, identify design risks, and divide large work into pieces that can be delivered independently.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: $skill-name invocation.

Good fit Use it to create a resumable plan, optionally stress-test the design, split the plan into issues, and connect the work to a Jira ticket or selected repositories.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/higoralves/orc/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/HigorAlves/orc

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/higoralves/orc/plan/github.svg)](https://agentmods.dev/commands/higoralves/orc/plan)
Your own site
<a href="https://agentmods.dev/commands/higoralves/orc/plan"><img src="https://agentmods.dev/badge/commands/higoralves/orc/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/higoralves/orc/plan"><img src="https://agentmods.dev/badge/commands/higoralves/orc/plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,210 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.00042 $0.01210
Opus 5.5 $0.00017 $0.00484
Sonnet 5.5 $0.00008 $0.00242
Haiku 4.5 $0.00004 $0.00121

Measured 25d ago against content hash 7b956cf291a5, 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 25d 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.

codex/orc/content/commands/plan.md · 91 lines

How it starts

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

$orc-plan

Turn a feature or refactor request into a written, TDD-shaped plan at .orc/<branch>/files/plan.md, so the work can pause and resume.

Arguments

  • --auto[=guided|full] — autopilot level for this run (overrides interaction_policy); ladder and hard-outward exemption in orc-gates §6.
  • --grill — after the draft, invoke orc-grilling to stress-test the design before committing.
  • --issues — after approval, run orc-to-issues to break the plan into independently grabbable issues.
  • --jira <KEY> — link a Jira ticket (e.g. PROJ-123) silently; suppresses the P1 link prompt.
  • --repos <list>, --repo <name>, --all-repos, --this-repo — workspace-mode repo selection; precedence per orc-workspace-mode.
  • The feature description is the rest of the argument string.

Preconditions

🛑 Outward write

P5 (--issues) creates issues on the project tracker through orc-to-issues.

  • --jira <KEY> must match ^[A-Z][A-Z0-9_]*-\d+$; a mismatch stops the run in P1.
  • Brief-shaped and refactor-shaped input are exclusive: one pre-phase runs, never both.
  • The plan gate (P4) asks at every autopilot level when $orc-plan runs standalone.

Phases

Modules live in orc-phases (references/plan/). Entering a phase, Read exactly its module.

Phase Module Skipped when
0 Detect context resident, below never
PRD-shaped input orc-plan/PRD input is short and clear, or refactor-shaped
Refactor-shaped input orc-plan/REFACTOR input is not refactor-shaped
1 Initialize workspace orc-plan/P1 never
1b Prime code discovery orc-plan/DISCOVERY graphify absent (skip silently)
2 Draft the plan orc-plan/P2 never
3 Stress-test the design orc-plan/P3 no --grill
4 Confirm, install the slice ledger orc-plan/P4 never
5 Decompose into issues orc-plan/P5 no --issues

Phase 0 — Detect context

Run orc-workspace-detect --banner in the working repository and read its output before continuing.

Read the full file on GitHub · 91 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. 25d ago Changed 7b956cf291a5
  2. 1mo ago Changed · -58 lines 04ff433665a6
  3. 1mo ago Changed f9078e255828
  4. 3mo ago First seen · 149 lines · 42 tokens per session scan A b20a14978c9d

Subscribe to this mod's changes

plan is a command published in the GitHub repository HigorAlves/orc (7 stars, last pushed 3d ago), licensed MIT. It adds 42 tokens to every session and 1,210 once invoked, about $0.0002 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.

Related

plan compared with commands from other repositories

plan next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
planHigorAlves/orcCommand73d agoMITA42Claude Code
parallax-statusMaster0fFate/parallax-claudecodeCommand01mo agoMITA13Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code