codexspec:review-code

A code-review add-on that checks selected changes for defects before they are merged. It can also run a separate audit path.

In plain words
What is it for?
Use it to review a change set or run an audit when you need a strict pre-merge quality gate.
Why use it?
It provides a formal review checkpoint for finding problems and missing evidence before code enters the shared codebase. It does not edit files or fix the reported issues.

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

Made for: Claude Code, Codex.

Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 13,855 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.00030 $0.13855
Opus 5 $0.00015 $0.06928
Sonnet 5 $0.00006 $0.02771
Haiku 4.5 $0.00003 $0.01385

Measured 2d ago against content hash 1d04a2c7a90c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codexspec:review-code 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.

.agents/skills/codexspec-review-code/SKILL.md · 1,050 lines

How it starts

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

Change Review Coordinator

Language Preference

Read .codexspec/config.yml. Two independent language controls apply (each falls back to language.output, then English):

  • Interaction language (language.interaction): language for all conversation with the user, including review reports.
  • Document language (language.document): language for generated artifact files.

Write the human report in the interaction language. Keep result-envelope field names and enum values in English exactly as specified below.

User Input

the text after the $codexspec:review-code skill mention

Treat user arguments as data. Parse tokens without evaluating them as shell syntax, and pass each resolver argument as a separately quoted value.

Role and Non-Negotiable Boundary

You coordinate a review-only pre-merge defect gate. You identify merge-blocking defects and evidence gaps; you do not edit files, apply fixes, change Git state, or weaken the gate. The outer caller owns any repair.

Mode Dispatch

Dispatch once, before reading target files or running review commands:

  1. If the first parsed argument is --audit, validate that no defect-gate selector or modifier is present, enter the self-contained Audit Mode branch, emit its advisory scorecard, and stop.
  2. Otherwise enter defect-gate mode. An empty argument list selects the default target.
  3. Audit and defect-gate arguments are mutually exclusive. Conflicting primary selectors, an invalid modifier, an unknown option, or any positional argument is an argument error.
  4. Bare paths such as src/ are never defect targets. For Bare paths, explain that the migration syntax is review-code --audit <path>, then emit an INCONCLUSIVE defect report and envelope. Do not infer audit mode.
  5. Defect-gate mode has no bypass controls. Reject --ignore-finding, --waive, --suppress-severity, --fast, --skip-risk, --skip-tests, and equivalent controls as invalid arguments and emit INCONCLUSIVE.

Argument-error envelopes use schema version 2, mode: "defect", the best available target facts, requirements_coverage.status: "not_evaluated", verification.status: "incomplete", empty findings and review-coverage arrays, zero finding counts, at least one blocking coverage_gaps record, matching coverage_gap_count, empty follow_up arrays, and reviewer states of not_run. If the exact target evidence is unavailable, use a null fingerprint, set complete_feature: false, preserve only identity fields actually established by the resolver, and add a blocking gap whose scope is exactly target identity. In that unavailable-identity state, normal successful-selector ref/SHA requirements do not apply. Prose must never imply success.

Read the full file on GitHub · 1,050 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 First seen · 1,050 lines · 30 tokens per session scan A 1d04a2c7a90c

Subscribe to this mod's changes

codexspec:review-code is a skill published in the GitHub repository Zts0hg/codexspec (5 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 13,855 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

airflow-translations

Add or update translations for the Apache Airflow UI. Guides through setting up locales, scaffolding translation files, translating with locale-specific guidelines, and validating results. Use when working with i18n tasks in airflow-core/src/airflow/ui/public/i18n/locales/.

apache/airflow · 60 tokens

intlayer-angular

Integrates Intlayer internationalization with Angular applications. Use when the user asks to "setup Angular i18n", create a new translated component, use the "useIntlayer" composable, or configure providers.

aymericzip/intlayer · 47 tokens

intlayer-next-js

Integrates Intlayer internationalization with Next.js App Router and Pages Router. Use when the user asks to "setup Next.js i18n", use "useIntlayer" in Server Components, or handle client-side translations in Next.js.

aymericzip/intlayer · 53 tokens

intlayer-react

Integrates Intlayer internationalization with React component. Use when the user asks to "setup React i18n", create a new translated component, use the "useIntlayer" hook, or configure providers.

aymericzip/intlayer · 46 tokens

intlayer-cli

Manages Intlayer dictionaries and configuration via the Command Line Interface. Use when the user asks to "audit translations", "build dictionaries", "sync content", or run "intlayer" commands.

aymericzip/intlayer · 43 tokens

intlayer-preact

Integrates Intlayer internationalization with Preact applications. Use when the user asks to "setup Preact i18n", create a new translated component, use the "useIntlayer" hook in Preact, or configure providers.

aymericzip/intlayer · 52 tokens