code-review-judge

code-review-judge is a skill for Claude Code, Codex from Heapy/kortex. It costs 15 tokens per session (850 once invoked), scanned A, original, Apache-2.0.

A guided discussion for deciding which code-review findings to fix. A code review is a check of proposed code changes for bugs, risks, and maintainability issues.

In plain words
What is it for?
Use it to assess findings from a working tree, commit, branch, pull request, or selected path before deciding what action to take.
Why use it?
It turns review comments into explicit decisions based on likelihood, impact, conditions, and concrete examples. It also records the review scope, source, and decisions so they are not lost.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Part of the heapy plugin — 9 skills shipped together

Good fit Use it to assess findings from a working tree, commit, branch, pull request, or selected path before deciding what action to take.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heapy/kortex/code-review-judge
View source ↗ Heapy/kortex
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 Heapy/kortex --skill code-review-judge
Clone the repo
git clone --depth 1 https://github.com/Heapy/kortex

Made for: Claude Code, Codex.

Or install heapy, the plugin that ships this one along with the rest of its 9 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/heapy/kortex/code-review-judge"><img src="https://agentmods.dev/badge/skills/heapy/kortex/code-review-judge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 850 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.00015 $0.00850
Opus 5.5 $0.00006 $0.00340
Sonnet 5.5 $0.00003 $0.00170
Haiku 4.5 $0.00002 $0.00085

Measured 2mo ago against content hash df5cd2e56b52, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-review-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 2mo 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.

plugins/heapy/skills/code-review-judge/SKILL.md · 70 lines

What it actually says

Code Review Judge

Discuss each code-review finding with the user in this session. The general framework:

  1. Identify the review scope: working tree, commit, branch, pull request, or path.
  2. If scope is unknown or missing, ask the user.
  3. Log the scope and current HEAD SHA at the top of the decision log.

Start a decision log in a scratch file outside the repository. It should contain the full original context of every finding, including its source — the finder, agent, or reviewer that reported it — when the review names one. A long walk can outlive the context window; the log is what survives. Write each decision as soon as it is made.

Use plain words. Write for an average developer who has not seen this codebase. Do not use jargon that only a narrow field or one language community knows. If the findings need a few key terms, define them in a short glossary before the first finding, copy it into the decision log, and use only those terms.

For each finding:

  • Describe the conditions under which it happens, and rate their likelihood.
  • Describe its impact, and rate the impact.
  • Give one concrete example of the bad case: the input, state, or sequence of events, and what the user, the data, or the system ends up with.
  • Describe what the fix would look like.
  • Replay the same example with the fix in place, and show what happens instead.
  • Rate the fix cost.
  • Rate the architecture friction of the fix.
  • Summarize.
  • Recommend one option, with a one-line reason.
  • Ask the user to decide. Offer these options:
    • Fix — when there are several ways, list them.
    • Defer — an issue for later. Record only where it goes: a kotgent task, Jira, or GitHub. The plan creates it; for kotgent, through kotgent:create-tasks.
    • Do nothing — record why: false positive, won't fix, or accepted risk.
    • Dig deeper — discuss the finding with the user, then ask again.
  • Do not move on without an answer.

Each rating is 1–5, and 5 means more of what the name says:

Rating 1 3 5
Likelihood needs an unusual mix of input, state, or timing needs a specific but ordinary condition: a setting, a retry, a concurrent call happens easily and often in normal use
Impact cosmetic, or recovers by itself a feature is wrong or down until someone fixes it by hand loss of data or reputation that cannot be undone
Fix cost a local one-line change several files or new test setup within one module a redesign across modules, or a migration
Architecture friction uses existing patterns as they are needs a new helper or a small exception to a pattern breaks the architecture, or needs it changed first

High likelihood and impact argue for fixing; high fix cost and friction argue against.

Based on the answers for all findings, propose a plan that carries them out:

  • Sequential or parallel.
  • Separate commits or a single commit, and whether to amend when the review covered a single commit.
  • Which deferred issues to create, and where.

Safety Policy:

  • Never rewrite remote history without explicit user approval.
  • If a plan requires amending pushed commits or 'git push --force-with-lease', obtain specific approval first.
  • On the default branch, only use new commits.
  • If approval is withheld, use new commits and do not push.

Store the plan in the scratchpad. It must contain the glossary, the full context of the findings, and the decisions the user made. Print the absolute path to the plan, and suggest clearing the context and running it.

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. 2mo ago First seen · 70 lines · 15 tokens per session scan A df5cd2e56b52

Subscribe to this mod's changes

code-review-judge is a skill published in the GitHub repository Heapy/kortex (7 stars, last pushed 10d ago), licensed Apache-2.0. It adds 15 tokens to every session and 850 once invoked, about $0.0001 per session on Opus 5.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-09-26.

Related

code-review-judge compared with skills from other repositories

code-review-judge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-review-judgeHeapy/kortexSkill710d agoApache-2.0A15Claude Code, Codex
architecture-reviewyugash007/edu-agent-skillsSkill106mo agoMITA29Claude Code, Codex
project-reviewyugash007/edu-agent-skillsSkill106mo agoMITA34Claude Code, Codex
make-pr-easy-to-reviewmichael-denyer/pstack-claudeSkill5.0ktodayMITA57Claude Code
thermo-nuclear-code-quality-reviewmichael-denyer/pstack-claudeSkill5.0ktodayMITA54Claude Code
solid-principlesdecebals/claude-code-javaSkill7801mo agoMITA73Claude Code, Codex
review-rpedrohcgs/claude-code-my-workflowSkill1.7k22d agoMITA102Claude Code