code-review

code-review is a skill for Claude Code, Codex from ccoalm/ccl-skills. It costs 133 tokens per session (9,756 once invoked), scanned C, original, Apache-2.0.

A workflow for obtaining an independent review or adversarial challenge from another coding agent or model. An adversarial review deliberately tries to find ways a change or decision could fail.

In plain words
What is it for?
Use it for pre-merge reviews, failure-focused challenges, deep local self-review, or a bounded second opinion about a plan or implementation.
Why use it?
It adds a separate perspective and routes the review away from the model family that produced the original work when possible.

Skill for Claude CodeCodex

Part of the ccl-skills plugin — 33 skills, 4 commands, 7 hooks shipped together

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

Made for: Claude Code, Codex.

Or install ccl-skills, the plugin that ships this one along with the rest of its 33 skills, 4 commands, 7 hooks.

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/ccoalm/ccl-skills/code-review.svg)](https://agentmods.dev/skills/ccoalm/ccl-skills/code-review)
Your own site
<a href="https://agentmods.dev/skills/ccoalm/ccl-skills/code-review"><img src="https://agentmods.dev/badge/skills/ccoalm/ccl-skills/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,756 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00133 $0.09756
Opus 5 $0.00067 $0.04878
Sonnet 5 $0.00027 $0.01951
Haiku 4.5 $0.00013 $0.00976

Measured yesterday against content hash f960b78a381e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

code-review scanned grade C with 1 finding 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 yesterday.

The scan reads SKILL.md. This mod also ships 39 executable files (scripts/classify_envelope.py, scripts/classify_timeout_exit.sh, scripts/claude_review.sh, …), 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

cleanup() { rm -rf "$REVIEW_RUN_DIR"; }
skills/code-review/SKILL.md · 354 lines

How it starts

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

Code Review

Use this skill from Claude, Codex, OpenCode, or another compatible agent to obtain an independent, attributable review or adversarial challenge. The job is not to delegate implementation. The caller supplies the model family that produced the candidate so the router can exclude same-family reviewers.

Modes

Choose the smallest useful mode:

  • Review mode: normal pre-merge or plan review. Find blocking or materially misleading issues.
  • Challenge mode: adversarial pass modeled after codex challenge. Try to break the diff or decision by finding production failure paths.
  • Complete mode: local exact-candidate deep-self-review checkpoint after a passed final round. It invokes no reviewer and grants no human or merge authority.
  • Consult mode: ask Claude a bounded question when no diff or plan review is needed.

Use challenge mode when the user asks for "challenge", "poke holes", "try to break it", "adversarial", or when the change touches money, permissions, privacy, compliance, tenant/user data, production rollout, high-impact AI, architecture, economics, or IA.

Script Entry Point

For gate-eligible review and challenge, use scripts/review_gate.sh. --review-plan-file is optional for review and challenge: supply a four-field plan (intent, acceptance, self_review, evidence) to bind implementer-authored scope and per-owner self-review, or omit it to run under a derived default. The result records review_plan_source=implementer-supplied or review_plan_source=derived-default so a ceremony-free review is never mistaken for a hand-attested one; complete mode still requires an explicit plan. The gate derives stage concerns, freezes candidate/profile plus stable review-context/controller/skill/history hashes, and validates any self_review[*].skill against the complete sibling skill registry. Omit skill to use the code-review baseline. The controller also derives owners from changed skills/<name>/ paths, test paths, and supported source extensions. With an implementer-supplied plan every derived owner must appear in structured self-review before a provider runs; a derived-default plan still selects and loads those owners for the reviewer but waives the pre-attestation requirement it has no plan to check. The frozen selected set contains the baseline plus every declared or derived owner; each binding hashes SKILL.md and recursive Markdown under references/, not scripts, templates, or other files. Unknown or linked owner packages fail before provider execution. Supported installs ship the complete skills/ registry; an isolated copy can use only the baseline unless its sibling owners are also present. Stable results expose deterministic routing evidence and report owner_selection_source=controller-derived+implementer-declared whenever path-derived owners participate. The gate passes only selected owner names, the canonical registry root, and frozen hashes to wrappers. It never copies skill bodies or selected references into the review packet. Claude, Kimi, OpenCode, and Codex activate those installed skills through their native mechanisms. After a valid wrapper verdict, reviewed_skills records only the owner names actually passed through native invocation; the general code-review baseline stays in selected_skills and is not counted as natively invoked. skill_usage_evidence distinguishes that native explicit invocation from observed_skill_usage; the latter stays empty unless a public client event/export proves activation. Reviewer prose and private client databases are not accepted as proof. A client that cannot provide the native binding is ineligible and may fall through under the existing egress rules. The gate excludes same-family reviewers and stops on boundary failures. Default order is claude,codex,kimi,opencode; local CODE_REVIEW_CLIENT_ORDER may narrow/reorder it. Non-Claude egress is gated by a secret-scan tripwire, not a blanket approval: the frozen packet is scanned for high-signal credential material, and a clean packet may egress to a non-Claude reviewer automatically while a scan hit is skipped egress_denied unless --allow-fallback-egress approves it. The result's egress.secret_scan lists the categories hit (empty when clean). The scan is machine-detectable credentials only; broad semantic confidentiality stays operator-owned per the Diff Confidentiality section. Consult stays on claude_review.sh. Load the staged-contract and client-routing references below for details.

Read the full file on GitHub · 354 lines

Files

What ships with it

46 files 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. yesterday Changed · +1 lines f960b78a381e
  2. 5d ago First seen · 353 lines · 133 tokens per session scan C 52ddc8371ceb

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository ccoalm/ccl-skills (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 133 tokens to every session and 9,756 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens