codex-judge

codex-judge is a skill for Claude Code from JairoTorregrosa/jaiskills. It costs 42 tokens per session (1,068 once invoked), scanned A, original, MIT.

A separate language-model review step for judging code written by another model. It receives the task requirements, plan, code changes, review findings, and check results, but not the implementer’s private reasoning.

In plain words
What is it for?
Use it in an implementation review loop to assess whether changes meet the specification. It is an internal tool for the Insistir workflow, not a general coding assistant.
Why use it?
Using a separate model can provide an independent assessment instead of allowing the writer to judge its own work.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Codex.

Part of the jaiskills plugin — 12 skills, 13 commands, 4 agents, 2 hooks, 1 MCP server shipped together

Good fit Use it in an implementation review loop to assess whether changes meet the specification. It is an internal tool for the Insistir workflow, not a general coding assistant.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jairotorregrosa/jaiskills/codex-judge
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 JairoTorregrosa/jaiskills --skill codex-judge
Clone the repo
git clone --depth 1 https://github.com/JairoTorregrosa/jaiskills

Made for: Claude Code.

Or install jaiskills, the plugin that ships this one along with the rest of its 12 skills, 13 commands, 4 agents, 2 hooks, 1 MCP server.

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 codex-judge

README.md
[![agentmods](https://agentmods.dev/badge/skills/jairotorregrosa/jaiskills/codex-judge/github.svg)](https://agentmods.dev/skills/jairotorregrosa/jaiskills/codex-judge)
Your own site
<a href="https://agentmods.dev/skills/jairotorregrosa/jaiskills/codex-judge"><img src="https://agentmods.dev/badge/skills/jairotorregrosa/jaiskills/codex-judge/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 codex-judge

Your own site · 80×15
<a href="https://agentmods.dev/skills/jairotorregrosa/jaiskills/codex-judge"><img src="https://agentmods.dev/badge/skills/jairotorregrosa/jaiskills/codex-judge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,068 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.00042 $0.01068
Opus 5 $0.00021 $0.00534
Sonnet 5 $0.00008 $0.00214
Haiku 4.5 $0.00004 $0.00107

Measured 11d ago against content hash 6cb602bf076c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

codex-judge 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 11d 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.

skills/orchestration/codex-judge/SKILL.md · 110 lines

How it starts

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

Codex Judge: Cross-Provider Verdict

Uses Codex (GPT-5) as an independent judge to evaluate Claude-written implementations, eliminating self-preference bias inherent in same-model review.

Why Cross-Provider Judging

Self-preference bias is well-documented: models rate their own outputs 10-25% higher than warranted. GPT-5.x judging Claude's output is an ideal cross-provider setup — different training data, different reward models, different blind spots. The judge shares no internal assumptions with the implementer.

Reference: "Judging the Judges" (arXiv 2604.23178) — cross-model ensembles achieve higher separability and alignment with human rankings.

What the Judge Sees

The judge receives ONLY:

Input Source
Task spec + acceptance criteria Plan file
Git diff git diff of the implementation
Reviewer findings (structured JSON) Insistir reviewer agent
Check results (tests, typecheck, lint) Reviewer's checks object

NEVER send the implementer's reasoning, chain-of-thought, or self-assessment. The judge evaluates artifacts only — fresh context prevents sycophancy contamination.

How to Invoke

mcp__codex__codex:
  prompt: <rendered judge-prompt from references/judge-prompt.md>
  sandbox: "read-only"
  approval-policy: "never"
  cwd: "<repo root>"

Parse the response as JSON matching the verdict schema. If JSON parsing fails, re-prompt once with: "Your previous response was not valid JSON. Return ONLY the verdict JSON, no markdown fencing." If it fails again, treat as degraded (see below).

Verdict Schema

{
  "verdict": "PASS | NEEDS_REVISION | REJECT",
  "confidence": 0.0-1.0,
  "criteria": {
    "correctness":      { "score": 1-5, "evidence": "...", "violations": [] },
    "security":         { "score": 1-5, "evidence": "...", "violations": [] },
    "maintainability":  { "score": 1-5, "evidence": "...", "violations": [] },
    "spec_compliance":  { "score": 1-5, "evidence": "...", "violations": [] }
  },
  "overall_score": 1-5,
  "rationale": "2-3 sentence summary",
  "remediation": [
    {
      "severity": "critical | major | minor",
      "description": "what is wrong",
      "suggestion": "how to fix",
      "file": "path",
      "line": 42
    }
  ]
}

Read the full file on GitHub · 110 lines

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. 11d ago First seen · 110 lines · 42 tokens per session scan A 6cb602bf076c

Subscribe to this mod's changes

codex-judge is a skill published in the GitHub repository JairoTorregrosa/jaiskills (5 stars, last pushed 10d ago), licensed MIT. It adds 42 tokens to every session and 1,068 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

review

Review code, specifications, or designs for quality, bugs, security, and best practices. Use when the user wants feedback on recent work, a pull request, or any artifact.

pcatattacks/solopreneur-plugin · 38 tokens

sonarqube-mcp

Provides SonarQube and SonarCloud integration patterns via the Model Context Protocol (MCP) server. Enables quality gate monitoring, issue discovery and triaging, pre-push code analysis, and rule education directly in the agent workflow. Use when the user wants to check quality gates, search for Sonar issues, analyze…

giuseppe-trisciuoglio/developer-kit · 127 tokens

nestjs-code-review

Provides comprehensive code review capability for NestJS applications, analyzing controllers, services, modules, guards, interceptors, pipes, dependency injection, and database integration patterns. Use when reviewing NestJS code changes, before merging pull requests, after implementing new features, or for…

giuseppe-trisciuoglio/developer-kit · 82 tokens

nextjs-code-review

Provides comprehensive code review capability for Next.js applications, validates Server Components, Client Components, Server Actions, caching strategies, metadata, API routes, middleware, and performance patterns. Use when reviewing Next.js App Router code changes, before merging pull requests, after implementing…

giuseppe-trisciuoglio/developer-kit · 86 tokens

react-code-review

Provides comprehensive code review capability for React applications, validates component architecture, hooks usage, React 19 patterns, state management, performance optimization, accessibility compliance, and TypeScript integration. Use when reviewing React code changes, before merging pull requests, after…

giuseppe-trisciuoglio/developer-kit · 81 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens