result

A command for checking code changes against one or more specifications by examining the Git diff, which is the record of changes in a code repository.

In plain words
What is it for?
Use it to review selected specification files against a branch comparison, or to run repeated review-and-fix rounds with configurable review angles.
Why use it?
It helps find missing requirements, mismatches, and bugs before the work is considered complete.

Command

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.

agentmods
npx agentmods add commands/shdennlin/agent-plugins/result
Clone the repo
git clone --depth 1 https://github.com/shdennlin/agent-plugins
Per session 19 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,493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00019 $0.01493
Opus 5 $0.00010 $0.00746
Sonnet 5 $0.00004 $0.00299
Haiku 4.5 $0.00002 $0.00149

Measured yesterday against content hash c0b53be45f6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

result 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 yesterday.

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.

plugins/reviewer/commands/result.md · 169 lines

How it starts

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

Result Review Command

Review implementation against a spec by analyzing git diffs and cross-referencing with spec requirements.

Arguments

Parse the following from $ARGUMENTS:

  • [path...] — One or more spec file or folder paths (positional args)
  • --base or -b — Branch to compare against (e.g., develop, main). Uses <base>...HEAD
  • --fix — Enable iterative review → fix loop with parallel multi-angle review
  • --fix-all — Auto-fix all severities including critical/high (implies --fix)
  • --no-parallel — Disable parallel multi-angle review (requires --fix)
  • --parallel <angles> — Custom review angles, comma-separated (requires --fix)
  • -n <N> or --max-iterations <N> — Maximum iteration rounds, default 3 (requires --fix)
  • --help or -h — Show usage information and exit

Instructions

Step 1: Parse Arguments

From $ARGUMENTS, extract:

  1. help: if --help or -h is present, show the usage information below and stop. Do NOT delegate to the agent.
  2. paths: collect all positional arguments (not flags or flag values)
  3. base: value after --base or -b (if provided)
  4. fix: true if --fix is present, or if --fix-all is present
  5. fix_all: true if --fix-all is present
  6. no_parallel: true if --no-parallel is present
  7. angles: value after --parallel (comma-separated string), or "default" if not provided
  8. max_iterations: integer value after -n or --max-iterations, default 3

Help Output

If --help or -h is present, display this and stop:

Usage: /reviewer:result [path...] [options]

Review implementation against a spec using git diffs.

Positional arguments:
  path...                       Spec files or folders to review against

Options:
  -b, --base <branch>           Compare <branch>...HEAD (default: auto-detect)
  -h, --help                    Show this help message

Diff strategy:
  With --base:                  git diff <base>...HEAD
  Without --base:               Auto-detect base branch, or use git diff + git diff --cached

Fix mode options:
  --fix                         Enable iterative review → fix loop
  --fix-all                     Auto-fix all severities (implies --fix)
  --no-parallel                 Use single-agent review instead of multi-angle parallel
  --parallel <angles>           Custom review angles (comma-separated)
                                Default angles: coverage, robustness, correctness
  -n, --max-iterations <N>      Maximum rounds (default: 3)

Examples:
  /reviewer:result docs/plans/auth-flow/
  /reviewer:result spec.md tasks.md --base develop
  /reviewer:result docs/plan/ -b main
  /reviewer:result                                    # asks which spec to review

  # Iterative review + auto-fix (default: 3 rounds, parallel multi-angle)
  /reviewer:result docs/plan/ --fix

  # With base branch, single-agent, max 5 rounds
  /reviewer:result docs/plan/ --fix --base main --no-parallel -n 5

  # Fix all severities (implies --fix)
  /reviewer:result docs/plan/ --fix-all

  # Custom angles, fix all severities
  /reviewer:result docs/plan/ --fix-all --parallel "security,coverage"

Read the full file on GitHub · 169 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. yesterday First seen · 169 lines · 19 tokens per session scan A c0b53be45f6c

Subscribe to this mod's changes

result is a command published in the GitHub repository shdennlin/agent-plugins (2 stars, last pushed 8d ago), licensed MIT. It adds 19 tokens to every session and 1,493 once invoked, about $0.0001 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.