review

review is a command for Claude Code from faeton/claude-grok-plugin. It costs 14 tokens per session (655 once invoked), scanned A, original, MIT.

A read-only command that sends the current local Git state to a companion for code review. Git is a tool for tracking changes to source code.

In plain words
What is it for?
Use it to review working-tree changes, staged changes, untracked files, or differences from a chosen base branch, with optional scope, model, waiting, or background settings.
Why use it?
It provides a review of changes without modifying files, while handling small or larger reviews according to their size.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the grok plugin — 3 skills, 8 commands, 1 agent shipped together

Good fit Use it to review working-tree changes, staged changes, untracked files, or differences from a chosen base branch, with optional scope, model, waiting, or background settings.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add faeton/claude-grok-plugin
Claude Code
/plugin install grok

Made for: Claude Code.

Or install grok, the plugin that ships this one along with the rest of its 3 skills, 8 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/faeton/claude-grok-plugin/review/github.svg)](https://agentmods.dev/commands/faeton/claude-grok-plugin/review)
Your own site
<a href="https://agentmods.dev/commands/faeton/claude-grok-plugin/review"><img src="https://agentmods.dev/badge/commands/faeton/claude-grok-plugin/review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review

Your own site · 80×15
<a href="https://agentmods.dev/commands/faeton/claude-grok-plugin/review"><img src="https://agentmods.dev/badge/commands/faeton/claude-grok-plugin/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 655 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.00014 $0.00655
Opus 5.5 $0.00006 $0.00262
Sonnet 5.5 $0.00003 $0.00131
Haiku 4.5 $0.00001 $0.00065

Measured 1mo ago against content hash 2eb28862e7df, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo 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/grok/commands/review.md · 44 lines

What it actually says

Run a Grok code review through the local companion. Review only — Grok runs strictly read-only and web search is disabled; do not fix issues or apply patches in this turn.

Raw slash-command arguments: $ARGUMENTS

Execution mode rules:

  • If the raw arguments include --wait, do not ask. Run in the foreground.
  • If the raw arguments include --background, do not ask. Run with the companion's --background (it detaches its own worker — you do NOT need Claude's run_in_background).
  • Otherwise, estimate the review size first:
    • Working tree: git status --short --untracked-files=all, plus git diff --shortstat --cached and git diff --shortstat.
    • Base branch: git diff --shortstat <base>...HEAD.
    • Treat untracked files as reviewable even when the diff stat is empty.
    • Recommend waiting only when the change is clearly tiny (~1-2 files). Otherwise recommend background. When in doubt, run it.
  • Then use AskUserQuestion exactly once with two options, recommended first with (Recommended):
    • Wait for results
    • Run in background

Argument handling:

  • Preserve the user's arguments. --scope, --base, --profile, --model, --effort pass through to the companion.
  • /grok:review does not take focus text. For focused/adversarial framing use /grok:adversarial-review.

Shell quoting (required): pass the raw arguments to the companion as ONE single-quoted shell word, written in place of '<raw arguments>' below. Escape every ' inside them as '\''. Never paste the arguments unquoted or inside double quotes — $(...), backticks, ; and globs in a question or focus text would be run by the shell. The companion splits that single word into flags itself.

Foreground (give the Bash call timeout: 600000; the default 2-minute cap would cut the run off):

node "${CLAUDE_PLUGIN_ROOT}/scripts/grok-companion.mjs" review '<raw arguments>'

Return the command stdout verbatim. Do not fix any issues mentioned.

Background:

node "${CLAUDE_PLUGIN_ROOT}/scripts/grok-companion.mjs" review '--background <raw arguments>'

Then tell the user: "Grok review started in the background. Check /grok:status for progress and /grok:result <id> for findings."

If the companion reports a failure, return it verbatim.

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. 1mo ago Changed · +2 lines 2eb28862e7df
  2. 3mo ago First seen · 42 lines · 14 tokens per session scan A 0ba848ffd608

Subscribe to this mod's changes

review is a command published in the GitHub repository faeton/claude-grok-plugin (1 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 655 once invoked, about $0.0001 per session on Opus 5.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.

Related

review compared with commands from other repositories

review next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reviewfaeton/claude-grok-pluginCommand11mo agoMITA14Claude Code
reviewxzawed/claude-grok-build-pluginCommand33d agoMITA13Claude Code
initazrtydxb/procoderCommand21223d agoApache-2.0A16Claude Code
gitazrtydxb/procoderCommand21223d agoApache-2.0A20Claude Code
inspectxzawed/claude-grok-build-pluginCommand33d agoMITA9Claude Code
tracexzawed/claude-grok-build-pluginCommand33d agoMITA14Claude Code
harness-onboardingHabitat-Thinking/ai-literacy-superpowersCommand124yesterdaynoneA33Claude Code