code-review

code-review is a skill for Claude Code from ashaykubal/essential-agents-skills. It costs 61 tokens per session (3,322 once invoked), scanned A, original, MIT.

A structured review of code changes that uses automated checks and human-like analysis to find problems.

In plain words
What is it for?
Use it to review code, pull requests, or proposed changes for security, type safety, quality, and standards problems.
Why use it?
It helps catch security risks, unsafe types, and code-quality issues before changes are merged. It also keeps different review concerns separate and records diagnostic results.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: agent in frontmatter; mentions subagents.

Good fit Use it to review code, pull requests, or proposed changes for security, type safety, quality, and standards problems.

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

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/ashaykubal/essential-agents-skills/code-review/github.svg)](https://agentmods.dev/skills/ashaykubal/essential-agents-skills/code-review)
Your own site
<a href="https://agentmods.dev/skills/ashaykubal/essential-agents-skills/code-review"><img src="https://agentmods.dev/badge/skills/ashaykubal/essential-agents-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/ashaykubal/essential-agents-skills/code-review"><img src="https://agentmods.dev/badge/skills/ashaykubal/essential-agents-skills/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,322 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.00061 $0.03322
Opus 5 $0.00030 $0.01661
Sonnet 5 $0.00012 $0.00664
Haiku 4.5 $0.00006 $0.00332

Measured 9d ago against content hash 9f4bcb321d49, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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.

The scan reads SKILL.md. This mod also ships 8 executable files (examples/anti-patterns/linting.ts, examples/anti-patterns/security.ts, examples/anti-patterns/standards.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 · 429 lines

How it starts

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

Code Review

Comprehensive code review with four independently-referenceable sections. Runs static tools first (fail fast), then applies LLM judgment for patterns tools cannot catch.


When to Use This Skill

Load this skill when the user request matches ANY of these patterns:

Trigger Pattern Example User Request
Code review "Review this code", "Check my changes", "Code review for PR"
Security review "Check for security issues", "Find vulnerabilities", "OWASP audit"
Type safety check "Find any usage", "Check type safety", "Null handling issues?"
Quality check "Is this code clean?", "Check code quality", "Standards compliance"

DO NOT use for:

  • Running tests (use npx jest (or your project test runner))
  • Auditing test quality (use test-audit skill)
  • Debugging issues (use issue-debugging skill)
  • Performance profiling (requires runtime analysis)

Dependencies

This skill references supporting files. Understanding what's required vs optional ensures consistent execution.

Category Files Requirement When to Load
Pattern references references/{section}-patterns.md REQUIRED Always load for each enabled section
Framework patterns frameworks/{detected}.md CONDITIONALLY REQUIRED If framework detected → MUST load; if not detected → skip
Examples examples/anti-patterns/*.ts, examples/recommended/*.ts OPTIONAL For calibration on ambiguous cases; kept for model portability

Fallback behavior:

  • If framework detected → Loading frameworks/{name}.md is REQUIRED
  • If no framework detected → Skip framework patterns entirely (do not load generic.md)
  • If a referenced file is missing → Note in diagnostic log, continue with available patterns

Usage

/code-review [path] [flags]

Arguments:

  • path - File or directory to review (default: files in recent context)

Read the full file on GitHub · 429 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. 9d ago First seen · 429 lines · 61 tokens per session scan A 9f4bcb321d49

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository ashaykubal/essential-agents-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 3,322 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.