code-review

code-review is a skill for Claude Code, Codex from edimuj/tokenlean. It costs 57 tokens per session (653 once invoked), scanned A, original, MIT.

A workflow for reviewing pull requests, diffs, staged changes, or commits in a codebase.

In plain words
What is it for?
Use it to check changed files, their dependents and public exports, common problems such as secrets or circular dependencies, and produce a structured review.
Why use it?
It shows what the changes affect before examining details, helping reviewers focus on risks in dependencies, complexity, compatibility, and security.

Skill for Claude CodeCodex

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

Good fit Use it to check changed files, their dependents and public exports, common problems such as secrets or circular dependencies, and produce a structured review.

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

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/edimuj/tokenlean/code-review/github.svg)](https://agentmods.dev/skills/edimuj/tokenlean/code-review)
Your own site
<a href="https://agentmods.dev/skills/edimuj/tokenlean/code-review"><img src="https://agentmods.dev/badge/skills/edimuj/tokenlean/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/edimuj/tokenlean/code-review"><img src="https://agentmods.dev/badge/skills/edimuj/tokenlean/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 653 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.00057 $0.00653
Opus 5.5 $0.00023 $0.00261
Sonnet 5.5 $0.00011 $0.00131
Haiku 4.5 $0.00006 $0.00065

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

skills/claude/code-review/SKILL.md · 100 lines

How it starts

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

Code Review

Review code changes thoroughly while reading as little raw code as possible.

Workflow

Changes → Scope check → Context gathering → Deep review → Output

1. Determine scope

# For a PR or branch
tl pr

# For uncommitted work
tl diff

# For a specific commit range
tl diff <ref>

If the diff is large (>20 files), focus on the highest-impact files first.

2. Gather context on changed files

For each changed file:

tl parallel \
  "impact=tl impact <file>" \
  "symbols=tl symbols <file>" \
  "complexity=tl complexity <file>"

For files with high impact (many dependents), also run:

tl exports <file>     # Was the public API changed? Are exports still compatible?

3. Review the code

Now read the actual diff. You already know:

  • What changed (from step 1)
  • What depends on it (from tl impact)
  • The shape of the code (from tl symbols)
  • Complexity hotspots (from tl complexity)

Use tl snippet <function> <file> to read specific changed functions rather than full files.

4. Check for common issues

tl guard              # Secrets, stale TODOs, unused exports, circular deps

5. Output format

Structure the review as:

## Summary
One-paragraph assessment: what this change does and overall quality.

## Issues
- **[severity]** file:line — description and suggestion

## Observations
- Non-blocking notes, style comments, questions for the author

## Verdict
APPROVE / REQUEST CHANGES / NEEDS DISCUSSION

Severity levels: critical (bugs, security), warning (potential problems), nit (style, minor).

Decision tree: how deep to go

File changed → How many dependents? (tl impact)
  ├─ 0 dependents → Light review (just read the diff)
  ├─ 1-5 dependents → Standard review (symbols + diff)
  └─ 6+ dependents → Deep review (symbols + exports + snippet each changed function)

Tips

  • Use tl parallel to gather context on multiple changed files simultaneously
  • For test files, skip tl impact (nothing depends on tests)
  • tl symbols -j gives JSON output if you need structured data
  • If a file is under 150 lines, just read it directly — tokenlean overhead isn't worth it

Read the full file on GitHub · 100 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 · 100 lines · 57 tokens per session scan A a5cc94672a0a

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository edimuj/tokenlean (14 stars, last pushed 4mo ago), licensed MIT. It adds 57 tokens to every session and 653 once invoked, about $0.0002 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-reviewedimuj/tokenleanSkill144mo agoMITA57Claude Code, Codex
deep-module-refactorzebbern/claude-code-guideSkill4.7ktodayMITA62Claude Code, Codex
secure-code-reviewzebbern/claude-code-guideSkill4.7ktodayMITB86Claude Code, Codex
witnessjuxt/alliumSkill54811d agoMITA75Claude Code
agentbro-pr-mergeshirenchuang/agentbroSkill167todayApache-2.0A38Claude Code, Codex
graph-it-livemagic5644/Graph-It-LiveSkill632d agoMITA160Claude Code
pr-reviewmagic5644/Graph-It-LiveSkill632d agoMITA132Claude Code