review

review is a skill for Claude Code, Codex from rijuvashisht/Magneto. It costs 0 tokens per session (1,070 once invoked), scanned A, original, MIT.

A code-review skill that examines a Git change against the project’s established patterns, past decisions, and related code. Git is the version-control system that records code changes.

In plain words
What is it for?
It helps review uncommitted or branch changes, pay extra attention to highly connected files, record findings, and produce a review report.
Why use it?
It can reveal inconsistencies and risks that a review focused only on the changed lines may miss.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for gstack. Also seen: built for gstack.

Good fit It helps review uncommitted or branch changes, pay extra attention to highly connected files, record findings, and produce a review report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rijuvashisht/magneto/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 rijuvashisht/Magneto --skill review
Clone the repo
git clone --depth 1 https://github.com/rijuvashisht/Magneto

Made for: Claude Code, Codex.

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/skills/rijuvashisht/magneto/review/github.svg)](https://agentmods.dev/skills/rijuvashisht/magneto/review)
Your own site
<a href="https://agentmods.dev/skills/rijuvashisht/magneto/review"><img src="https://agentmods.dev/badge/skills/rijuvashisht/magneto/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/skills/rijuvashisht/magneto/review"><img src="https://agentmods.dev/badge/skills/rijuvashisht/magneto/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,070 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.00000 $0.01070
Opus 5 $0.00000 $0.00535
Sonnet 5 $0.00000 $0.00214
Haiku 4.5 $0.00000 $0.00107

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

src/templates/magneto-skills/skills/review/SKILL.md · 161 lines

How it starts

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

/review — Graph-Aware Code Review

Role: Staff Engineer Inputs: current git diff (uncommitted or branch-diff) Outputs: review-report.md Next skill: /ship Audit actions: review.started, review.findings_recorded, review.completed


Why This Skill Exists

Generic AI code review catches surface bugs and misses pattern violations. Magneto's /review is grounded in:

  1. Your codebase patterns (from .magneto/memory/)
  2. Your graph topology (god nodes, communities)
  3. Your past decisions (from audit log + memory)

gstack's /review asks "any bugs?" Magneto asks "does this match pattern X established in community Y?"

The Protocol

Step 1: Gather the diff

git diff HEAD                      # uncommitted
git diff main...HEAD               # branch diff

Or read files the user specifies.

Step 2: Load codebase context

magneto memory show --tags patterns,anti-patterns
magneto graph communities

Identify which community each changed file belongs to. Note any god nodes touched — those deserve extra scrutiny.

Step 3: Review using categories

Run through this checklist (adapted from gstack's /review with Magneto additions):

Category 1: Pattern Fidelity (Magneto-unique)
  • Does this change follow the patterns established in community ?
  • Is it consistent with past decisions in .magneto/memory/?
  • If it introduces a new pattern, is that intentional and documented?
Category 2: Correctness
  • Off-by-one, null checks, error handling gaps
  • Race conditions, re-entrancy, concurrent access
  • Integer overflow, division by zero, resource leaks
Category 3: Completeness (Karpathy Rule 2)
  • Is this the simplest possible implementation?
  • Any speculative flexibility that wasn't requested?
  • Would a senior engineer call this overcomplicated?
Category 4: Surgical Scope (Karpathy Rule 3)
  • Does every changed line trace to the user's request?
  • Any drive-by "improvements" to unrelated code?
  • Unused imports/variables introduced by this change?

Read the full file on GitHub · 161 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. 11d ago First seen · 161 lines · 0 tokens per session scan A a5874892ec5b

Subscribe to this mod's changes

review is a skill published in the GitHub repository rijuvashisht/Magneto (6 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,070 tokens. 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

Other skills, from other repositories

git-github-workflow

A guide for collaborating on code with Git and GitHub. Git tracks changes locally, while GitHub hosts repositories and supports pull requests, reviews, and team workflows.

KroMiose/nekro-agent · 101 tokens

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens

engram-branch-pr

PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.

Gentleman-Programming/engram · 37 tokens

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens

github-contributor

End-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, minimal-diff implementation, PR description with AI-assisted disclosure, conflict resolution, and post-submission maintainer interaction. Use whenever creating…

daymade/claude-code-skills · 133 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 248 tokens