plan-replan

plan-replan is a command for Claude Code from nguyenthienthanh/aura-frog. It costs 0 tokens per session (322 once invoked), scanned A, original, MIT.

A command for replacing a planning node and all of its child nodes with a new plan. Child nodes are marked discarded while their identifiers are kept.

In plain words
What is it for?
Use it to restart a task, story, feature, or initiative plan, optionally recording a reason or paths and nodes to avoid.
Why use it?
It helps when the current approach no longer fits, such as after a design change. A checkpoint is saved before the replan so the previous state can be recovered.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash aura-frog/scripts/plans/replan-node.sh <ID> [--reason "..."] [--avoid <path-or-id>] [--force].

Part of the aura-frog plugin — 43 skills, 24 commands, 15 agents, 10 hooks, 6 MCP servers shipped together

Good fit Use it to restart a task, story, feature, or initiative plan, optionally recording a reason or paths and nodes to avoid.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/nguyenthienthanh/aura-frog
agentmods
npx agentmods add commands/nguyenthienthanh/aura-frog/plan-replan

Made for: Claude Code.

Or install aura-frog, the plugin that ships this one along with the rest of its 43 skills, 24 commands, 15 agents, 10 hooks, 6 MCP servers.

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-replan

README.md
[![agentmods](https://agentmods.dev/badge/commands/nguyenthienthanh/aura-frog/plan-replan.svg)](https://agentmods.dev/commands/nguyenthienthanh/aura-frog/plan-replan)
Your own site
<a href="https://agentmods.dev/commands/nguyenthienthanh/aura-frog/plan-replan"><img src="https://agentmods.dev/badge/commands/nguyenthienthanh/aura-frog/plan-replan.svg" alt="Measured on agentmods" 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 322 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.00322
Opus 5 $0.00000 $0.00161
Sonnet 5 $0.00000 $0.00064
Haiku 4.5 $0.00000 $0.00032

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

Security

Grade A, and why

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

aura-frog/commands/plan-replan.md · 33 lines

What it actually says

/aura-frog:plan-replan <id>

Force replan of a node and all descendants. Alias for /aura-frog:plan replan <id> (v3.7.2+).


Usage

/aura-frog:plan-replan TASK-00101
/aura-frog:plan-replan STORY-0042 --reason "design pivot"
/aura-frog:plan-replan FEAT-A --avoid src/legacy

Delegation

bash aura-frog/scripts/plans/replan-node.sh <ID> [--reason "..."] [--avoid <path-or-id>] [--force]

The script:

  1. Refuses on replan_count >= replan_budget unless --force.
  2. Saves a per-node checkpoint.
  3. Marks all descendants status: discarded (preserves IDs).
  4. Bumps target's revision + replan_count, records last_replan_at / last_replan_reason.
  5. Appends history.jsonl event=replan.

The caller (or replanner agent in Milestone B+) is then responsible for proposing the new subtree shape.

Full protocol in commands/plan.md. Cannot replan done|archived — use /aura-frog:plan undo first if you need to revert.

Deprecation timeline: soft-deprecated v3.7.2, warning v4.0, removed v5.0.

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. 7d ago First seen · 33 lines · 0 tokens per session scan A 6281f2ed76e3

Subscribe to this mod's changes

plan-replan is a command published in the GitHub repository nguyenthienthanh/aura-frog (24 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 322 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.