review

review is a command for coding agents from AIDotNet/OpenCowork. It costs 0 tokens per session (486 once invoked), scanned A, original, Apache-2.0.

A focused review of uncommitted code changes, including staged, unstaged, and newly added files, with nearby code and tests inspected when needed.

In plain words
What is it for?
Use it to review the current diff and report actionable issues supported by the repository’s actual code.
Why use it?
It finds concrete correctness, reuse, quality, maintainability, and efficiency problems before the changes are committed, without changing the code.

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/aidotnet/opencowork/review
Clone the repo
git clone --depth 1 https://github.com/AIDotNet/OpenCowork

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/aidotnet/opencowork/review.svg)](https://agentmods.dev/commands/aidotnet/opencowork/review)
Your own site
<a href="https://agentmods.dev/commands/aidotnet/opencowork/review"><img src="https://agentmods.dev/badge/commands/aidotnet/opencowork/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 486 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.00000 $0.00486
Opus 5 $0.00000 $0.00243
Sonnet 5 $0.00000 $0.00097
Haiku 4.5 $0.00000 $0.00049

Measured 5d ago against content hash 9b62ec13930e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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.

resources/commands/review.md · 53 lines

How it starts

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

Review the current repository's uncommitted code changes for reuse opportunities, code quality issues, maintainability problems, and efficiency concerns.

You are performing a focused code review of the current uncommitted changes, not a general whole-repo audit.

Execution requirements

  • First collect enough evidence before forming conclusions.
  • Start by inspecting the current uncommitted changes: staged changes, unstaged changes, and newly added files.
  • Read the changed files and enough nearby context to understand the intent.
  • If a potential issue depends on surrounding code, callers, configuration, or tests, inspect those related files before reporting it.
  • Treat any user text that follows the command as additional review focus or constraints, not as a replacement for evidence gathering.
  • Default scope is the current uncommitted changes plus only the additional context needed to validate findings.

Review rules

  • Do not modify code.
  • Do not invent issues.
  • Only report concrete, actionable findings that are supported by the actual changed code and nearby context.
  • Prefer findings the author would likely want to fix if they were made aware of them.
  • Ignore trivial style comments unless they obscure meaning or clearly violate repository conventions.
  • Focus on correctness, maintainability, unnecessary duplication, poor reuse, inefficient logic, fragile edge cases, and risky design choices introduced or exposed by the current changes.
  • Do not flag broad repository-wide problems unless the current changes clearly introduce or worsen them.

Output requirements

Produce a structured Markdown report with these sections:

Review Summary

  • A short overall assessment of the current uncommitted changes.

Scope Checked

  • Summarize what you inspected: diff areas, changed files, and any extra context files you read.
  • Mention any important limits in certainty if relevant.

Findings

  • If there are meaningful findings, list them as numbered items.
  • For each finding, include:
    • A short title
    • Affected file path(s)
    • The relevant location or line area when you can identify it
    • Why it matters
    • A concise recommendation
  • Do not use severity labels for this command.

Read the full file on GitHub · 53 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 · 53 lines · 0 tokens per session scan A 9b62ec13930e

Subscribe to this mod's changes

review is a command published in the GitHub repository AIDotNet/OpenCowork (634 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 486 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-30.