review

review is a command for Claude Code from MarcosNahuel/antigravity-plugin-cc. It costs 24 tokens per session (595 once invoked), scanned A, original, MIT.

A command that sends the current Git difference—the changes in a code repository—to Antigravity for review. You can optionally provide a specific focus for the review.

In plain words
What is it for?
Use it to review local code changes, including committed work that has not been pushed, with an optional review focus.
Why use it?
It saves the steps of collecting the relevant changes and handing them to another agent for feedback. It also stops when the repository has no changes to review.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Part of the antigravity plugin — 2 skills, 22 commands, 1 agent shipped together

Good fit Use it to review local code changes, including committed work that has not been pushed, with an optional review focus.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/marcosnahuel/antigravity-plugin-cc/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/MarcosNahuel/antigravity-plugin-cc

Made for: Claude Code.

Or install antigravity, the plugin that ships this one along with the rest of its 2 skills, 22 commands, 1 agent.

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/marcosnahuel/antigravity-plugin-cc/review.svg)](https://agentmods.dev/commands/marcosnahuel/antigravity-plugin-cc/review)
Your own site
<a href="https://agentmods.dev/commands/marcosnahuel/antigravity-plugin-cc/review"><img src="https://agentmods.dev/badge/commands/marcosnahuel/antigravity-plugin-cc/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 595 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 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.00024 $0.00595
Opus 5 $0.00012 $0.00298
Sonnet 5 $0.00005 $0.00119
Haiku 4.5 $0.00002 $0.00060

Measured 8d ago against content hash d900fe168fff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 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.

plugins/antigravity/commands/review.md · 59 lines

What it actually says

Route this to the antigravity:agy-rescue subagent in MODE: review.

Raw user request: $ARGUMENTS

Routing rules:

  • If the request contains --background, invoke the subagent with run_in_background: true. Strip the flag.

  • Capture the current git diff BEFORE delegating. Use ONE Bash call with this exact fallback chain (do not invent your own — git diff HEAD first because it includes committed-but-not-pushed work too):

    set -e
    REPO_DIR="${CLAUDE_PROJECT_DIR:-$PWD}"
    DIFF_FILE="$(mktemp -t agy-review-XXXXXX.diff 2>/dev/null || mktemp)"
    git -C "$REPO_DIR" diff HEAD > "$DIFF_FILE" 2>/dev/null || true
    if [ ! -s "$DIFF_FILE" ]; then
      git -C "$REPO_DIR" diff > "$DIFF_FILE" 2>/dev/null || true
    fi
    if [ ! -s "$DIFF_FILE" ]; then
      rm -f "$DIFF_FILE"
      echo "NO_DIFF"
    else
      OUT_FILE="${DIFF_FILE%.diff}.review.md"
      echo "DIFF_FILE=$DIFF_FILE"
      echo "OUT_FILE=$OUT_FILE"
      wc -l < "$DIFF_FILE"
    fi
    
  • If the Bash output is NO_DIFF, tell the user "no git diff found in this repo — stage or make changes first" and stop. Do NOT invoke the subagent.

  • Anything left in the user text after stripping --background is the focus text (may be empty). Default focus if empty: "review for correctness, edge cases, security issues, and style".

Pass this header block to the subagent followed by the focus text:

MODE: review
INTENSITY:
MODEL:
RESUME: false
WRITE_FILE: <absolute OUT_FILE path echoed above>
FOCUS: <focus text or default>
DIFF_FILE: <absolute path captured above>
USER_TEXT:

Operating rules:

  • The subagent reads DIFF_FILE, builds a review prompt embedding the diff + focus, invokes agy via the write_file workaround (bug #76), and returns the review verbatim.
  • Present agy's response as-is. No paraphrase.
  • If agy reports missing/unauthenticated, tell the user to run /agy:setup.
  • After delegating, leave the temp DIFF_FILE alone — the subagent owns its lifecycle (it cleans up on success).
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 · 59 lines · 24 tokens per session scan A d900fe168fff

Subscribe to this mod's changes

review is a command published in the GitHub repository MarcosNahuel/antigravity-plugin-cc (27 stars, last pushed 22d ago), licensed MIT. It adds 24 tokens to every session and 595 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-30.