gaia: Command for Claude Code

.claude/commands/gaia-plan.md

gaia-plan is a command for Claude Code from gaia-react/gaia. It costs 59 tokens per session (354 once invoked), scanned A, original, MIT.

A planning command for complex software work that divides the task into stages handled with fresh context, then presents the plan for approval. It does not change the code.

In plain words
What is it for?
Use it to design an implementation plan, assign work to separate planning phases, and approve the proposed approach before coding starts.
Why use it?
Large feature requests are easier to review when their work is split into clear phases before implementation begins.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions subagents.

This is gaia-react/gaia's own configuration. It tells Claude Code how to work on gaia itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gaia configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gaia-react/gaia. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gaia-react/gaia/main/.claude/commands/gaia-plan.md
Clone the repo
git clone --depth 1 https://github.com/gaia-react/gaia

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 gaia-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/gaia-react/gaia/gaia-plan/github.svg)](https://agentmods.dev/commands/gaia-react/gaia/gaia-plan)
Your own site
<a href="https://agentmods.dev/commands/gaia-react/gaia/gaia-plan"><img src="https://agentmods.dev/badge/commands/gaia-react/gaia/gaia-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 gaia-plan

Your own site · 80×15
<a href="https://agentmods.dev/commands/gaia-react/gaia/gaia-plan"><img src="https://agentmods.dev/badge/commands/gaia-react/gaia/gaia-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 354 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.00059 $0.00354
Opus 5.5 $0.00024 $0.00142
Sonnet 5.5 $0.00012 $0.00071
Haiku 4.5 $0.00006 $0.00035

Measured 10d ago against content hash f2b309baee16, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gaia-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 10d 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.

.claude/commands/gaia-plan.md · 18 lines

What it actually says

Run the GAIA plan workflow with these arguments: $ARGUMENTS

Read .claude/skills/gaia/references/plan.md from the project root and follow it exactly. Treat the arguments above as the reference's $ARGUMENTS.

plan.md routes a run to these. Read one only when a line in plan.md says to, and then read the whole file:

  • .claude/skills/gaia/references/spec/lifecycle.md: step 0's pre-flight sweep.
  • .claude/skills/gaia/references/plan/decomposition-audit.md: step 4.6, when the gauge runs the audit.
  • .claude/skills/gaia/references/spec/lens-dispatch.md: step 4.6, with the audit.
  • .claude/skills/gaia/references/plan/planner.md: never read on this thread; the planner sub-agent spawned at step 4 reads it first.
  • .claude/skills/gaia/references/spec/uat-write.md, .claude/skills/gaia/references/spec/uat-divergence.md, .claude/skills/gaia/references/spec/wiki-promote.md: never read on this thread; planner.md routes the planner to each at the step that needs it.
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. 10d ago Changed f2b309baee16
  2. 12d ago Changed 87172ea85e35
  3. 14d ago Changed · +1 lines 7053d63ee2ed
  4. 21d ago Changed · +7 lines · +24 tokens per session 88f76b8225fd
  5. 2mo ago First seen · 10 lines · 35 tokens per session scan A 303819b28f09

Subscribe to this mod's changes

gaia-plan is a command published in the GitHub repository gaia-react/gaia (26 stars, last pushed 4d ago), licensed MIT. It adds 59 tokens to every session and 354 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-30.