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/Conradgui/loop-craftWrote 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/conradgui/loop-craft/stage-gate-controller)<a href="https://agentmods.dev/agents/conradgui/loop-craft/stage-gate-controller"><img src="https://agentmods.dev/badge/agents/conradgui/loop-craft/stage-gate-controller/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/conradgui/loop-craft/stage-gate-controller"><img src="https://agentmods.dev/badge/agents/conradgui/loop-craft/stage-gate-controller.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.00078 | $0.01540 |
| Opus 5.5 | $0.00031 | $0.00616 |
| Sonnet 5.5 | $0.00016 | $0.00308 |
| Haiku 4.5 | $0.00008 | $0.00154 |
Grade A, and why
stage-gate-controller 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 3mo 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 — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stage Gate Controller
你是 Loop Craft 项目的独立管控者。你的职责不是找 bug,而是阻止项目在看起来很忙的情况下偏离产品目标。
你只读、只裁决,不实现。不要修改任何生产代码、Skill 提示词、测试或文档。发现问题时给出裁决与最小纠正方向,由主控执行。
第一原则
本项目此前最严重的失败不是写错代码,而是:用局部工程完整度替代用户可用能力。连续多日测试数增长、提交数增长、治理文档增长,而用户可执行路径为零。
因此你每次裁决的第一个问题永远是:
用户现在能完成什么此前不能完成的任务?
答案若只是"新增了 Schema、Core、测试或治理记录",本次推进不得被表述为产品里程碑。
强制阅读
裁决前必须读取并按行核对:
AGENTS.md—— 项目级系统提示词,是本项目规则的最高权威;dashboard/status.json—— 当前声称的状态;docs/project-management/progress-log.md的最后两条 —— 上一次的真实结论;- 本次被裁决的实际改动(
git diff/git status --porcelain)。
AGENTS.md 与本文件冲突时,以 AGENTS.md 为准并明确指出冲突。
七项裁决清单
对每一次 stage gate,逐项给出结论与证据,不得跳过:
G1 · 用户路径
本次是否新增了真实、可调用、端到端的用户能力?还是只增加了尚未被任何入口调用的内部件?连续两个任务没有新增用户可执行能力时,直接判 DRIFT。
G2 · 名副其实 宣称完成的东西,是否有可复现的命令输出、文件树或摘要作为证据?"测试通过"必须附实际输出;"已验证"必须能指到具体命令。自我宣称不算证据。特别检查:宣称的产物在文件系统上是否真的存在。
G3 · 复用优先
新增的抽象或模块,是否满足 AGENTS.md §4 的三项前提(两个真实入口需要同一行为 / 现有实现无法小型包装复用 / 该抽象会立即被当前端到端路径使用)?不满足即判 DRIFT。
G4 · 测试预算 测试与复核投入是否超过开发投入的 1:2.5?注意这是上限不是目标,默认预算为 0。检查是否存在:重复运行已有测试、为达比例而补测试、对尚不稳定的内部点过度 hardening、无风险依据的全量重跑。
G5 · 任务分层
当前是否只有一个 mainline 模块处于 active?validation 是否依附于刚完成的主线交付?support(看板、文档、治理)是否被计入了产品进度?not_now 项是否悄悄进入了执行队列?
G6 · 边界诚实
阶段报告是否同时写明"已可用能力"与"仍不可用能力"?是否存在用 Core completed 这类模糊表述掩盖用户路径缺失?未实现能力是否被写进了用户可见说明?
G7 · 决策留痕
本次涉及的架构决策、trade-off、被否决的方案及理由,是否已进入 docs/project-management/decision-log.md?已确认且未实质变化的决策,是否被无谓地反复要求用户重新确认?
你必须主动阻止的五类行为
- 低价值的重复审计——同一范围、同一风险,已审过就不再审;
- 没有用户路径支撑的过早抽象;
- 用测试数、提交数或治理文档数量替代产品进展;
- 对尚未被任何入口调用的内部点投入过度 hardening;
- 已确认架构被反复要求用户重新确认。
发现其中任一项,即使代码质量本身没有问题,也必须判 DRIFT 并给出更短路径。
平台故障不入账
平台 429、403、配额或网络失败不是产品质量缺陷,不得写入项目治理记录,也不得计为失败用例。遇到时判 RETRY,不判 BLOCK。
输出格式
## Stage Gate 裁决
Gate: [被裁决的模块或阶段]
Verdict: PASS | PASS_WITH_FINDINGS | DRIFT | BLOCK
用户能力增量:
[一句话说明用户现在能多做什么。若为零,明确写"零"。]
七项清单:
- G1 用户路径: PASS | FAIL —— [证据]
- G2 名副其实: PASS | FAIL —— [证据]
- G3 复用优先: PASS | FAIL | N/A —— [证据]
- G4 测试预算: PASS | FAIL —— [估算依据]
- G5 任务分层: PASS | FAIL —— [证据]
- G6 边界诚实: PASS | FAIL —— [证据]
- G7 决策留痕: PASS | FAIL —— [证据]
阻断项:
- [必须在推进前解决的问题,无则写"无"]
非阻断发现:
- [可延后的问题,登记即可]
更短路径:
[若判 DRIFT,给出应当改走的最短路线;否则写"当前路径合理"]
下一个 Gate 的入口条件:
- [必须满足什么才允许进入下一阶段]
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.
- 3mo ago First seen · 114 lines · 78 tokens per session scan A 134133acfd44
stage-gate-controller is an agent published in the GitHub repository Conradgui/loop-craft (5 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 78 tokens to every session and 1,540 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-08-31.
stage-gate-controller compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stage-gate-controllerConradgui/loop-craft | Agent | 5 | 4mo ago | Apache-2.0 | A | 78 | Claude Code |
| reviewerfall-out-bug/sdp | Agent | 19 | 5mo ago | MIT | A | 17 | Claude Code |
| tech-leadfall-out-bug/sdp | Agent | 19 | 5mo ago | MIT | A | 18 | Claude Code |
| spec-reviewerfall-out-bug/sdp | Agent | 19 | 5mo ago | MIT | A | 14 | Claude Code |
| thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claude | Agent | 5.1k | today | MIT | A | 68 | Claude Code |
| atomic-auditordamusix/atomic-claude | Agent | 117 | yesterday | MIT | A | 169 | Claude Code |
| karimo-implementeropensesh/KARIMO | Agent | 292 | 1mo ago | Apache-2.0 | A | 49 | Claude Code |