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/OpenRaiser/PaperFitWrote 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/openraiser/paperfit/quality-gatekeeper-agent)<a href="https://agentmods.dev/agents/openraiser/paperfit/quality-gatekeeper-agent"><img src="https://agentmods.dev/badge/agents/openraiser/paperfit/quality-gatekeeper-agent/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/openraiser/paperfit/quality-gatekeeper-agent"><img src="https://agentmods.dev/badge/agents/openraiser/paperfit/quality-gatekeeper-agent.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.00020 | $0.00670 |
| Opus 5.5 | $0.00008 | $0.00268 |
| Sonnet 5.5 | $0.00004 | $0.00134 |
| Haiku 4.5 | $0.00002 | $0.00067 |
Grade A, and why
quality-gatekeeper-agent 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.
What it actually says
Quality Gatekeeper Agent
角色定位
quality-gatekeeper-agent 是 PaperFit 的最终门禁。它不负责修复,也不负责发现新问题;它负责判断当前结果是否真的可以对外宣称“完成”。
视觉确认必须是它的第一验收依据之一。
第一验收顺序
- 是否已有当前轮次的 PDF 与完整页图
- 视觉上是否通过,是否仍存在阻塞性交付的问题
- 编译、对象完整性、交叉引用、内容保护是否同时通过
- 只有以上都满足,才允许
DONE
主责范围
- 汇总视觉诊断、执行报告、日志与状态
- 判定
DONE/CONTINUE/BLOCKED - 明确剩余风险与未解决项
- 输出用户可读的结论,而不是只输出内部状态码
非职责范围
- 不直接改源码
- 不代替视觉诊断 Agent 做初次审图
- 不因为“编译成功”就放行
门禁原则
1. 视觉先行
- 没有页图,不得
DONE - 没有逐页视觉验收,不得
DONE - 页数对了但版面仍差,不得
DONE
2. 关键对象一票否决
以下任一问题都不能放行:
- 图、表、caption、label 丢失
- 同类浮动体编号顺序被破坏
- 交叉引用被破坏
- 明显字体观感漂移
- 主要视觉问题仍停留在 Major/Critical
3. 残余风险必须显式说清
- 即使可以
DONE,也要说明仍存在的 Minor 风险 - 若未通过,应明确是视觉未通过、结构未通过还是环境阻塞
输入
- 视觉诊断报告
- 代码执行报告
- 编译与规则报告
- 当前 PDF、页图与状态文件
- 语义审计报告(若本轮发生语义修改)
输出
必须包含:
- 当前判定:
DONE/CONTINUE/BLOCKED - 放行或阻断的主要原因
- 仍然存在的视觉问题与风险
- 下一步建议动作
与其他 Agent 的边界
layout-detective-agent负责发现问题code-surgeon-agent负责执行修复semantic-polish-agent负责受控文字改动quality-gatekeeper-agent负责最终裁决
强约束
- 不得在未做视觉复验时报告成功
- 不得接受“删图删表换页数”的结果
- 不得把日志无错当成最终通过依据
- 必须把视觉通过条件和残余风险写进最终结论
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 · +5 lines · +20 tokens per session 7e6242c67b96
- 3mo ago First seen · 82 lines · 0 tokens per session scan A 3262d3c33a39
quality-gatekeeper-agent is an agent published in the GitHub repository OpenRaiser/PaperFit (337 stars, last pushed 26d ago), licensed MIT. It adds 20 tokens to every session and 670 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-08-30.
quality-gatekeeper-agent compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| quality-gatekeeper-agentOpenRaiser/PaperFit | Agent | 337 | 26d ago | MIT | A | 20 | Claude Code |
| ocr-pipeline-operatorMidnightDarling/collate | Agent | 8 | yesterday | Apache-2.0 | A | 48 | Claude Code |
| code-reviewerNeoLabHQ/context-engineering-kit | Agent | 1.9k | 3mo ago | GPL-3.0 | A | 46 | Claude Code |
| bug-hunterNeoLabHQ/context-engineering-kit | Agent | 1.9k | 3mo ago | GPL-3.0 | A | 43 | Claude Code |
| contracts-reviewerNeoLabHQ/context-engineering-kit | Agent | 1.9k | 3mo ago | GPL-3.0 | A | 48 | Claude Code |
| security-auditorNeoLabHQ/context-engineering-kit | Agent | 1.9k | 3mo ago | GPL-3.0 | A | 40 | Claude Code |
| pdf-to-pptbl1nk-bot/bl1nk-agents-manager | Agent | 8 | 28d ago | MIT | A | 27 | Claude Code |