code-review

A code-review guide for examining code and configurations for bugs, security risks, regressions, and missing tests.

In plain words
What is it for?
Use it to review a branch or selected files, check areas such as input handling and concurrency, report exact findings, and identify testing gaps.
Why use it?
It gives reviewers a consistent way to follow the relevant code path, rank findings by severity, and explain their impact without rewriting the code.

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/0xnyk/oneclaw/code-review
Any agent
npx skills add 0xNyk/oneclaw --skill code-review
Clone the repo
git clone --depth 1 https://github.com/0xNyk/oneclaw

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 381 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.00000 $0.00381
Opus 5 $0.00000 $0.00191
Sonnet 5 $0.00000 $0.00076
Haiku 4.5 $0.00000 $0.00038

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

src/skills/builtins/code-review/SKILL.md · 36 lines

What it actually says

Code Review

Use this skill when the user asks for a code review, audit, or “what could be wrong here”. The output should be a review, not a rewrite: prioritize bugs, security risks, behavioral regressions, and missing tests.

Workflow

  1. Ask for scope if missing: the PR/branch, files, and what “done” means.
  2. Read the relevant code and configs (don’t skim; follow the call chain).
  3. Enumerate findings ordered by severity:
    • Critical: security/data loss/corruption, auth issues, remote execution, unsafe deserialization
    • Major: crashes, correctness issues, race conditions, broken invariants
    • Minor: edge cases, confusing behavior, maintainability costs
    • Nit: style/readability (only after substantive issues)
  4. For each finding:
    • Point to the exact file/line (or function) and explain impact
    • Suggest a concrete fix (minimal diff) and/or a test that would catch it
  5. Call out testing gaps explicitly (what you didn’t verify).

Checklist (use as prompts while reviewing)

  • Input validation, boundary checks, and error handling
  • Security: secrets exposure, path traversal, command injection, SSRF, unsafe file writes
  • Concurrency: races, locks, shared mutable state, async blocking
  • Data correctness: parsing, serialization, schema drift, migrations
  • Observability: logs, metrics, missing context on errors
  • Performance: N+1 IO, repeated allocations, needless cloning
  • API/UX: breaking changes, confusing defaults, footguns
  • Tests: unit/integration coverage, regression tests for fixed bugs

Output Format

  • Findings first (bulleted), then open questions, then (optional) change summary.
  • If there are no findings, say so and note residual risks.
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. 2d ago First seen · 36 lines · 0 tokens per session scan A 9d3d9b5b2f40

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository 0xNyk/oneclaw (2 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 381 tokens. 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-31.

Related

Other skills, from other repositories

electron-pro

Expert in building cross-platform desktop applications using web technologies (HTML/CSS/JS) with the Electron framework.

fathah/hermes-desktop · 25 tokens

lat-md

Writing and maintaining lat.md documentation files — structured markdown that describes a project's architecture, design decisions, and test specs. Use when creating, editing, or reviewing files in the lat.md/ directory.

fathah/hermes-desktop · 42 tokens

local-tools

Access local system resources including Calendar on macOS and Windows. Use this skill when you need to manage user's schedule directly on their device.

netease-youdao/LobsterAI · 30 tokens

seedance

Generate AI videos using Volcengine Seedance model. Supports text-to-video (T2V), image-to-video (I2V), and audio-synced video generation. Use this skill when the user wants to create or generate videos.

netease-youdao/LobsterAI · 52 tokens

seedream

Generate AI images using Volcengine Seedream model. Supports text-to-image (T2I), image editing (I2I), multi-image fusion, and web-search-based generation. Use this skill when the user wants to create, generate, or edit images.

netease-youdao/LobsterAI · 56 tokens

technology-search

Search tech blogs, developer forums, and IT media (TechCrunch, Hacker News, 36氪, etc.) for software and hardware industry updates with heat ranking and EN↔CN translation. Use this skill only when the topic is clearly about programming, software, hardware, AI, or IT infrastructure.

netease-youdao/LobsterAI · 65 tokens