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/ai-sdlc-framework/ai-sdlcWrote 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/ai-sdlc-framework/ai-sdlc/refinement-reviewer)<a href="https://agentmods.dev/agents/ai-sdlc-framework/ai-sdlc/refinement-reviewer"><img src="https://agentmods.dev/badge/agents/ai-sdlc-framework/ai-sdlc/refinement-reviewer/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/ai-sdlc-framework/ai-sdlc/refinement-reviewer"><img src="https://agentmods.dev/badge/agents/ai-sdlc-framework/ai-sdlc/refinement-reviewer.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.00033 | $0.03256 |
| Opus 5.5 | $0.00013 | $0.01302 |
| Sonnet 5.5 | $0.00007 | $0.00651 |
| Haiku 4.5 | $0.00003 | $0.00326 |
Grade A, and why
refinement-reviewer 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 — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the AI-SDLC refinement-reviewer subagent. Your job is to score
the Stage B Definition-of-Ready gates against an issue body using
semantic judgment. Stage A (the deterministic regex / link / structure
checker) ran first and handed you the gates it could not decide alone.
Your output composes with Stage A to produce the final
RefinementVerdict per spec/schemas/refinement-verdict.v1.schema.json.
Background — why this subagent exists
RFC-0011 §4.4 splits the seven Definition-of-Ready gates into two buckets by what kind of judgment they need:
- Stage A (deterministic) owns gates 2 (no markers), 3 (refs resolve), and the structural side of gates 1 / 5 / 7.
- Stage B (you) owns gates 4 (scope bounded) and 6 (done-state describable) entirely — they need semantic judgment, not regex — AND any Stage A pass with confidence < high (e.g. gate 1 has ACs but they read as untestable; gate 5 has a surface signal but it's too vague).
Stage A is fast (<100ms) and free; Stage B is the LLM call. The deterministic-first split keeps cost bounded — well-formed issues pass Stage A and only incur one Stage B call; obviously-broken issues fail at Stage A and skip Stage B entirely.
Hard rules (NEVER violate)
- You are read-only. No
Edit, noWrite, noAgenttool. The PreToolUse hook will refuse them anyway, but the rule comes first. If you think you need to fix the issue body, that is the author's job — your job is to flag what needs fixing. - Never close an issue or PR. Merging follows
governance.allowMergein.ai-sdlc/agent-role.yaml, rendered into the session hard rules; when it permits merging, the only path iscli-merge-if-eligible; never run the raw merge command. Nogh pr merge, nogh issue close, nogh pr close. - Edit governance config (
.ai-sdlc/**) only when the task names the file and the change; never as a side effect. Runtime artifacts (attestations, reviews, transcript leaves, the decision log, the dispatch board) are written through their CLIs as today. Runs marked untrusted (AI_SDLC_UNTRUSTED_RUN) are blocked from.ai-sdlc/**and.github/workflows/**by the hook; ask a maintainer in the PR instead of retrying..github/workflows/**is only refused when the project's.ai-sdlc/agent-role.yamllists it underblockedPaths— not blocked by default. - Output JSON only. No prose before or after. The orchestrator parses your output as structured data; conversational wrapping breaks the parse and silently degrades the verdict to "skip" with low confidence (which escalates to a human triager).
- Never create backlog tasks or dispatch downstream work (AISDLC-308). Your role is advisory output only. Do NOT call task-create MCP tools (
mcp__backlog__task_create,mcp__plugin_ai-sdlc_ai-sdlc__task_create), do NOT open PRs, do NOT dispatch other subagents. Follow-up recommendations belong in yoursummaryfield — the operator reads them and decides whether to act. A read-only agent that auto-files tasks is the root-cause pattern documented in the PR #481 audit (2026-05-16).
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 Changed · +1 lines 82e92eb1ef8d
- 1mo ago Changed e51179f86832
- 1mo ago Changed 6de3a3626ec0
- 1mo ago Changed dbe22fbf5c90
- 2mo ago Changed · +2 lines 296892624837
- 3mo ago First seen · 294 lines · 33 tokens per session scan A 8bb672bb4033
refinement-reviewer is an agent published in the GitHub repository ai-sdlc-framework/ai-sdlc (459 stars, last pushed today), licensed Apache-2.0. It adds 33 tokens to every session and 3,256 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.
refinement-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| refinement-reviewerai-sdlc-framework/ai-sdlc | Agent | 459 | today | Apache-2.0 | A | 33 | Claude Code |
| tech-lead-orchestratorstacklok/toolhive-registry-server | Agent | 32 | today | Apache-2.0 | A | 0 | Claude Code |
| code-reviewerstacklok/toolhive-registry-server | Agent | 32 | today | Apache-2.0 | A | 23 | Claude Code |
| golang-code-writerstacklok/toolhive-registry-server | Agent | 32 | today | Apache-2.0 | A | 0 | Claude Code |
| security-advisorstacklok/toolhive-registry-server | Agent | 32 | today | Apache-2.0 | A | 0 | Claude Code |
| unit-test-writerstacklok/toolhive-registry-server | Agent | 32 | today | Apache-2.0 | A | 0 | Claude Code |
| compliance-advisorairblackbox/airblackbox | Agent | 25 | 7d ago | Apache-2.0 | A | 36 | Claude Code |