review

review is a command for Claude Code from dansasser/claude-code-marketplace. It costs 0 tokens per session (932 once invoked), scanned A, original, MIT.

A command that reviews a file or directory by coordinating Ollama agents, which are locally run AI models.

In plain words
What is it for?
It is for quick, standard, or thorough reviews covering issues such as security, quality, architecture, TODOs, and FIXMEs.
Why use it?
It helps find code problems at a chosen depth instead of relying on a single quick inspection.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the ollama-agents plugin — 5 commands, 3 agents shipped together

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/dansasser/claude-code-marketplace/review
Clone the repo
git clone --depth 1 https://github.com/dansasser/claude-code-marketplace

Made for: Claude Code.

Or install ollama-agents, the plugin that ships this one along with the rest of its 5 commands, 3 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/dansasser/claude-code-marketplace/review.svg)](https://agentmods.dev/commands/dansasser/claude-code-marketplace/review)
Your own site
<a href="https://agentmods.dev/commands/dansasser/claude-code-marketplace/review"><img src="https://agentmods.dev/badge/commands/dansasser/claude-code-marketplace/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 932 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.00000 $0.00932
Opus 5 $0.00000 $0.00466
Sonnet 5 $0.00000 $0.00186
Haiku 4.5 $0.00000 $0.00093

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

Security

Grade A, and why

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

plugins/claude-ollama-agents/commands/review.md · 119 lines

What it actually says

Code Review with Ollama

Perform comprehensive code review using ollama agents.

Usage: /review <file_or_directory> [strictness]

Strictness Levels:

  • quick: Fast review, major issues only
  • standard: Balanced review (default)
  • thorough: Deep analysis with security, quality, and architecture

Examples:

  • /review src/auth.py - Standard review of auth module
  • /review src/api/ thorough - Deep review of API directory
  • /review main.py quick - Quick check

You are performing a code review by orchestrating ollama agents.

Target: $1 Strictness: ${2:-standard}

Your Process:

  1. Determine Scope:

    • Single file: Direct analysis via ollama-task-router
    • Directory: Use directory operations for efficient review
    • Large codebase: Focus on changed files or critical paths
  2. Directory Operations for Reviews:

    When reviewing directories, use these operations:

    Strictness Directory Operations Purpose
    quick @./dir/:search:TODO Find obvious issues
    standard @./dir/:tree + @./dir/:search:FIXME Structure + known issues
    thorough @./dir/:tree + multiple :search: patterns Full analysis

    Example Directory Review Prompts:

    Quick: @./src/:search:TODO + @./src/:search:FIXME Standard: @./src/:tree + @./src/:search:TODO + @./src/:search:HACK Thorough: @./src/:tree + security patterns + quality patterns

  3. Select Review Strategy:

    Quick Review: Invoke ollama-task-router agent:

    • Request: Quick code review focusing on critical bugs and security
    • Target: $1
    • For directories: Use @./dir/:search: for obvious issues
    • Agent handles model selection and execution

    Standard Review: Invoke ollama-task-router agent:

    • Request: Standard code review
    • Checklist: Security, quality, bugs, performance, best practices
    • Target: $1
    • For directories: Use @./dir/:tree for structure + :search: for issues

    Thorough Review: Invoke ollama-parallel-orchestrator agent:

    • Perspectives: security, quality, architecture, testing
    • Target: $1
    • For directories: Each perspective uses appropriate directory operations
    • Multi-angle comprehensive analysis
  4. Review Checklist (for agent to cover):

    • Security: Injection, XSS, auth issues, secrets in code
    • Quality: Naming, structure, complexity, duplication
    • Bugs: Logic errors, edge cases, error handling
    • Performance: Inefficient algorithms, memory leaks
    • Best Practices: Language idioms, design patterns
    • Testing: Test coverage, test quality
  5. Your Role:

    • Invoke appropriate agent based on strictness level
    • Receive agent's analysis
    • Format results for user
    • Prioritize findings by severity
  6. Report Format:

    ## Code Review Summary
    
    **File/Directory:** $1
    **Strictness:** ${2:-standard}
    
    ### Critical Issues (Fix Immediately)
    - [From agent analysis]
    
    ### Major Issues (Fix Soon)
    - [From agent analysis]
    
    ### Minor Issues (Consider Fixing)
    - [From agent analysis]
    
    ### Positive Observations
    - [From agent analysis]
    
    ### Recommendations
    - [Actionable items]
    
  7. Priority Levels:

    • CRITICAL: Security vulnerabilities, data loss risks
    • MAJOR: Bugs, performance issues, maintainability problems
    • MINOR: Style issues, minor optimizations

Directory Review Benefits:

  • @./dir/:tree shows full project structure in ~500 tokens
  • @./dir/:search:TODO finds all incomplete work instantly
  • @./dir/:search:FIXME locates known issues across codebase
  • More comprehensive than reviewing files individually

Remember: Agents handle the heavy analysis. You orchestrate and present results clearly.

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 · 119 lines · 0 tokens per session scan A 653e08ff7de4

Subscribe to this mod's changes

review is a command published in the GitHub repository dansasser/claude-code-marketplace (9 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 932 tokens. 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.