code-review

code-review is a skill for Claude Code, Codex from cosmicstack-labs/mercury-agent-skills. It costs 19 tokens per session (3,234 once invoked), scanned A, original, MIT.

A structured method for reviewing proposed code changes, usually shared through a pull request before merging them.

In plain words
What is it for?
Use it to review pull requests, choose review depth based on risk, write useful feedback, and decide which checks should be automated.
Why use it?
It helps find bugs, security issues, missing tests, and design problems early while keeping feedback specific and respectful.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to review pull requests, choose review depth based on risk, write useful feedback, and decide which checks should be automated.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/code-review/github.svg)](https://agentmods.dev/skills/cosmicstack-labs/mercury-agent-skills/code-review)
Your own site
<a href="https://agentmods.dev/skills/cosmicstack-labs/mercury-agent-skills/code-review"><img src="https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/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/cosmicstack-labs/mercury-agent-skills/code-review"><img src="https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,234 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. Third-party audits
  • 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.00019 $0.03234
Opus 5.5 $0.00008 $0.01294
Sonnet 5.5 $0.00004 $0.00647
Haiku 4.5 $0.00002 $0.00323

Measured 3mo ago against content hash 5474df758160, 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 3mo 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.

categories/development/code-review/SKILL.md · 358 lines

How it starts

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

Code Review

Systematic code review methodology for consistent, effective, and humane reviews that improve both code and team culture.

Core Principles

1. Review the Author, Not Just the Code

Every review is a human interaction. The goal is shared understanding and team growth, not ego or gatekeeping. Be constructive, specific, and kind.

2. Catch Problems Early, Fix Them Forever

A bug caught in review costs 10x less than one caught in production. Use each review as an opportunity to add automated checks so the same issue never needs a human review again.

3. Balance Depth with Velocity

Deep reviews catch more issues but slow delivery. Shallow reviews miss things. Adapt depth to risk: security-critical code gets exhaustive review; trivial config changes get a quick skim.

4. Automate Everything You Can

If a reviewer can point out a formatting issue, a lint violation, or a missing test — that check should be automated. Human attention is for design, logic, and tradeoffs.


Code Review Scoring Rubric

Dimension 1 (Poor) 3 (Adequate) 5 (Excellent)
Correctness Obvious bugs missed Catches logic errors Identifies edge cases + security issues
Constructiveness "This is wrong" comments Points to specific lines Suggests alternatives + explains reasoning
Speed Reviews take >5 days Reviews within 48 hours Reviews within 4 hours (same day)
Depth Skims only formatting Checks logic + tests Reviews design, security, performance, test coverage
Automation No CI checks Linting + basic tests Pre-commit hooks, auto-review bots, coverage gates
Consistency Every review is different Team has some standards Defined checklist, shared expectations, documented norms

Target: 4+ in every dimension for a mature review culture.


Actionable Guidance

The PR Checklist

Use this as a template. Adapt to your stack and team norms.

Read the full file on GitHub · 358 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. 3mo ago First seen · 358 lines · 19 tokens per session scan A 5474df758160

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository cosmicstack-labs/mercury-agent-skills (496 stars, last pushed 3mo ago), licensed MIT. It adds 19 tokens to every session and 3,234 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-30.

Related

code-review compared with skills from other repositories

code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewcosmicstack-labs/mercury-agent-skillsSkill4963mo agoMITA19Claude Code, Codex
agent-watchdogBuilderIO/skillsSkill4.7ktodayMITA115Claude Code, Codex
comet-verifyrpamis/cometSkill3.3k2d agoMITA32Claude Code, Codex
no-commentsbacknotprop/pstackSkill5.8kyesterdayMITA20Claude Code, Codex, Cursor
interrogatebacknotprop/pstackSkill5.8kyesterdayMITA61Claude Code, Codex, Cursor
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k11d agoMITA115Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex