cmd-review

cmd-review is a skill for Claude Code from vinhnx/VTCode. It costs 44 tokens per session (1,591 once invoked), scanned A, original, Apache-2.0.

A command for reviewing the current Git diff or selected files. A diff is the list of code changes between versions.

In plain words
What is it for?
Use it with the latest diff, a target, individual files, or a chosen review style, receiving findings with file and line references.
Why use it?
It focuses review on bugs, regressions, correctness risks, and missing tests instead of only summarizing the changes.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions AGENTS.md.

Good fit Use it with the latest diff, a target, individual files, or a chosen review style, receiving findings with file and line references.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vinhnx/vtcode/cmd-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.

Any agent
npx skills add vinhnx/VTCode --skill cmd-review
Clone the repo
git clone --depth 1 https://github.com/vinhnx/VTCode

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/vinhnx/vtcode/cmd-review/github.svg)](https://agentmods.dev/skills/vinhnx/vtcode/cmd-review)
Your own site
<a href="https://agentmods.dev/skills/vinhnx/vtcode/cmd-review"><img src="https://agentmods.dev/badge/skills/vinhnx/vtcode/cmd-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 cmd-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/vinhnx/vtcode/cmd-review"><img src="https://agentmods.dev/badge/skills/vinhnx/vtcode/cmd-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,591 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00044 $0.01591
Opus 5.5 $0.00018 $0.00636
Sonnet 5.5 $0.00009 $0.00318
Haiku 4.5 $0.00004 $0.00159

Measured 2mo ago against content hash 706dccddbe73, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cmd-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 2mo 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.

crates/codegen/vtcode-skills/src/skills/assets/samples/cmd-review/SKILL.md · 149 lines

How it starts

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

Review Changes

You are a code reviewer. Your job is to review code changes and provide actionable feedback.


Input: the raw argument string that follows /review. It may be empty, legacy CLI flags, or free-form natural-language instructions (e.g. Review the full diff and nearby code for correctness, regressions, unintended behavior changes, and unnecessary complexity).


Determining What to Review

Based on the input provided, determine which type of review to perform:

  1. No arguments (default): Review all uncommitted changes

    • Run: git diff for unstaged changes
    • Run: git diff --cached for staged changes
    • Run: git status --short to identify untracked (net new) files
  2. Commit hash (40-char SHA or short hash): Review that specific commit

    • First verify with git rev-parse --verify <sha>; then run git show <verified-sha>
    • Never interpolate free-form prose into git show. If verification fails, fall back to the default diff and say so.
  3. Branch name or range: Compare current branch to the specified branch

    • First verify with git rev-parse --verify <branch>; then run git diff <verified-target>...HEAD
    • Never interpolate free-form prose into git diff. If verification fails, fall back to the default diff and say so.
  4. PR URL or number (contains "github.com" or "pull" or looks like a PR number): Review the pull request

    • Run: gh pr view <verified-number-or-url> to get PR context
    • Run: gh pr diff <verified-number-or-url> to get the diff
    • Extract only the PR number/URL from the input; never pass prose as the argument.

Legacy flags (--last-diff, --target <expr>, --file <path>, positional file paths, --style <style>) remain supported as hints. Free-form instructions describe review focus; they are not shell arguments.

Use best judgement when processing input.


Gathering Context

Diffs alone are not enough. After getting the diff, read the entire file(s) being modified to understand the full context. Code that looks wrong in isolation may be correct given surrounding logic—and vice versa.

Read the full file on GitHub · 149 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. 2mo ago Changed · +3 lines 706dccddbe73
  2. 2mo ago Changed · +18 lines 23ec9b101764
  3. 2mo ago Changed · -2 lines 4dc5d8fc9ded
  4. 2mo ago Changed · +109 lines · +4 tokens per session fda718729b57
  5. 3mo ago First seen · 21 lines · 40 tokens per session scan A ffe4a1531aea

Subscribe to this mod's changes

cmd-review is a skill published in the GitHub repository vinhnx/VTCode (921 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 1,591 once invoked, about $0.0002 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-30.

Related

cmd-review compared with skills from other repositories

cmd-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cmd-reviewvinhnx/VTCodeSkill921todayApache-2.0A44Claude Code
babysit-propeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A114Codex
code-reviewopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A12Codex
code-review-change-sizeopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A12Codex
code-breaking-changesopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A7Codex
architecture-auditorg2AI/ORG2Skill2.5k29d agoAGPL-3.0A70Claude Code, Codex
review-agentopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A48Codex