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.
npx agentmods add agents/xrensiu/claude-code-forge/quality-sentinelgit clone --depth 1 https://github.com/XRenSiu/claude-code-forgeWhat 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 | $0.00039 | $0.03016 |
| Opus 5 | $0.00019 | $0.01508 |
| Sonnet 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 2d 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.
- 2d 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 1mo ago), licensed MIT. It adds 39 tokens to every session and 3,016 once invoked, about $0.0002 per session on Opus 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
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.