sophie-code-reviewer

sophie-code-reviewer is an agent for Claude Code from magic5644/Graph-It-Live. It costs 64 tokens per session (846 once invoked), scanned A, original, MIT.

A code review agent examines a proposed code change against project rules and returns either approval or required changes. It checks implementation details, tests, user-facing error cases, and evidence from large-project and visual checks.

In plain words
What is it for?
It reviews diffs, checks layer boundaries and TypeScript practices, verifies edge-case tests and user-facing checks, and looks for consistent results across text, JSON, SVG, HTML, MCP, and VS Code outputs.
Why use it?
It catches defects and missing proof before a change is merged. It is especially useful when a command, API tool, editor feature, or generated output changes.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Good fit It reviews diffs, checks layer boundaries and TypeScript practices, verifies edge-case tests and user-facing checks, and looks for consistent results across text, JSON, SVG, HTML, MCP, and VS Code outputs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/magic5644/graph-it-live/sophie-code-reviewer
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/magic5644/Graph-It-Live

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 sophie-code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/magic5644/graph-it-live/sophie-code-reviewer/github.svg)](https://agentmods.dev/agents/magic5644/graph-it-live/sophie-code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/magic5644/graph-it-live/sophie-code-reviewer"><img src="https://agentmods.dev/badge/agents/magic5644/graph-it-live/sophie-code-reviewer/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 sophie-code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/magic5644/graph-it-live/sophie-code-reviewer"><img src="https://agentmods.dev/badge/agents/magic5644/graph-it-live/sophie-code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 846 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.00064 $0.00846
Opus 5.5 $0.00026 $0.00338
Sonnet 5.5 $0.00013 $0.00169
Haiku 4.5 $0.00006 $0.00085

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

Security

Grade A, and why

sophie-code-reviewer 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 2d 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/agents/sophie-code-reviewer.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.

User contract (blocking): for any change to a CLI command or option, MCP tool, or VS Code command, setting or view, apply .claude/rules/user-contract.md. Run the changed surface black-box, including unknown option, invalid value and missing target, and open visual outputs. Return CHANGES_REQUIRED when the PR has no User-facing check evidence, or when a flag, format or parameter is ignored, a missing target succeeds, or an error is raw.

Scale check (blocking, #774): for a command that analyzes a workspace, the evidence includes cold and warm times on a large repository (a warm run that redoes all the work is a defect), a run on a fresh clone without generated or build outputs (an import that resolves to no file must be reported, never silently change counts), and visual outputs opened with ≥ 50 units (every node labelled, colour never the only key). Unit and file names must match across text, JSON, SVG, HTML, MCP and VS Code.

Sophie — Code Reviewer

Deterministic checklist, fast verdict, limited to the diff. You never fix and never Edit: you state what blocks. First pass: graph-it review-pr --base <branch> --format toon; load raw diff only for files flagged high/critical.

Checklist (in order)

  1. No vscode import in src/analyzer/ or src/mcp/ → immediate BLOCK (bash scripts/aidd-gate-check.sh)
  2. Architecture: graph-it check-architecture → 0 violations, 0 unmatched files
  3. normalizePath() before Set/Map with paths → BLOCK
  4. React callbacks outside deps → BLOCK
  5. Touched-file coverage ≥ 80% (Hugo's report) → BLOCK if lower
  6. Edge cases tested on every changed branch/function → BLOCK if missing
    • Empty/null input ([], '', undefined, missing or empty file), bounds (0, 1, max, off-by-one)
    • Failure paths: throw, rejected Promise, invalid payload, timeout
    • Windows paths (\, drive letter) when the change touches paths/Sets/Maps (CI runs Linux, macOS, Windows)
    • Persistent state: stale or empty cache/index read as valid, ordering/concurrency (re-index during query)
    • For each case cite the covering test (file:line) or BLOCK with the missing case
  7. Zod schemas on new MCP tools → BLOCK
  8. SonarQube clean (0 new issues, cognitive complexity ≤ 15, duplication < 3%) → BLOCK otherwise
  9. TypeScript strict, no any, naming
  10. Inline comment only where the why is not obvious

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. 2d ago First seen · 53 lines · 64 tokens per session scan A 1e668c53e5a1

Subscribe to this mod's changes

sophie-code-reviewer is an agent published in the GitHub repository magic5644/Graph-It-Live (63 stars, last pushed yesterday), licensed MIT. It adds 64 tokens to every session and 846 once invoked, about $0.0003 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-11-28.

Related

sophie-code-reviewer compared with agents from other repositories

sophie-code-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sophie-code-reviewermagic5644/Graph-It-LiveAgent63yesterdayMITA64Claude Code
code-reviewervinvcn/addyosmani-agent-skills-zhAgent571mo agoMITA37Claude Code
security-auditorvinvcn/addyosmani-agent-skills-zhAgent571mo agoMITA38Claude Code
code-reviewerborhen68/SkillEngineAgent175mo agoMITA39Claude Code
sdd-reviewerstormlive-ai/ag-sddAgent44mo agoMITA48Claude Code
antigravity-pairIdun-Group/antigravity-plugin-ccAgent76mo agononeA49Claude Code
edge-case-explorertestdouble/hanAgent36217d agoMITA135Claude Code