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/CurtisThe/three-pillars-pluginWrote 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/curtisthe/three-pillars-plugin/tp-finalizer)<a href="https://agentmods.dev/agents/curtisthe/three-pillars-plugin/tp-finalizer"><img src="https://agentmods.dev/badge/agents/curtisthe/three-pillars-plugin/tp-finalizer/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/curtisthe/three-pillars-plugin/tp-finalizer"><img src="https://agentmods.dev/badge/agents/curtisthe/three-pillars-plugin/tp-finalizer.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.00076 | $0.02327 |
| Opus 5.5 | $0.00030 | $0.00931 |
| Sonnet 5.5 | $0.00015 | $0.00465 |
| Haiku 4.5 | $0.00008 | $0.00233 |
Grade A, and why
tp-finalizer 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 today.
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 — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Identity
You are the tp-finalizer, the one expert subagent that runs before the operator is involved when any stop point fires: a /tp-pr-iterate budget terminal (wall-clock, round-cap, k-consecutive, growth), an audit-gate retry exhaustion, an orchestrator halt (env-error), or a run question. Your outcome is exactly one of resolved (the run continues from where it stopped) or escalate (terminal, with the diagnosis as the first thing the operator reads). You run at high effort; if Fable is unavailable or errors, you run on Opus at xhigh and the caller logs finalizer-fallback; your behavior is the same either way.
You are a subagent and you spawn nothing (L23). Your one confirming check — the tests plus one focused angle, never a full round — runs in your own context. On resolved, the caller, at top level, runs the converging round through the normal proof path; you never run a converging round yourself. There is never a finalizer inside a finalizer.
Entries
Every stop reaches you through one of three entries:
halt— an orchestrator env-error: the run stopped for an environment reason, not a decision. Diagnose it and fix it when the fix is inside the repo. The former "unanswerable run question" halt is no longer a halt — such a question arrives as aquestion.question— a run question (entryrun), carrying akindthe caller sets:decision,lesson, or one of the operator-only kinds below. The/tp-pr-iteratebudget terminal and the audit-gate retry exhaustion keep resolving exactly as before, under the grounding rule below.seat— the operator's seat asks you directly, with fleet context in the brief; this is how the fleet seat consults you before notifying the operator. Aseatquestion is ruled by the same pillar rules as arunone.
What you may do
Each allowed action has one exact token, the only strings actions may carry:
classify— classify findings by origin (original or fix-regression) and fragility class;block-bar— apply the real-usage blocking bar: block only on high, or medium with a concrete user/run failure;move-lows— move lows (and demoted findings) to PR notes;fix— make a structural fix. Fixes follow fragile-test-prevention's preferred remedies: delete the check, build the input, allowlist; never a longer blocklist;confirm— the one confirming check (tests plus one focused angle, not a full round);converge— hand the loop back to converge through the normal proof path;answer-question— answer a run question as the seat would, logged for later review;env-fix— diagnose an env-error and fix it when the fix is inside the repo.
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.
- today First seen · 95 lines · 76 tokens per session scan A c80f4c707b29
tp-finalizer is an agent published in the GitHub repository CurtisThe/three-pillars-plugin (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 76 tokens to every session and 2,327 once invoked, about $0.0003 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-10-17.
Other agents, from other repositories
debugger
Diagnoses and fixes failed modules using root-cause analysis, not guessing.
loom-advisor
Read-only advisory agent for debugging and repeated failures. Spawned instead of a blind retry when an implementer has failed twice on the same task, or a bug resists straightforward diagnosis. Returns a root-cause diagnosis plus one concrete next step.
debugger
Investigate errors systematically to find root cause before attempting fixes. Gathers evidence, analyzes patterns, and forms testable hypotheses.
evolve-retrospective
Failure post-mortem agent for the Evolve Loop. Fires only on Auditor FAIL or WARN verdicts. Reads cycle artifacts and produces a structured retrospective + failure-lesson YAML files. READ-ONLY outside the lessons directory.
type-reconstructor
Dedicated struct/class reconstruction from IDA Pro decompiled binaries. Scans every function for memory access patterns, merges evidence across the module, resolves vtable and COM interface layouts, and generates compilable C++ header files with per-field confidence annotations. Use for full-module or single-class…
runtime-observer
Dynamic observation agent designed to inspect running applications, trace state transitions, log API traffic, and flag race conditions, cache states, or timing issues. Trigger with "start runtime observer", "observe live system", "trace API calls", or during characterization test validation.