code-review

code-review is a skill for Claude Code from asgeirtj/system_prompts_leaks. It costs 235 tokens per session (1,855 once invoked), scanned A, original, CC0-1.0.

A code-review workflow that examines a Git change set, pull request, branch, or file path for bugs and possible code cleanups. A pull request is a proposed code change submitted for review before it is merged.

In plain words
What is it for?
Use it to review current or committed changes, find failure scenarios, check reuse and efficiency, and report findings with affected files and lines.
Why use it?
It helps catch correctness problems and unnecessary complexity before code is accepted. The amount of investigation can be adjusted from focused checks to a broader review.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Good fit Use it to review current or committed changes, find failure scenarios, check reuse and efficiency, and report findings with affected files and lines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/code-review
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 73,683 stars · on GitHub

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 asgeirtj/system_prompts_leaks --skill code-review
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

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/asgeirtj/system_prompts_leaks/code-review/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/code-review)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/code-review"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/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/asgeirtj/system_prompts_leaks/code-review"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 235 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,855 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. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • Snyk pass 7 Sept 2026
  • 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.00235 $0.01855
Opus 5.5 $0.00094 $0.00742
Sonnet 5.5 $0.00047 $0.00371
Haiku 4.5 $0.00023 $0.00186

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

Security

Grade A, and why

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

Anthropic/claude-code/skills/code-review/SKILL.md · 133 lines

How it starts

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

high effort → 4 inline angles (bugs + conventions) → dedup (no verify) → ≤10 findings

You are reviewing for recall at high effort: catch every real bug a careful reviewer would catch in one sitting. At this level, catching real bugs matters more than avoiding false positives. Err on the side of surfacing.

Phase 0 — Gather the diff

Unless a review target is named above, run git diff origin/HEAD...HEAD by itself, exactly as written, to get the unified diff under review: the whole branch against the default branch. Only if that fails, or it and git diff HEAD both print nothing, run git diff main...HEAD, with the default branch's name in place of main if it has another (git branch -a lists the branches), or git diff HEAD~1 if you can't tell the base. Three forms need permission, so never write them: @{upstream} or @{u} next to .. or ..., commands grouped in parentheses, and shell variables such as $?. If there are uncommitted changes, or the range diff is empty, also run git diff HEAD and include the working-tree changes in scope — the review often runs before the commit. If a PR number, branch name, or file path was passed as an argument, review that target instead. Treat this diff as the review scope.

Phase 1 — Find candidates (3 correctness angles + 1 conventions angle, up to 6 each)

Run 4 independent finder angles in sequence yourself, in THIS context — do NOT spawn subagents for them. Each surfaces up to 6 candidate findings with file, line, a short summary, and a concrete failure_scenario.

Angle A — line-by-line diff scan

Read every hunk in the diff, line by line. Then Read the enclosing function for each hunk — bugs in unchanged lines of a touched function are in scope (the PR re-exposes or fails to fix them). For every line ask: what input, state, timing, or platform makes this line wrong? Look for inverted/wrong conditions, off-by-one, null/undefined deref, missing await, falsy-zero checks, wrong-variable copy-paste, error swallowed in catch, unescaped regex metachars.

Read the full file on GitHub · 133 lines

Files

What ships with it

6 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. 9d ago Changed · +9 lines 6aaed8045a01
  2. 10d ago Changed · -7 lines · +5 tokens per session fae38329e607
  3. 1mo ago Changed · +2 lines · +6 tokens per session 9f50718ad0c7
  4. 1mo ago Changed · +32 tokens per session 6cb4830350a4
  5. 2mo ago Changed · +7 tokens per session 320f3fa19df1
  6. 2mo ago Changed · -15 lines · +10 tokens per session 813d864c2eb2
  7. 2mo ago Changed · +2 lines · +175 tokens per session 50fb11f5b4d8
  8. 3mo ago First seen · 142 lines · 0 tokens per session scan A 911eb1f7653e

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 235 tokens to every session and 1,855 once invoked, about $0.0009 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

code-review compared with skills from other repositories

code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A235Claude Code
githubNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
opencodeNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
requesting-code-reviewNousResearch/hermes-agentSkill267ktodayMITA20Claude Code, Codex
babysitthedotmack/claude-memSkill121ktodayApache-2.0A44Claude Code
agent-merge-conflict-arbiterNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill91kyesterdayMITA46Claude Code