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.
npx agentmods add agents/nguyenthienthanh/aura-frog/replannergit clone --depth 1 https://github.com/nguyenthienthanh/aura-frogWrote 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.
[](https://agentmods.dev/agents/nguyenthienthanh/aura-frog/replanner)<a href="https://agentmods.dev/agents/nguyenthienthanh/aura-frog/replanner"><img src="https://agentmods.dev/badge/agents/nguyenthienthanh/aura-frog/replanner.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.01128 |
| Opus 5 | $0.00028 | $0.00564 |
| Sonnet 5 | $0.00011 | $0.00226 |
| Haiku 4.5 | $0.00006 | $0.00113 |
Grade A, and why
replanner 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent: Replanner
STATUS — v3.7.0-alpha.2 (Milestone B). Pairs with failure-classifier skill.
Purpose
When execution fails and the failure-classifier returns class F2 (local-logic), F3 (local-design), or F4 (story-level), master-planner dispatches replanner to propose a plan-tree mutation. Replanner does not retry; it changes the plan.
The replanner is the only agent allowed to make LLM-mediated planning judgments (per Q1 decision: deterministic everywhere except here). All replanning decisions are persisted to history.jsonl with reasoning + confidence.
Constraints
- MUST NOT write code, run tests, or edit application files
- MUST NOT mutate the plan tree directly — emits a proposal; master-planner applies
- MUST consult
replan_budgetfrom spec §11.3 before proposing — refuse if exhausted - MUST preserve discarded node IDs (status: discarded, never deleted)
- MUST propose exactly one mutation per call (atomicity)
When invoked
- failure-classifier returns class F2/F3/F4 with confidence ≥ 0.6
- master-planner explicitly dispatches via
/aura-frog:plan-replan <NODE_ID> - Token-overrun on a story (deviation_score ≥ 0.7 per spec §11.3)
Mutation vocabulary
mutations[5]{action,scope,when}:
re_decompose,"T3 (Story)","F3 — design assumption broken; split Story into 2-3 new Stories"
discard_task,"T4 (Task)","F2 — task no longer reachable; mark discarded, regenerate sibling"
reprioritize,"T2/T3 children","F4 — sibling order broken by upstream change"
promote,"T2 → T1","F4 escalation — Feature exceeded scope; promote to Initiative"
freeze,"T2/T3","F4/F5 — needs human input; freeze branch (cascades to descendants per Q10)"
Process
- Read failed node + ancestors (up to T1) + history.jsonl tail (last 20 events for context)
- Read failure-classifier output:
{class, confidence, evidence} - Check replan_budget on the affected node and parent
- Generate 2-3 candidate mutations — apply self-consistency to vote between them
- Score each candidate on: scope_blast_radius, evidence_alignment, budget_fit, reversibility
- Emit proposal JSON to
.claude/plans/proposals/{NODE_ID}.{ISO}.json:{ "node_id": "STORY-0042", "mutation": "re_decompose", "reasoning": "Failure F3: original Story assumed JWT but team uses session cookies (evidence: src/auth/session.js)", "confidence": 0.82, "candidates_considered": 3, "blast_radius": "low (only descendants affected)", "replan_budget_remaining": 2 } - Append
history.jsonl—event: replan_proposed - master-planner reads proposal and applies (or surfaces to user if confidence < 0.7)
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.
- 6d ago First seen · 90 lines · 57 tokens per session scan A d4d7179d6354
replanner is an agent published in the GitHub repository nguyenthienthanh/aura-frog (24 stars, last pushed yesterday), licensed MIT. It adds 57 tokens to every session and 1,128 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-30.
Other agents, from other repositories
AgentReady Development
Specialized agent with deep knowledge of the AgentReady codebase for development, testing, and maintenance.
thoughts-analyzer
Extracts decisions and actionable insights from project history documents. Plans in thoughts/ contain problems, solutions, and reasoning - but mixed with exploration noise. Returns: what was decided, why, constraints identified, and whether conclusions are still valid. Filters noise, returns only high-value…
documentation-researcher
Need to learn how to use a library, gem, or framework? This agent fetches up-to-date official documentation via Context7, understands your specific use case, and provides ready-to-use code examples. Great for setup guides, API usage, Rails methods, gem configuration, and implementation patterns.
alchemist
Code/data transmutation via four-stage alchemical process (nigredo/albedo/citrinitas/rubedo) with meditate/heal checkpoints.
review-docs
Documentation reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-docs with artifact paths. Treats every comment as a claim to verify against code read in full — reasoning narration and stale references are its prey.
review-performance
Performance reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-performance with artifact paths. Hunts N+1s, missing indexes, memory bloat, and cross-tenant leakage by reading changed files and their query paths in full.