replanning-engine

replanning-engine is an agent for Claude Code from ivegamsft/basecoat. It costs 62 tokens per session (254 once invoked), scanned A, original, MIT.

A replanning agent for cases where a software task turns out to be much larger or different than originally estimated. It uses assessment results and project rules to decide whether the work should be retired, rewritten, or moved to another platform.

In plain words
What is it for?
Use it after an S2 assessment to compare estimates with actual complexity, recommend retire/rewrite/replatform options, and prepare a replanning issue.
Why use it?
It prevents teams from continuing with an unsuitable plan after the evidence changes. It records the size of the mismatch and can open a GitHub issue for the replanning decision.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions Codex.

Good fit Use it after an S2 assessment to compare estimates with actual complexity, recommend retire/rewrite/replatform options, and prepare a replanning issue.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivegamsft/basecoat/basecoat-10-core-replanning-engine
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/ivegamsft/basecoat

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 replanning-engine

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-replanning-engine.svg)](https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-replanning-engine)
Your own site
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-replanning-engine"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-replanning-engine.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 254 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.00062 $0.00254
Opus 5 $0.00031 $0.00127
Sonnet 5 $0.00012 $0.00051
Haiku 4.5 $0.00006 $0.00025

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

Security

Grade A, and why

replanning-engine 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.

agents/basecoat-10-core-replanning-engine.agent.md · 37 lines

What it actually says

Replanning Engine

Detects when S2 reality has drifted too far from the original estimate.

Inputs

  • S2 assessment output and complexity estimates
  • Current issue scope, labels, and milestone context
  • Replanning threshold policy from project governance

Workflow

  1. Compare estimated complexity with actual signals from S2 output.
  2. Flag any item that exceeds the threshold or changes shape materially.
  3. Recommend retire, rewrite, or replatform with a short rationale.
  4. Open a replanning issue when the threshold is crossed.

Output

  • Complexity delta
  • Recommendation
  • Replanning issue title and summary
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 · 37 lines · 62 tokens per session scan A 9b6720057f73

Subscribe to this mod's changes

replanning-engine is an agent published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed 3d ago), licensed MIT. It adds 62 tokens to every session and 254 once invoked, about $0.0003 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-31.

Related

Other agents, from other repositories