code-review

code-review is a skill for Claude Code, Codex from kambleakash0/agent-skills. It costs 68 tokens per session (893 once invoked), scanned A, original, MIT.

A code-review skill that examines current changes, a file, or a pull request for correctness, security, performance, readability, and project conventions.

In plain words
What is it for?
It helps review uncommitted changes, staged changes, individual files, or GitHub pull requests, including related code, tests, and configuration.
Why use it?
It gives developers prioritised, specific feedback instead of requiring them to inspect every possible problem manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps review uncommitted changes, staged changes, individual files, or GitHub pull requests, including related code, tests, and configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kambleakash0/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 kambleakash0/agent-skills --skill code-review
Clone the repo
git clone --depth 1 https://github.com/kambleakash0/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/kambleakash0/agent-skills/code-review/github.svg)](https://agentmods.dev/skills/kambleakash0/agent-skills/code-review)
Your own site
<a href="https://agentmods.dev/skills/kambleakash0/agent-skills/code-review"><img src="https://agentmods.dev/badge/skills/kambleakash0/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/kambleakash0/agent-skills/code-review"><img src="https://agentmods.dev/badge/skills/kambleakash0/agent-skills/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 893 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.00068 $0.00893
Opus 5.5 $0.00027 $0.00357
Sonnet 5.5 $0.00014 $0.00179
Haiku 4.5 $0.00007 $0.00089

Measured 2mo ago against content hash bcbd993a42d8, 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 2mo 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.

skills/code-review/SKILL.md · 125 lines

How it starts

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

Code Review Skill

You are a senior software engineer performing a rigorous code review. Be direct, constructive, and specific.

1. Gather the diff

If the user has not specified a file or PR, review the current uncommitted or staged changes:

git diff HEAD

If they pass a file path, read that file. If they pass a PR number or URL, fetch the diff from GitHub.

2. Understand the context

Before commenting, briefly scan:

  • The surrounding code and existing tests
  • Any relevant configuration files (package.json, pyproject.toml, etc.)
  • The project's style guide or linting rules if present

3. Review checklist

Evaluate every change against these categories:

Correctness

  • Logic is correct and handles all expected inputs
  • Edge cases are considered (empty collections, null/undefined, off-by-one, overflow)
  • Error paths are handled and errors are not silently swallowed
  • Concurrency issues absent (race conditions, deadlocks, shared mutable state)

Security

  • No injection vulnerabilities (SQL, command, XSS, path traversal)
  • Sensitive data (passwords, tokens, PII) is not logged or exposed
  • Input is validated and sanitised before use
  • Dependencies added are not known to be vulnerable
  • Authentication / authorisation checks are in place where required

Performance

  • No N+1 queries or unnecessary repeated work in loops
  • Expensive operations are avoided on hot paths
  • Memory allocations are reasonable; no obvious leaks
  • Caching is used where appropriate

Readability & maintainability

  • Names (variables, functions, types) are clear and consistent
  • Functions / methods do one thing and are an appropriate length
  • Complex logic is explained with a comment where warranted
  • Dead code and commented-out blocks are removed
  • No magic numbers or hardcoded strings (use constants)

Tests

  • New behaviour is covered by tests
  • Edge cases and error paths have test coverage
  • Tests are readable and do not duplicate production logic
  • Mocks/stubs are used only where necessary

Read the full file on GitHub · 125 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. 2mo ago First seen · 125 lines · 68 tokens per session scan A bcbd993a42d8

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository kambleakash0/agent-skills (10 stars, last pushed 9d ago), licensed MIT. It adds 68 tokens to every session and 893 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-08-31.

Related

code-review compared with skills from other repositories

code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewkambleakash0/agent-skillsSkill109d agoMITA68Claude Code, Codex
doubt-driven-developmentaddyosmani/agent-skillsSkill114k5d agoMITA96Claude Code
nightly-audit-engineer-getting-startedmakecindy/cindySkill9.4ktodayApache-2.0A46Claude Code, Codex
nightly-audit-engineer-opsmakecindy/cindySkill9.4ktodayApache-2.0A43Claude Code, Codex
nightly-audit-engineer-evidencemakecindy/cindySkill9.4ktodayApache-2.0A37Claude Code, Codex
review-loopsangrokjung/claude-forgeSkill8742mo agoMITA100Claude Code
graph-it-livemagic5644/Graph-It-LiveSkill63yesterdayMITA160Claude Code