code-review

A checklist for examining code for bugs, security problems, performance issues, and consistency with the surrounding codebase.

In plain words
What is it for?
Use it to review or audit code and receive specific findings tied to code lines, along with concrete suggestions for fixes.
Why use it?
It helps find problems such as unhandled edge cases, injection risks, cross-site scripting, slow repeated database queries, and unnecessary memory use before they reach users.

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

Made for: Claude Code, Codex.

Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 123 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.00023 $0.00123
Opus 5 $0.00012 $0.00062
Sonnet 5 $0.00005 $0.00025
Haiku 4.5 $0.00002 $0.00012

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

examples/D02_AgentBuilder/AgentSkills/skills/code-review/SKILL.md · 17 lines

What it actually says

When reviewing code, check for:

  1. Logic errors and unhandled edge cases
  2. Security vulnerabilities (injection, XSS, auth issues)
  3. Performance issues (N+1 queries, unnecessary allocations)
  4. Style consistency with the rest of the codebase

Provide specific line references and concrete fix suggestions. Focus on $ARGUMENTS if provided.

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 · 17 lines · 23 tokens per session scan A ecdf281b36b2

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository cognesy/instructor-php (326 stars, last pushed 2d ago), licensed MIT. It adds 23 tokens to every session and 123 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

lab-creator

Guide for creating new AI Gateway labs. Use when users want to create a new lab in the labs/ folder. This skill provides the standard lab structure, templates, and patterns used across the AI Gateway repository including Jupyter notebooks, Bicep infrastructure templates, APIM policies, and README documentation.

Azure-Samples/AI-Gateway · 64 tokens

apim-bicep

Guide for building Bicep files for Azure API Management (APIM) and related Azure services. Use when users want to create, modify, or understand Bicep templates for APIM instances, APIs, backends, subscriptions, policies, products, loggers, diagnostics, and MCP servers. This skill provides Bicep syntax, patterns from…

Azure-Samples/AI-Gateway · 86 tokens

apim-terraform

Guide for creating Terraform files for Azure API Management (APIM) and related Azure services. Use when users want to create, modify, or understand Terraform configurations for APIM instances, APIs, backends, subscriptions, policies, products, loggers, diagnostics, and supporting infrastructure using the azurerm…

Azure-Samples/AI-Gateway · 87 tokens

apim-kql

Guide for creating Kusto Query Language (KQL) queries for Azure API Management tables in Azure Monitor (Log Analytics Workspace). Use when users want to query, analyze, or monitor APIM logs including gateway logs, LLM/AI logs, MCP logs, WebSocket logs, and Application Insights data. This skill provides KQL syntax…

Azure-Samples/AI-Gateway · 85 tokens

apim-policies

Guide for creating Azure API Management (APIM) XML policies. Use when users want to create, modify, or understand APIM policies including inbound/outbound processing, authentication, rate limiting, caching, transformations, AI gateway policies, and policy expressions. This skill provides policy syntax, examples, and…

Azure-Samples/AI-Gateway · 74 tokens

presentation

Turn a tech-spec directory into an interactive, marketing-grade web presentation — built so engineers understand the design, the reader is convinced of the why, and the result is shareable in public. Use when someone wants a spec turned into a deck.

iii-hq/iii · 51 tokens