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.

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.

agentmods
npx agentmods add skills/kambleakash0/agent-skills/code-review
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00034 $0.00447
Sonnet 5 $0.00014 $0.00179
Haiku 4.5 $0.00007 $0.00089

Measured 6d ago against content hash bcbd993a42d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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. 6d 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 (8 stars, last pushed 19d ago), licensed MIT. It adds 68 tokens to every session and 893 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

performance-tuning

Diagnoses and fixes Minecraft server lag, low TPS, high MSPT, GC pauses and out-of-memory crashes. Use whenever the user says "my server is laggy", "low TPS", "TPS drops", "high MSPT", "stuttering", "freezing", "out of memory", "OOM", "GC pause", "what JVM flags", "Aikar's flags", "how much RAM", "Xmx"…

Teddy563/mcwrench · 191 tokens

performance-optimization

Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.

addyosmani/agent-skills · 59 tokens

doubt-driven-development

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production, security-sensitive logic, irreversible operations), or any time a confident output would be cheaper to verify now…

addyosmani/agent-skills · 67 tokens

agenttrace-session-audit

Audit local AI coding-agent sessions with agenttrace for cost, tool failures, latency, anomalies, health, diffs, and CI gates.

sickn33/agentic-awesome-skills · 34 tokens

agent-qa-result-triage

Triage failed Agent QA runs with MCP evidence, artifacts, logs, fixed failure categories, confidence, and actionable next steps.

sickn33/agentic-awesome-skills · 33 tokens

accesslint-scan

Audit a live page for accessibility issues, locate each WCAG violation precisely, and return a selector-grounded fix worklist without editing.

sickn33/agentic-awesome-skills · 32 tokens