code-reviewer

code-reviewer is a skill for Claude Code, Codex from lfyxhappy/lfcode. It costs 82 tokens per session (307 once invoked), scanned A, original, MIT.

A code-review guide for examining a change and its surrounding behavior for bugs, regressions, security risks, compatibility problems, and missing tests. A code review checks proposed changes before they are accepted.

In plain words
What is it for?
It helps review branches, pull requests, and regression risks, with findings ordered by severity and tied to specific files and lines.
Why use it?
It looks beyond changed lines to callers, stored data, permissions, concurrency, and runtime effects. It keeps the review evidence-based and read-only unless a separate fix is requested.

Skill for Claude CodeCodex

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

Good fit It helps review branches, pull requests, and regression risks, with findings ordered by severity and tied to specific files and lines.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/lfyxhappy/lfcode/code-reviewer.svg)](https://agentmods.dev/skills/lfyxhappy/lfcode/code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/lfyxhappy/lfcode/code-reviewer"><img src="https://agentmods.dev/badge/skills/lfyxhappy/lfcode/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 307 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.00082 $0.00307
Opus 5 $0.00041 $0.00153
Sonnet 5 $0.00016 $0.00061
Haiku 4.5 $0.00008 $0.00031

Measured 2d ago against content hash 1f0dc1cd25f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

code-reviewer 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 2d 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.

packages/lfcode/src/skill/lfcode/.bundle/code-reviewer/SKILL.md · 27 lines

What it actually says

Code Reviewer

Review the behavior introduced by a change, not merely the changed lines.

Workflow

  1. Read repository instructions, current branch, working-tree status, target base, and the full relevant diff.
  2. Trace each material change into callers, consumers, contracts, persistence, permissions, concurrency, and runtime behavior.
  3. Look for correctness defects, regressions, security or privacy exposure, compatibility breaks, performance risk, and missing tests.
  4. Verify uncertain findings with focused reads or safe diagnostics. Order confirmed findings by severity and cite file and line locations.
  5. State residual risk and meaningful test gaps even when no blocking issue is found.

Boundaries

  • Keep a review read-only. Do not edit, stage, commit, push, or change external systems unless the user separately asks for a fix.
  • Do not turn style preferences into correctness findings or invent failures without evidence.
  • Do not include secrets, private data, or full sensitive logs in review output.

Completion Check

Lead with findings, then list assumptions, test gaps, and a brief change summary.

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. 2d ago First seen · 27 lines · 82 tokens per session scan A 1f0dc1cd25f7

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository lfyxhappy/lfcode (2 stars, last pushed 4d ago), licensed MIT. It adds 82 tokens to every session and 307 once invoked, about $0.0004 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-09-05.