speckit.review

speckit.review is a command for Claude Code from opsmill/infrahub-mcp. It costs 26 tokens per session (1,472 once invoked), scanned A, a copy of run, Apache-2.0.

A pull-request review command that coordinates several focused checks of a code change. The checks cover comments, tests, errors, types, and simplification.

In plain words
What is it for?
Use it for a broad pull-request review or request only selected areas, such as test quality, error handling, type correctness, or unnecessary complexity.
Why use it?
It reduces the chance that a review misses a specific class of problem by separating the review into focused areas.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

Good fit Use it for a broad pull-request review or request only selected areas, such as test quality, error handling, type correctness, or unnecessary complexity.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/opsmill/infrahub-mcp/speckit.review
Install

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.

Clone the repo
git clone --depth 1 https://github.com/opsmill/infrahub-mcp

Made for: Claude Code.

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 speckit.review

README.md
[![agentmods](https://agentmods.dev/badge/commands/opsmill/infrahub-mcp/speckit.review.svg)](https://agentmods.dev/commands/opsmill/infrahub-mcp/speckit.review)
Your own site
<a href="https://agentmods.dev/commands/opsmill/infrahub-mcp/speckit.review"><img src="https://agentmods.dev/badge/commands/opsmill/infrahub-mcp/speckit.review.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,472 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 89% copy Near-identical to another mod 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.00026 $0.01472
Opus 5 $0.00013 $0.00736
Sonnet 5 $0.00005 $0.00294
Haiku 4.5 $0.00003 $0.00147

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

Security

Grade A, and why

speckit.review 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 8d 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.

Origin

This is a copy

89% identical to run — 25 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/commands/speckit.review.agent.md · 178 lines

How it starts

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

Comprehensive PR Review

Run a comprehensive pull request review using multiple specialized agents, each focusing on a different aspect of code quality.

Review Aspects (optional): "$ARGUMENTS"

Review Workflow:

  1. Load Configuration

    • Read the project config file at .specify/extensions/review/review-config.yml (if it exists).
    • If the file does not exist, fall back to the defaults.agents section in the extension's extension.yml.
    • Extract the agents map — each key (code, comments, tests, errors, types, simplify) is a boolean toggle.
    • Agents set to false MUST be excluded from this run. Do not launch them.
  2. Determine Review Scope

    • Parse arguments to see if user requested specific review aspects.
    • If specific aspects were requested, run exactly those — config toggles do not apply (explicit user request overrides config).
    • Default (no arguments): Run all applicable reviews that are enabled in config.
  3. Available Review Aspects:

    • comments - Analyze code comment accuracy and maintainability
    • tests - Review test coverage quality and completeness
    • errors - Check error handling for silent failures
    • types - Analyze type design and invariants (if new types added)
    • code - General code review for project guidelines
    • simplify - Simplify code for clarity and maintainability
    • all - Run all applicable reviews (default)
  4. Identify Changed Files

    • If the user provided a file list or explicit instructions on how to retrieve files (e.g., only staged, only unstaged, a specific folder, etc.), follow those instructions directly.
    • Otherwise, fall back to the default: execute the .specify/scripts/bash/detect-changed-files.sh with --json to detect changed files.
      • The script automatically picks the best detection mode:
        • Mode A (feature branch): diffs the current branch against the default branch (main/master) from the merge-base, plus any staged and unstaged changes.
        • Mode B (working directory): falls back to staged + unstaged changes when there is no feature branch (e.g., working directly on the default branch).
      • JSON output: {"branch", "default_branch", "mode", "changed_files": [...]}
    • Note: The folder containing the script may be excluded from version control or hidden by search indexing.

Read the full file on GitHub · 178 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. 8d ago First seen · 178 lines · 26 tokens per session scan A e8e23abcb368

Subscribe to this mod's changes

speckit.review is a command published in the GitHub repository opsmill/infrahub-mcp (10 stars, last pushed yesterday), licensed Apache-2.0. It adds 26 tokens to every session and 1,472 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to run, differing in 25 lines, and is treated as a copy.