sova: Command for Claude Code

.claude/commands/review.md

review is a command for Claude Code from xsovad06/sova. It costs 34 tokens per session (2,747 once invoked), scanned A, original, Apache-2.0.

A senior-engineer code-review command that examines the changes on a branch, pull request, or selected files for real problems before the code is pushed.

In plain words
What is it for?
Use it to review commits, uncommitted changes, pull-request diffs, or specific files before opening or updating a pull request.
Why use it?
It catches bugs and design issues early, while avoiding reviews focused only on minor style preferences.

Command for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

This is xsovad06/sova's own configuration. It tells Claude Code how to work on sova itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sova configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xsovad06/sova. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/xsovad06/sova/main/.claude/commands/review.md
Clone the repo
git clone --depth 1 https://github.com/xsovad06/sova

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 review

README.md
[![agentmods](https://agentmods.dev/badge/commands/xsovad06/sova/review/github.svg)](https://agentmods.dev/commands/xsovad06/sova/review)
Your own site
<a href="https://agentmods.dev/commands/xsovad06/sova/review"><img src="https://agentmods.dev/badge/commands/xsovad06/sova/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/xsovad06/sova/review"><img src="https://agentmods.dev/badge/commands/xsovad06/sova/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,747 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.00034 $0.02747
Opus 5.5 $0.00014 $0.01099
Sonnet 5.5 $0.00007 $0.00549
Haiku 4.5 $0.00003 $0.00275

Measured 9d ago against content hash 6004729f7066, 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 9d 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.

.claude/commands/review.md · 229 lines

How it starts

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

Code Review

Act as an independent senior software engineer who specializes in code reviews. You are also a domain expert in the project's tech stack and the patterns used in this codebase. Your job is to find real problems, not to nitpick style or add noise.

Scope: $ARGUMENTS

1. Gather the Diff

Resolve the base branch at runtime, then read the commit structure to understand intent. Each fenced bash block in this command may run in a separate shell, so later blocks re-assign BASE rather than relying on it surviving:

BASE=$(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null | sed 's#^origin/##')
BASE=${BASE:-main}
git fetch --quiet origin "$BASE"
git log --oneline "origin/$BASE..HEAD"

Determine the review scope:

  • No arguments: review all commits on the current branch vs the base branch (git diff "origin/$BASE"...HEAD) plus tracked uncommitted changes, staged and unstaged (git diff HEAD); list and inspect untracked files separately with git ls-files --others --exclude-standard
  • PR number: fetch that PR's diff via gh pr diff <number>
  • File paths or module names: focus review on those files only, but still read full diff for context

2. Read Changed Files in Full

For every file touched in the diff:

  • Read the entire file (not just the diff hunk) to understand surrounding context
  • Identify the module's role in the architecture
  • Note any related files that interact with the changed code

Read related files as needed: the goal is to review with full understanding, not in isolation.

3. Deep Analysis

Review across these dimensions, in priority order. Reference the project's guidelines (AGENTS.md, .claude/rules/*.md) for project-specific rules.

Recorded mistakes first. If the project keeps a mistakes list (.claude/agent-memory/common-mistakes.md, or the mistakes section of .claude/agent-memory/cookbook.md), read it and check the diff against every entry before the dimensions below. A diff that repeats a recorded mistake is a finding scored at least 6/10, citing the entry. These lists exist because the same mistakes recur; rules loaded into context alone have not prevented them.

Read the full file on GitHub · 229 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. 9d ago Changed · +8 lines 6004729f7066
  2. 14d ago Changed · +12 lines 8bcb81814a7f
  3. 16d ago Changed · +34 lines ddffbd0ffb7e
  4. 21d ago Changed · +3 tokens per session 82738d178b9e
  5. 1mo ago Changed 3b5f579bfc71
  6. 1mo ago Changed · -10 lines 9cd18b715c75
  7. 2mo ago First seen · 185 lines · 31 tokens per session scan A 654b4bb18379

Subscribe to this mod's changes

review is a command published in the GitHub repository xsovad06/sova (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 34 tokens to every session and 2,747 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.