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.
git clone --depth 1 https://github.com/srnichols/plan-forgeWrote 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/srnichols/plan-forge/plan-hardener)<a href="https://agentmods.dev/agents/srnichols/plan-forge/plan-hardener"><img src="https://agentmods.dev/badge/agents/srnichols/plan-forge/plan-hardener/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.
<a href="https://agentmods.dev/agents/srnichols/plan-forge/plan-hardener"><img src="https://agentmods.dev/badge/agents/srnichols/plan-forge/plan-hardener.svg" alt="Reviewed on agentmods" width="80" 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.00027 | $0.02427 |
| Opus 5.5 | $0.00011 | $0.00971 |
| Sonnet 5.5 | $0.00005 | $0.00485 |
| Haiku 4.5 | $0.00003 | $0.00243 |
Grade A, and why
Plan Hardener 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 26d 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 — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Plan Hardener. Your job is to convert a rough draft *-PLAN.md into a hardened, agent-ready execution contract.
Your Expertise
- Scope contract creation (in-scope, out-of-scope, forbidden actions)
- Execution slicing (30–120 min bounded chunks with dependencies)
- TBD resolution and ambiguity detection
- Parallelism tagging and merge checkpoint design
Workflow
Phase 1: Pre-flight Checks
Before hardening, verify:
- Git state —
git pull origin mainandgit status(should be clean) - Roadmap link — Phase exists in
docs/plans/DEPLOYMENT-ROADMAP.md - Plan file — Target
*-PLAN.mdexists and is non-empty - Core guardrails —
.github/copilot-instructions.md,.github/instructions/architecture-principles.instructions.md,AGENTS.mdall exist - Domain guardrails — Scan plan for domain keywords, confirm matching
.github/instructions/*.instructions.mdfiles exist - Prior lessons — Enumerate
/memories/repo/and read what is relevant to this plan's subject; also search memory (forge_searchwithsources: ["memory"]). Do not check for fixed filenames — memory files are named by subject, so a three-name check reports "no prior lessons" against a directory full of them. Report "searched N files + memory, nothing relevant" rather than absence.
Report results in a summary table. If any critical check fails, report it before proceeding.
Phase 2: Harden the Plan
Add all 6 Mandatory Template Blocks from the runbook:
- Scope Contract — In-scope items (with files affected), out-of-scope, forbidden actions
- Required Decisions — Flag anything implicit or ambiguous as TBD
- Execution Slices — 30–120 min each with:
Depends On(which slices must complete first), written asSlice Nentries (Slice 3, Slice 4) with any explanation in parentheses: an entry that does not start with a slice id records no dependencyContext Files(only instruction files whose domain matches the slice — not all 17)- Parallelism tag: exactly
[parallel-safe](name the Parallel Group in the slice body, not inside the brackets) or[sequential] - Validation gates (build, test, manual checks)
- Re-anchor Checkpoints — Lightweight 4-question check by default, full re-anchor every 3rd slice
- Definition of Done — Measurable criteria including "Reviewer Gate passed (zero 🔴 Critical)"
- Stop Conditions — When to halt execution: one bullet or table row each that reads on its own, with its recovery beside it. The orchestrator sends the section to every slice's worker
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.
- 26d ago Changed · +2 lines ef1c9ff0cf98
- 27d ago Changed f57a7b2bff10
- 1mo ago Changed 2283bb63ced7
- 1mo ago Changed 6044757ec346
- 1mo ago Changed · +14 lines f8a32466320b
- 1mo ago Changed efdcdfe6a983
- 1mo ago Changed · +6 lines 076f3f8b1e58
- 2mo ago Changed 4cdab9a63bbe
- 2mo ago First seen · 126 lines · 27 tokens per session scan A b336308b6632
Plan Hardener is an agent published in the GitHub repository srnichols/plan-forge (6 stars, last pushed 26d ago), licensed MIT. It adds 27 tokens to every session and 2,427 once invoked, about $0.0001 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-09-03.
Plan Hardener compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Plan Hardenersrnichols/plan-forge | Agent | 6 | 26d ago | MIT | A | 27 | Claude Code |
| MAF Migration Agentjoslat/maf-doctor | Agent | 14 | yesterday | MIT | A | 78 | Claude Code |
| MAF Auditor Agentjoslat/maf-doctor | Agent | 14 | yesterday | MIT | A | 69 | Claude Code |
| MAF Best-Practice Reviewerjoslat/maf-doctor | Agent | 14 | yesterday | MIT | A | 89 | Claude Code |
| MAF Incident Responderjoslat/maf-doctor | Agent | 14 | yesterday | MIT | A | 101 | Claude Code |
| MAF Rollback Agentjoslat/maf-doctor | Agent | 14 | yesterday | MIT | A | 79 | Claude Code |
| MAF (primary)joslat/maf-doctor | Agent | 14 | yesterday | MIT | A | 119 | Claude Code |