code-review

code-review is a skill for Claude Code, Codex from timwuhaotian/the-pair. It costs 12 tokens per session (216 once invoked), scanned A, original, Apache-2.0.

A code-review checklist and reporting format covering bugs, security weaknesses, performance problems, code quality, and edge cases.

In plain words
What is it for?
Use it to review code changes and report each issue with its severity, location, explanation, suggested fix, and reason the fix works.
Why use it?
It gives a consistent way to find issues such as injection risks, exposed data, slow database access, missing validation, and weak error handling.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/timwuhaotian/the-pair/code-review
Any agent
npx skills add timwuhaotian/the-pair --skill code-review
Clone the repo
git clone --depth 1 https://github.com/timwuhaotian/the-pair

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/timwuhaotian/the-pair/code-review.svg)](https://agentmods.dev/skills/timwuhaotian/the-pair/code-review)
Your own site
<a href="https://agentmods.dev/skills/timwuhaotian/the-pair/code-review"><img src="https://agentmods.dev/badge/skills/timwuhaotian/the-pair/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 216 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00012 $0.00216
Opus 5 $0.00006 $0.00108
Sonnet 5 $0.00002 $0.00043
Haiku 4.5 $0.00001 $0.00022

Measured 5d ago against content hash 28656b527c65, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

.opencode/skills/code-review/SKILL.md · 49 lines

What it actually says

What I do

  • Review code changes for bugs, security issues, and performance problems
  • Check code style and best practices
  • Identify potential edge cases
  • Suggest specific improvements with code examples

Review checklist

Security

  • SQL injection vulnerabilities
  • XSS vulnerabilities
  • Authentication/authorization issues
  • Sensitive data exposure
  • Input validation

Performance

  • Inefficient algorithms
  • Unnecessary database queries
  • Missing indexes
  • Memory leaks
  • Blocking operations

Code Quality

  • Error handling
  • Edge cases
  • Code duplication
  • Naming clarity
  • Test coverage

Output format

For each issue found, provide:

  1. Severity (Critical/High/Medium/Low)
  2. Location (file:line)
  3. Description of the issue
  4. Specific code fix
  5. Explanation of why the fix works
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. 5d ago First seen · 49 lines · 12 tokens per session scan A 28656b527c65

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository timwuhaotian/the-pair (360 stars, last pushed 15d ago), licensed Apache-2.0. It adds 12 tokens to every session and 216 once invoked, about $0.0001 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

cooperative-vibe-coding

Cooperative vibe coding across machines — real-time collaborative development with humans and AI agents. Covers current tools (Live Share, Code With Me, Zed, Cursor multiplayer, tmux), git-based async patterns, AI agent coordination, and the aspirational future of multi-human multi-agent development. Activate on…

curiositech/windags-skills · 159 tokens

pre-landing-review

Pre-landing PR review. Analyzes diff against the base branch for SQL safety, LLM trust boundary violations, conditional side effects, and other structural issues. Use when explicitly asked for the specialized pre-landing workflow. Product /review requests are handled by BitFun's unified Review mechanism instead.…

GCWing/BitFun · 74 tokens

miniapp-dev

Develops, maintains, and generates BitFun MiniApps (Zero-Dialect Runtime). Use when (1) working on miniapp framework code under src/crates/assembly/core/src/miniapp/ or src/web-ui/src/app/scenes/miniapps/; or (2) generating / creating / designing a NEW MiniApp for the user — including any request like "做一个小应用 / 生成…

GCWing/BitFun · 143 tokens

commit-push-pr

Commit selected local changes, push the branch, and create or update a GitHub pull request with BitFun attribution. Use when the user asks to 提交 PR、提代码、commit and push、开 PR、create a pull request, or wants a Claude Code-like one-command PR publishing flow from BitFun.

GCWing/BitFun · 68 tokens

investigate

Systematic debugging with root cause investigation. Four phases: investigate, analyze, hypothesize, implement. Iron Law: no fixes without root cause. Use when asked to "debug this", "fix this bug", "why is this broken", "investigate this error", or "root cause analysis". Proactively invoke this skill (do NOT debug…

GCWing/BitFun · 112 tokens

wechat-article-writer

公众号/自媒体全流程。根据用户表述自动匹配:撰写文章、封面图、正文插图、风格提取。支持多种写作风格。当用户提到写公众号、技术博客、公众号封面、正文插图、步骤图、演示图、流程示意、分析写作风格、克隆文风、模仿爆款、提取风格时使用。详见 reference 目录。.

xstongxue/best-skills · 105 tokens