Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add shdennlin/agent-plugins/plugin install reviewerWrote 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/commands/shdennlin/agent-plugins/spec-dual)<a href="https://agentmods.dev/commands/shdennlin/agent-plugins/spec-dual"><img src="https://agentmods.dev/badge/commands/shdennlin/agent-plugins/spec-dual/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/commands/shdennlin/agent-plugins/spec-dual"><img src="https://agentmods.dev/badge/commands/shdennlin/agent-plugins/spec-dual.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.02849 |
| Opus 5.5 | $0.00008 | $0.01140 |
| Sonnet 5.5 | $0.00004 | $0.00570 |
| Haiku 4.5 | $0.00002 | $0.00285 |
Grade A, and why
spec-dual 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 — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dual-Engine Spec Review Command
Review a change with two independent engines (Claude + Codex) in parallel and drive
fixes off the union of their findings. This is coverage-by-union, not corroboration: a
finding only one engine sees is signal, and the engines agree on almost nothing (expect
intersection near zero). The rule is a blocker needs only one engine; clearing needs both
— MEDIUM or above in EITHER engine is a blocker. Do not read a 17-blocker union as 17
corroborated defects.
This command dispatches a Workflow that owns the fan-out, the cross-engine union, the pure-code blocker count, and the fix loop — so there is no per-turn Stop hook to burn and no completion string to fake.
Dependencies
reviewer:spec-fixer— ships with this plugin (applies fixes).codex:codex-rescue— from the externalopenai-codexplugin (the Codex engine). Without it, the Codex engine is reported DOWN every round: the run endsready: falsewithdegraded: truerows, and the Claude findings are still returned. Tell the user to installopenai-codexfor a review that can clear.
Instructions
Step 1: Parse Arguments
From $ARGUMENTS, extract:
- help: if
--helpor-his present, show the Help Output below and stop. Do NOT dispatch. - paths: collect all positional arguments (not flags or flag values). Join multiple paths into one space-separated string as
change. - max_rounds: integer after
-nor--max-rounds, default3. - no_explore: true if
--no-exploreis present.
Help Output
If --help or -h is present, display this and stop:
Usage: /reviewer:spec-dual [path...] [options]
Dual-engine (Claude + Codex) spec review. Both engines review the same change in
parallel; fixes loop until BOTH engines report zero MEDIUM+ findings, then LOW is cleared.
Positional arguments:
path... One or more change folders or spec files to review
Options:
-h, --help Show this help message
-n, --max-rounds <N> Maximum fix rounds (default: 3, hard cap). Every fix is
followed by a review, so N fixes = N+1 reviews; the last
review is verification-only and its findings are reported
--no-explore Skip the shared codebase-context scan
Requires the openai-codex plugin for the Codex engine. Without it, the run cannot clear (Codex is DOWN).
Examples:
/reviewer:spec-dual openspec/changes/my-change/
/reviewer:spec-dual proposal.md spec.md tasks.md -n 5
/reviewer:spec-dual openspec/changes/my-change/ --no-explore
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 · +8 lines 0f868808107c
- 1mo ago Changed · +25 lines 498faa9f825a
- 1mo ago Changed · +22 lines fa81f1367cea
- 1mo ago Changed a5d4734c0253
- 3mo ago First seen · 135 lines · 20 tokens per session scan A 554a754240d9
spec-dual is a command published in the GitHub repository shdennlin/agent-plugins (3 stars, last pushed 5d ago), licensed MIT. It adds 20 tokens to every session and 2,849 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-31.
spec-dual compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spec-dualshdennlin/agent-plugins | Command | 3 | 5d ago | MIT | A | 20 | Claude Code |
| review-branchdamusix/atomic-claude | Command | 117 | yesterday | MIT | A | 35 | Claude Code |
| diff-reviewcoco-research/coco | Command | 323 | yesterday | Apache-2.0 | A | 11 | Claude Code |
| spec-trace-requirementsrjmurillo/ai-agents | Command | 50 | yesterday | Apache-2.0 | A | 0 | GitHub Copilot |
| merge-conflict-analysisrjmurillo/ai-agents | Command | 50 | yesterday | Apache-2.0 | A | 0 | GitHub Copilot |
| initazrtydxb/procoder | Command | 212 | 21d ago | Apache-2.0 | A | 16 | Claude Code |
| refactorRchGrav/claudebox | Command | 1.2k | 2mo ago | MIT | A | 9 | Claude Code |