review-code

review-code is an agent for Claude Code from juyamagu/azure-updates-mcp-server. It costs 21 tokens per session (1,768 once invoked), scanned A, original, MIT.

A post-implementation code review agent that examines changes in a Git repository against the feature's plans and requirements. It checks code quality, tests, documentation, and related project artifacts.

In plain words
What is it for?
Use it after implementation to review Git changes, compare them with tasks and specifications, and assess test coverage and documentation consistency.
Why use it?
It helps find gaps between what was planned and what was actually implemented before the work is considered complete.

Agent for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

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 agents/juyamagu/azure-updates-mcp-server/review-code
Clone the repo
git clone --depth 1 https://github.com/juyamagu/azure-updates-mcp-server

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 review-code

README.md
[![agentmods](https://agentmods.dev/badge/agents/juyamagu/azure-updates-mcp-server/review-code.svg)](https://agentmods.dev/agents/juyamagu/azure-updates-mcp-server/review-code)
Your own site
<a href="https://agentmods.dev/agents/juyamagu/azure-updates-mcp-server/review-code"><img src="https://agentmods.dev/badge/agents/juyamagu/azure-updates-mcp-server/review-code.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 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,768 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.1 $0.00021 $0.01768
Opus 5 $0.00010 $0.00884
Sonnet 5 $0.00004 $0.00354
Haiku 4.5 $0.00002 $0.00177

Measured 5d ago against content hash 9af3b9b437cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

review-code 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 5d 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.

.github/agents/review-code.agent.md · 225 lines

How it starts

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

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Outline

  1. Initialize Review Context:

    • Run .specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks from repo root
    • Parse FEATURE_DIR and AVAILABLE_DOCS from output
    • Identify the feature scope and related artifacts
  2. Collect Git Changes:

    • Use get_changed_files to retrieve all staged and unstaged changes
    • Parse the diff output to identify:
      • New files created
      • Modified files
      • Deleted files
      • Lines added/removed per file
    • Categorize changes by type: source code, tests, documentation, configuration
  3. Load Reference Artifacts:

    • REQUIRED: Read tasks.md to understand what was supposed to be implemented
    • REQUIRED: Read spec.md for feature requirements and acceptance criteria
    • IF EXISTS: Read plan.md for architecture and design decisions
    • IF EXISTS: Read contracts/ for API specifications
    • IF EXISTS: Read data-model.md for entity definitions
    • IF EXISTS: Read checklists/ for quality checkpoints
  4. Code Quality Review:

    • Style and Conventions:

      • Check for consistent naming conventions (camelCase, PascalCase, snake_case)
      • Verify proper indentation and formatting
      • Identify unused imports or variables
      • Check for hardcoded values that should be constants/config
    • Code Structure:

      • Verify proper separation of concerns
      • Check for appropriate error handling (try-catch, error types)
      • Identify overly complex functions (>50 lines, high cyclomatic complexity)
      • Verify proper use of async/await patterns
      • Check for proper resource cleanup (connections, streams, timers)
    • Security and Best Practices:

      • Check for exposed secrets or credentials in code
      • Verify input validation and sanitization
      • Check for SQL injection or XSS vulnerabilities
      • Verify proper authentication/authorization checks
      • Check for insecure dependencies or known CVEs

Read the full file on GitHub · 225 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. 5d ago First seen · 225 lines · 21 tokens per session scan A 9af3b9b437cc

Subscribe to this mod's changes

review-code is an agent published in the GitHub repository juyamagu/azure-updates-mcp-server (0 stars, last pushed 8mo ago), licensed MIT. It adds 21 tokens to every session and 1,768 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.