code-review

code-review is a skill for Claude Code, Codex from nearform/lastlight. It costs 83 tokens per session (3,327 once invoked), scanned A, original, MIT.

A shared checklist for reviewing code changes before they are accepted. It focuses on serious problems in correctness, security, edge cases, compatibility, regression risk, and tests.

In plain words
What is it for?
Reviewing pull requests and branch changes, checking how modified code affects callers and related components, and judging whether tests cover the real risks.
Why use it?
It helps reviewers avoid noisy comments and concentrate on issues that could materially harm the software. It also gives different review processes a consistent standard.

Skill for Claude CodeCodex

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

Good fit Reviewing pull requests and branch changes, checking how modified code affects callers and related components, and judging whether tests cover the real risks.

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

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/nearform/lastlight/code-review/github.svg)](https://agentmods.dev/skills/nearform/lastlight/code-review)
Your own site
<a href="https://agentmods.dev/skills/nearform/lastlight/code-review"><img src="https://agentmods.dev/badge/skills/nearform/lastlight/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/nearform/lastlight/code-review"><img src="https://agentmods.dev/badge/skills/nearform/lastlight/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,327 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.00083 $0.03327
Opus 5.5 $0.00033 $0.01331
Sonnet 5.5 $0.00017 $0.00665
Haiku 4.5 $0.00008 $0.00333

Measured 17d ago against content hash 2d30bc3038d7, 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 17d 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.

apps/server/skills/code-review/SKILL.md · 233 lines

How it starts

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

Code Review

The shared rubric for assessing a code change. Used both by a PR review and by the build cycle's branch-diff reviewer — the procedure differs (where the diff comes from, how the verdict is recorded), but the rubric below is the same.

Review the change in full context — read each changed file, not just the hunk. For a large change (>300 lines or >5 files): trace data flow through modified functions, check callers of anything whose signature or behaviour changed for regression risk, and check that tests cover the actual risk areas, not just the happy path.

Precision first — post only what matters

A review is only useful if people trust it. A noisy reviewer gets muted; every low-value comment you post spends the credibility of the ones that matter. So the bar is high-signal only — on what you post. Read "Where the gate applies" below first: if your output is consumed by a later stage rather than by a human, none of the filtering in this section is yours to do.

  • Post only Critical and Important findings. Suggestions and Nits (below) are not worth a formal review comment on their own — drop them, or fold at most one genuinely valuable line into the summary. When in doubt about a finding's tier, leave it out of the review.
  • If you cannot name the concrete impact — what breaks, and for which input or caller — do not post it. "This could be cleaner" is not a finding; "this crashes when items is empty because line 42 indexes [0]" is.
  • One defect per comment, and distinct claims stay distinct. Never fold a second, independent defect into an "Additionally, …" sentence of the first — two defects sharing a comment get read, answered and tracked as one, and one of them is lost. Two comments may share a line. Keep each claim's precision too: "out of date" is not "wrong", and collapsing distinct claims into the harsher one overstates the review's case.
  • Confidence gate — refute, don't doubt, and only at the end. Before you finalise, re-read each finding against the actual code and try to refute your own claim. Dropping it requires naming the specific thing that makes it wrong: the guard you missed, the caller that already validates, the type that makes the case unreachable. Unease is not a refutation. "I'm not certain" is an instruction to go and read the other side of the contract, not to delete the finding.

Read the full file on GitHub · 233 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. 17d ago Changed · -1 lines 2d30bc3038d7
  2. 1mo ago First seen · 234 lines · 83 tokens per session scan A 3f7a9436846f

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository nearform/lastlight (38 stars, last pushed 6d ago), licensed MIT. It adds 83 tokens to every session and 3,327 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-30.

Related

Other skills, from other repositories

Codex

Guides operator-owned delegation to Codex when the task fits a bounded coding lane, review pass, or worktree-isolated implementation track.

agentic-in/elephant-agent · 31 tokens

open-code-review

Performs AI-powered code review on Git changes using the ocr CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply…

alibaba/open-code-review · 98 tokens

open-code-review-delegate

Delegation mode for open-code-review (OCR). Instead of OCR calling an LLM endpoint, this skill instructs the host agent to perform the code review itself, using OCR only for deterministic engineering: file selection and rule resolution. Use when the host agent should drive the review with its own LLM capabilities.

alibaba/open-code-review · 68 tokens

review

Comprehensive security and correctness audit. Use for review, deep review, thermo nuclear, or thermonuclear requests and branch or PR diff audits.

vercel/eve · 31 tokens

claude_code_delegation

Delegate coding, review, and refactor tasks to Claude Code CLI through Row-Bot's approval-gated shell workflow.

siddsachar/row-bot · 31 tokens

agent-review

Critically review a Stencila agent and suggest improvements. Use when asked to review, audit, critique, evaluate, or improve an agent directory or AGENT.md file. Covers frontmatter validation, system instruction quality, configuration correctness, and adherence to the Agent schema.

stencila/stencila · 57 tokens