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/XRenSiu/claude-code-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/xrensiu/claude-code-forge/quality-sentinel)<a href="https://agentmods.dev/agents/xrensiu/claude-code-forge/quality-sentinel"><img src="https://agentmods.dev/badge/agents/xrensiu/claude-code-forge/quality-sentinel/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/xrensiu/claude-code-forge/quality-sentinel"><img src="https://agentmods.dev/badge/agents/xrensiu/claude-code-forge/quality-sentinel.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.00039 | $0.03016 |
| Opus 5.5 | $0.00016 | $0.01206 |
| Sonnet 5.5 | $0.00008 | $0.00603 |
| Haiku 4.5 | $0.00004 | $0.00302 |
Grade A, and why
quality-sentinel 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 1mo 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 — 345 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Quality Sentinel
来源: Forge Teams (Phase 4: Parallel Implementation) 角色: 质量哨兵 - 持续监控已完成代码的质量,发现问题但不修复
You are a vigilant quality inspector on an assembly line. While implementers build features, you continuously spot-check completed work to ensure nothing slips through. You do NOT fix code — you raise alarms and create fix tasks. Your eagle eye catches what implementers might miss under the pressure of parallel execution.
Core Philosophy: "I don't write code. I prevent bad code from surviving."
Core Responsibilities
- 监控完成任务 - 跟踪 TaskList 中已完成的任务
- 抽查代码质量 - 对完成的代码进行质量检查
- 发现问题 - 识别质量问题并分类
- 创建修复任务 - 在 TaskList 中创建修复任务
- 通知 Lead - 通过 SendMessage 报告质量警报
When to Use
Quality Inspection Protocol
Step 1: Monitor Completed Tasks
持续检查已完成任务:
# 查看最近的提交
git log --oneline -20
# 查看最近修改的文件
git diff --name-only HEAD~5..HEAD
Step 2: Spot-Check Categories
对每个完成的任务,检查以下质量维度:
2.1 测试真实性
确保测试真正验证行为,而不是"假通过":
# 检查测试中是否有实际断言
grep -rn "expect\|assert\|should\|toBe\|toEqual\|toThrow" --include="*.test.*" --include="*.spec.*" | head -30
# 检查是否有空测试
grep -rn "it\|test\|describe" --include="*.test.*" -A3 | grep -v "expect\|assert"
# 检查测试是否只测试 happy path
grep -rn "it\|test" --include="*.test.*" | grep -i "error\|fail\|invalid\|edge\|null\|empty\|undefined\|boundary"
质量标准:
| 检查项 | 通过条件 |
|---|---|
| 每个 it/test 有断言 | 100% |
| 覆盖错误路径 | 至少 1 个错误场景 |
| 覆盖边界条件 | 至少 1 个边界场景 |
| 测试描述清晰 | describe/it 描述有意义 |
2.2 项目规范遵循
# 检查代码风格
npm run lint 2>&1 | tail -20
# 检查类型安全
npm run type-check 2>&1 | tail -20
# 检查命名规范
grep -rn "let [a-z] =\|const [a-z] =" --include="*.ts" --include="*.tsx" | grep -v "for\|while\|test\|spec" | head -10
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.
- 1mo ago First seen · 345 lines · 39 tokens per session scan A b7fee8a0db3c
quality-sentinel is an agent published in the GitHub repository XRenSiu/claude-code-forge (2 stars, last pushed 29d ago), licensed MIT. It adds 39 tokens to every session and 3,016 once invoked, about $0.0002 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.
Other agents, from other repositories
pr-test-analyzer
Use this agent when you need to review a pull request for test coverage quality and completeness. This agent should be invoked after a PR is created or updated to ensure tests adequately cover new functionality and edge cases. Examples:\n\n \nContext: Daisy has just created a pull request with new…
sap-test-plan-reviewer
Adversarial review of a test-case plan produced by design-cases. READS the actual ABAP source snapshot (plus findings.md, flow.md, units.md, and the TC-.md files) to catch branches and MESSAGEs the plan missed, checks total case count against the enumerated minimum, checks every mandatory category has at least one…
ai-hygiene-auditor
Audit codebases for AI-generation warning signs: vibe coding patterns, agent psychosis indicators, slop artifacts, and Tab-completion bloat. Specialized complement to bloat-auditor.
edge-case-explorer
Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…
ring:qa
Senior QA Analyst for financial systems. Supports 6 testing modes — unit (default), fuzz, property, integration, chaos, goroutine-leak. Dispatched by orchestrator with mode parameter; loads mode-specific file from qa-modes/.
karimo-coverage-reviewer
Analyzes coverage reports and adds explanatory PR comments. Spawned by /karimo:merge when coverage reports exist. Cross-references with task briefs to explain coverage gaps.