pr-review

pr-review is a skill for Claude Code, Codex from nearform/lastlight. It costs 69 tokens per session (4,301 once invoked), scanned A, original, MIT.

A formal GitHub pull-request review focused on concrete problems in the proposed code changes.

In plain words
What is it for?
It examines diffs, investigates surrounding code, runs small evidence-gathering probes when needed, and posts one review with high-confidence findings.
Why use it?
It helps reviewers settle uncertain behavior with targeted tests or source inspection while keeping feedback precise and relevant.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit It examines diffs, investigates surrounding code, runs small evidence-gathering probes when needed, and posts one review with high-confidence findings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nearform/lastlight/pr-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 pr-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 pr-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/nearform/lastlight/pr-review/github.svg)](https://agentmods.dev/skills/nearform/lastlight/pr-review)
Your own site
<a href="https://agentmods.dev/skills/nearform/lastlight/pr-review"><img src="https://agentmods.dev/badge/skills/nearform/lastlight/pr-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 pr-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/nearform/lastlight/pr-review"><img src="https://agentmods.dev/badge/skills/nearform/lastlight/pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,301 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 52
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00069 $0.04301
Opus 5 $0.00034 $0.02150
Sonnet 5 $0.00014 $0.00860
Haiku 4.5 $0.00007 $0.00430

Measured 9d ago against content hash 3cc006f7ba15, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

pr-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.

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/pr-review/SKILL.md · 318 lines

How it starts

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

PR Review

Review an open PR — high-signal findings only. Read the change and reason about it; where reasoning cannot settle a question, run something. Installing the repo's dependencies, opening the installed library source, and writing the smallest file that exercises the behaviour and executing it are all allowed and expected — that is a probe, and it is how a question about how code actually behaves gets settled instead of guessed.

Two limits on a probe, and they are what keep it from becoming a second CI:

  • It must produce evidence you can quote. Keep the command and its output, and cite them in the finding that rests on them. "I ran it and it fails" with nothing to quote is worth exactly what a guess is worth.
  • It is targeted at one question, never a re-derivation of CI. Whether the change builds and whether the suite is green are already answered — see §4. Never spend a probe on those.

Why this is spelled out rather than left implicit. An earlier version of this skill forbade installing dependencies, and the measured failure was not disobedience — it was the opposite. The reviewer referred to WebClient 32 times and never once opened node_modules/@slack, because the workspace it was given had no node_modules at all. "Open the library source" was not ignored; it was structurally impossible. An affordance you do not have reads to you as an instruction you cannot follow, so what you can run is part of the contract, not an implementation detail.

Your job is judgement on the diff, not a build gate. A noisy review gets muted, so precision matters more than volume.

You do not post the review yourself. You write your findings to a JSON file (.lastlight/pr-review/findings.json) and a deterministic follow-up step posts one formal review, anchoring each finding to its diff line as an inline comment (§5).

This skill is the PR-specific procedure. It uses the code-review skill for the precision bar and what-to-check rubric.

Read the full file on GitHub · 318 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 318 lines · 69 tokens per session scan A 3cc006f7ba15

Subscribe to this mod's changes

pr-review is a skill published in the GitHub repository nearform/lastlight (22 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 4,301 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-30.

Related

Other skills, from other repositories

代码审查员

A code-review agent that examines changes for correctness, security, maintainability, performance, and test coverage.

KongFangXun/sofagent · 40 tokens

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-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

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

chrome-cdp

Drive a headless Chrome over the Chrome DevTools Protocol (CDP) for browser QA — navigate, click, fill forms, read the DOM/accessibility tree, screenshot, and assert. Use whenever a task requires loading a web page and interacting with it like a user. Chrome is launched by a bash step (recipe below); this skill…

mattzcarey/shippie · 91 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