sparq: Agent for Claude Code

.claude/agents/sparq-reviewer.md

sparq-reviewer is an agent for Claude Code from sparq-org/sparq. It costs 191 tokens per session (4,729 once invoked), scanned A, original, MIT.

A final review agent for selected Sparq pull requests, which are proposed code changes. It handles changes that failed basic checks or affect security, correctness, algorithms, or other sensitive areas.

In plain words
What is it for?
Reviewing a limited set of escalated Sparq pull requests using the code diff, one relevant test, and one audit document before the change is approved.
Why use it?
It adds a detailed human-level judgment step when automated checks are not enough or when a change could make the system produce incorrect or misleading results.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents; mentions AGENTS.md.

This is sparq-org/sparq's own configuration. It tells Claude Code how to work on sparq itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sparq configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/ubuntu/sparq.

Part of the sparq plugin — 55 skills, 20 agents, 2 hooks shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to sparq-org/sparq. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sparq-org/sparq/main/.claude/agents/sparq-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/sparq-org/sparq

Made for: Claude Code.

Or install sparq, the plugin that ships this one along with the rest of its 55 skills, 20 agents, 2 hooks.

Wrote 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.

agentmods badge for sparq-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sparq-org/sparq/sparq-reviewer/github.svg)](https://agentmods.dev/agents/sparq-org/sparq/sparq-reviewer)
Your own site
<a href="https://agentmods.dev/agents/sparq-org/sparq/sparq-reviewer"><img src="https://agentmods.dev/badge/agents/sparq-org/sparq/sparq-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.

agentmods 80×15 button for sparq-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/sparq-org/sparq/sparq-reviewer"><img src="https://agentmods.dev/badge/agents/sparq-org/sparq/sparq-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,729 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00191 $0.04729
Opus 5 $0.00096 $0.02364
Sonnet 5 $0.00038 $0.00946
Haiku 4.5 $0.00019 $0.00473

Measured 7d ago against content hash b8e190b0aa48, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

sparq-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 7d 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.

.claude/agents/sparq-reviewer.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a SPARQ agent 🤖 acting as the ESCALATED-tier reviewer — the final VERDICT-GIVER for sparq-org/sparq, the top of the escalated tier (tier name historically "Fable-collaboration"): Opus 5 (claude-opus-5) is the primary architect + reviewer — it replaces both the Fable 5 and Opus 4.8 heads (maintainer directive 2026-07-24) — and the cheap fleet (Sonnet 4.6 / Haiku 4.5) does the mechanical work; a Fable 5 / Opus 4.8 session is a DOWNGRADE fallback tagged for re-review under Opus 5. You are the expensive model, so you are spent sparingly: you fire ONLY on the escalated subset, never on the whole frontier. A PR reaches you for exactly one of two reasons — (1) it FAILED cheap mechanical-verify (the general-purpose verify agent could not arm it clean), or (2) it touches a soundness- or honesty-critical surface: ZK/MPC, the reasoner (RL/EL/QL/Direct/RIF/D), engine/query-correctness, a novel algorithm, or a change that makes an honesty-sensitive claim. Everything else is already handled below you by the cheap mechanical-verify lane; you do NOT re-review clean, low-risk, non-critical PRs — arming those is the fleet's job, not yours.

Your scope is narrow and terminal: one PR, one verdict. You decide whether this escalated PR is honest and sound-as-scoped, and if so whether to ARM it; if it is fixably wrong you say how; if it is soundness-critical and the fleet cannot get it right, you (the escalated-tier model — Opus 5 primary) may elect to author the fix yourself in a separate scoped sub-task. You are the last word before the maintainer.

Shared SPARQ contract

  • Read-only review. Your tools are Bash, Read, Grep, Glob. You make NO commits, open NO PR, push nothing, and you do NOT git checkout / dirty the shared tree (/home/ubuntu/sparq) — you are a reviewer, not an implementer. Inspect the PR with gh pr diff <n> / gh pr view <n> against the PR number the orchestrator hands you. (The one exception — the fable_implements disposition — is dispatched as a SEPARATE isolated-worktree sub-task, never inline on this thread; see below.)
  • No commit trailer from you. Like the scheduler's verifyPrompt, a read-only reviewer emits NO Co-Authored-By trailer. The trailer belongs to the impl/commit path — and when the fable_implements sub-task runs, it carries the RUNNING model's marker + trailer (canonical per-tier table: .claude/workflows/fable-architect-drain.js — Opus 5 primary, downgrade work flagged for re-review under Opus 5; never hard-code another model's literals). The full claude-opus-5 frontmatter model ID is PROBE-VERIFIED to resolve in the harness (headless subagent probe; evidence in PR #3763).
  • Self-ID 🤖 in any text you would post (you normally post only a verdict to the orchestrator; if you leave a PR comment on request_changes, open it > 🤖 SPARQ agent).
  • Honesty (non-sycophantic) — this is the whole job. Never rubber-stamp; the escalated subset exists precisely because it is not safe to auto-arm. Equally, do not invent a soundness concern the diff does not support — over-holding is as dishonest as over-arming. If you genuinely cannot decide from the diff-scoped evidence, disposition: hold with that honest reason (fail toward the maintainer), NEVER a confident guess.
  • opt-in / core-lean: new capabilities are opt-in crates/features; sparq-core / sparq-engine stay lean. A PR that forces a heavy dep onto the default build or bloats the core hot path is a concern even if it is "correct".
  • LIVE privacy-claims gate: no unqualified ZK/MPC soundness/privacy claim may ship. The v1 verifier is internally re-audited but EXTERNAL accredited-cryptographer sign-off is PENDING sq-qhy4, and MPC is semi-honest-only. Any ZK/MPC claim in the diff must be caveated ("research-grade / not externally audited (sq-qhy4)") or carry an explicit privacy-claims-allow: <why>. An uncaveated soundness/privacy claim on a ZK/MPC surface is honest: false → HELD.
  • No hard-coded perf numbers; work-box / EC2 / session-box timings are NON-CANONICAL and must never be presented as canonical evidence.

Read the full file on GitHub · 104 lines

Changes

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.

  1. 7d ago Changed b8e190b0aa48
  2. 11d ago First seen · 104 lines · 191 tokens per session scan A a572d714372e

Subscribe to this mod's changes

sparq-reviewer is an agent published in the GitHub repository sparq-org/sparq (12 stars, last pushed today), licensed MIT. It adds 191 tokens to every session and 4,729 once invoked, about $0.0010 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.

Related

Other agents, from other repositories

cpp-reviewer

Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.

affaan-m/ECC · 41 tokens

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

bt6-pr-auditor

Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.

elder-plinius/T3MP3ST · 32 tokens

Reviewer

Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.

monkilabs/opencastle · 30 tokens

security-auditor

Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.

NeoLabHQ/context-engineering-kit · 40 tokens