code-review

code-review is a skill for Claude Code from mystilleef/spae-framework. It costs 12 tokens per session (2,196 once invoked), scanned C, original, MIT.

A code-review agent that examines diffs, commits, pull requests, or changed files for material defects. A pull request is a proposed set of changes submitted for review before merging.

In plain words
What is it for?
Use it to review code changes and report prioritized findings with exact code references.
Why use it?
It focuses review on bugs, security problems, data loss, crashes, and incorrect behavior instead of style or minor design concerns.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions AGENTS.md.

Good fit Use it to review code changes and report prioritized findings with exact code references.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mystilleef/spae-framework/code-review"><img src="https://agentmods.dev/badge/skills/mystilleef/spae-framework/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,196 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00012 $0.02196
Opus 5.5 $0.00005 $0.00878
Sonnet 5.5 $0.00002 $0.00439
Haiku 4.5 $0.00001 $0.00220

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

Security

Grade C, and why

code-review scanned grade C with 1 finding 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 3d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- prettier-ignore-start -->
skills/code-review/SKILL.md · 232 lines

How it starts

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

Code review agent

When to use

  • Reviewing diffs, commits, PRs, or changed files before merge.
  • Auditing generated code or refactors for regressions.

Goal

Conduct a defensive, evidence-based review of local repository changes. Flag only material defects—incorrect behavior, data loss, security vulnerabilities, or crashes. Return prioritized findings with exact code citations and targeted remediation.

Scope

In scope:

  • Lines added or modified in the diff
  • New public API contracts introduced by the diff
  • Security and correctness of new logic

Out of scope:

  • Unchanged code visible in context
  • Architecture or design concerns
  • Missing tests or test coverage
  • Style, formatting, naming conventions
  • DRY / abstraction suggestions
  • Hypothetical callers or inputs (unless new public API)

Input

Determine scope from the first available source:

  • Files or folders provided by the user.
  • Current changes in the repository: staged, unstaged, and untracked files in a versioned project.

Abort with a clear message if no scope detected.

Gather intent grounding matching the resolved scope:

  • Commit or PR scope: the commit message(s) or PR title and description.
  • Uncommitted-changes or file scope: comments near each changed hunk, plus any intent the requester stated when invoking the review.

Workflow

  1. GATE—Identify changed files and diff boundaries; abort if no scope. Delete code-review-report.yaml from the project root if present.
  2. ORIENT—Read references/code-review-guide.md for categories, severity levels, decision rules, scope, and calibration. Read references/report-schema.json as the output contract. Anchor to review goal; name what the review won't change.
    • Ground runtime execution model (single-threaded CLI, async loop, multi-threaded server, isolated worker) and threat model. Limit validation to source inspection and isolated local checks; exclude live-system probing and exploit development.
    • Gather intent grounding (see Input) for the hunks under review before the category passes.
  3. ACT—Execute:
    • Read relevant project documentation (AGENTS.md, ORIENT.md, DESIGN.md), nearby code, and tests for grounding.
    • Detect and run configured linters, type checkers, and static analysis; treat tool errors as confirmed findings.
    • Sweep up to PHASE_CAP (7) phases against a running ledger; stop the first phase that contributes zero new candidates:
      • Each phase scans every category below in full before consulting the ledger—produce the complete candidate list first, then dedupe. Skipping already-covered ground before scanning defeats the sweep.
      • Each phase carries a rotating heightened-focus category, cycling ((phase - 1) mod 8) + 1 through the category order below— rotation adds focus without narrowing scope; every phase still scans all 8.
      • Tag each candidate with a defect signature: category:path:line-or-range:short-defect-slug. Treat a candidate as new only when its signature stays absent from the ledger.
      • Append new candidates to the ledger after each phase.
    • Categories (every phase scans all):
      • Correctness: Logic, conditions, bounds, formulas, collection mutation.
      • Null and type safety: Null/undefined dereferences, unchecked Result/Option types, unsafe coercions.
      • Concurrency: Shared mutable state, lock release paths, read-modify-write atomicity, async race conditions.
      • Security: Injection, hardcoded credentials, auth bypass, PII in logs, unsafe deserialization, missing boundary validation.
      • Resource management: File, socket, connection, lock, or allocation without guaranteed release.
      • Error handling: Silently discarded errors, wrong return on error branch, unpropagated errors.
      • API misuse: Deprecated functions, wrong argument order, ignored return values, missing required options.
      • Data integrity: Unvalidated index/size/key inputs, broken serialization contracts, truncation risk.
  4. VERIFY—Run once, after the phase sweep completes—never per phase. Prove each ledger finding against code, project mandates, and app threat model. Apply decision rules from the guide (resource leak, injection, null safety, concurrency, error handling, intent check).
    • Require a concrete trigger scenario, reachable code path, and material impact for each finding. Code evidence suffices; don't require exploit construction or live-system reproduction.
    • Drop speculative or out-of-scope findings from active findings.
    • Route findings lacking concrete trigger scenarios or carrying qualifying intent evidence to suppressed_findings; cite the missing scenario or intent evidence—never emit them in findings.
  5. PERSIST—Skip only when both findings and suppressed_findings stay empty. Otherwise write code-review-report.yaml to the project root conforming to references/report-schema.json; omit the suppressed_findings key entirely when empty. Write once, after VERIFY passes. Use | block scalars for multi-line suggestion and excerpt fields.
  6. REPORT—Sort findings by severity. Emit the result following the result directives and result template.

Read the full file on GitHub · 232 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago Changed · +10 lines 125118427b7c
  2. 1mo ago First seen · 222 lines · 12 tokens per session scan C 94f32ce53ef3

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository mystilleef/spae-framework (2 stars, last pushed 3d ago), licensed MIT. It adds 12 tokens to every session and 2,196 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). 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

ahk-review

Preview a code review against ticket/objective alignment, with deep semantic (name-vs-behavior) analysis. No tasks created, no harness tracking.

enmanuelmag/agent-harness-kit · 35 tokens

red-team-assessment

Run an evidence-backed adversarial security assessment through the local llm-cli-gateway stdio MCP server. Use for code, architecture, configuration, data-flow, or supply-chain security review across the full Claude, Codex, Gemini, Grok, Mistral, Devin, and Cursor roster.

verivus-oss/llm-cli-gateway · 65 tokens

multi-llm-consensus

Obtain complete, evidence-backed agreement from a required roster of llm-cli-gateway providers. Use for high-stakes generation, conflict resolution, or final quality gates that require unconditional approval from every required reviewer.

verivus-oss/llm-cli-gateway · 49 tokens

agent-codex-gate

Pattern for spawning subagents whose work must receive an evidence-backed, unconditional Codex review through the local llm-cli-gateway stdio MCP server. Use when parallel implementation tasks need an independent Codex quality gate.

verivus-oss/llm-cli-gateway · 50 tokens

codex-review-gate

Submit completed work to Codex through the local llm-cli-gateway stdio MCP server and continue until an evidence-backed, unconditional approval. Use after implementation, before merging, or whenever a process requires Codex sign-off.

verivus-oss/llm-cli-gateway · 51 tokens

python-engineering-guidelines

General Python engineering standards for writing, reviewing, and refactoring maintainable code. Use when Codex works on Python code, especially in medium/large projects, runtime adapters, APIs, SDK integrations, async services, stateful systems, or refactors where readability, explicit typing, module boundaries, side…

anywhere-labs/Agents-Anywhere · 75 tokens