code-review

code-review is a skill for Claude Code, Codex from PANYUXIN6/pyx-skills. It costs 80 tokens per session (2,371 once invoked), scanned A, original, MIT.

A structured review of code and related implementation files that looks for defects, risks, and failures to meet requirements.

In plain words
What is it for?
Use it to review source code, tests, settings, schemas, database migrations, build scripts, Git changes, or pull requests.
Why use it?
It provides evidence for review findings while keeping the target code and repository history unchanged.

Skill for Claude CodeCodex

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

Good fit Use it to review source code, tests, settings, schemas, database migrations, build scripts, Git changes, or pull requests.

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

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/panyuxin6/pyx-skills/code-review/github.svg)](https://agentmods.dev/skills/panyuxin6/pyx-skills/code-review)
Your own site
<a href="https://agentmods.dev/skills/panyuxin6/pyx-skills/code-review"><img src="https://agentmods.dev/badge/skills/panyuxin6/pyx-skills/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/panyuxin6/pyx-skills/code-review"><img src="https://agentmods.dev/badge/skills/panyuxin6/pyx-skills/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,371 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.00080 $0.02371
Opus 5 $0.00040 $0.01185
Sonnet 5 $0.00016 $0.00474
Haiku 4.5 $0.00008 $0.00237

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

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/review.mjs, scripts/review.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

code-review/SKILL.md · 189 lines

How it starts

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

Code Review

Use this Skill as the thin orchestration layer for code review. Let Codex understand intent, contracts, behavior, and risk; let scripts/review.mjs own mechanically decidable target membership, snapshots, evidence coordinates, declared dispositions, challenge coverage, input freshness, and conclusion consistency. The Runner does not dispatch the model and cannot prove that an Agent understood an item or that a challenge verdict is semantically true or independent; a successful command proves only the frozen inputs and recorded process state, not semantic completeness or correctness.

Keep target code, specifications, and Git history read-only until the user separately authorizes fixes. Runtime and candidate artifacts may be written only outside the target repository unless the user explicitly chooses another location.

Before invoking the Runner or creating review artifacts, require both an implementation target and explicit review intent. Requests to find bugs or risks, assess quality, verify correctness or requirement compliance, check coding or implementation standards, perform a named review dimension, or produce Findings satisfy the intent gate. Requests that only ask to read, explain, summarize, map, or trace architecture, data flow, implementation behavior, or an implementation approach do not. A neutral verb such as "inspect", "check", "look at", or "检查一下" does not satisfy the gate by itself. For exploratory requests, do not invoke the Runner or create Finding artifacts; use ordinary repository exploration or another directly applicable Skill.

The review target must contain at least one software implementation artifact. Treat prose requirements and design documents only as authority or context for evaluating that implementation. If the user asks to review a document's own clarity, structure, consistency, or design quality, this Skill and its Runner are out of scope.

1. Establish authority and target

Read all repository rules governing the target, such as applicable AGENTS.md, CLAUDE.md, CONTRIBUTING.md, and coding standards. Load only architecture documents and ADRs relevant to the changed modules, contracts, or call paths. Repository rules and confirmed requirements override this general baseline.

Read the full file on GitHub · 189 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. 2d ago Changed · -113 tokens per session 5c8cd58a7474
  2. 8d ago First seen · 189 lines · 193 tokens per session scan A f992ee9b5ed0

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository PANYUXIN6/pyx-skills (6 stars, last pushed 2d ago), licensed MIT. It adds 80 tokens to every session and 2,371 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-08-31.