IrredenEngine: Command for Claude Code

.claude/commands/role-opus-reviewer.md

role-opus-reviewer is a command for Claude Code from jakildev/IrredenEngine. It costs 23 tokens per session (2,802 once invoked), scanned A, original, MIT.

A final code-review role for pull requests that need a second review by a more capable model. A pull request is a proposed code change awaiting review before it is merged.

In plain words
What is it for?
Use it to recheck flagged pull requests, review changes to core rules, decide whether they need fixes, and post the review result.
Why use it?
It provides a last check after an earlier review, helping distinguish harmless style notes from changes that must be fixed. It follows the project’s review and merge protocol.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

This is jakildev/IrredenEngine's own configuration. It tells Claude Code how to work on IrredenEngine itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything IrredenEngine configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jakildev/IrredenEngine. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jakildev/IrredenEngine/master/.claude/commands/role-opus-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/jakildev/IrredenEngine

Made for: Claude Code.

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 role-opus-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/commands/jakildev/irredenengine/role-opus-reviewer/github.svg)](https://agentmods.dev/commands/jakildev/irredenengine/role-opus-reviewer)
Your own site
<a href="https://agentmods.dev/commands/jakildev/irredenengine/role-opus-reviewer"><img src="https://agentmods.dev/badge/commands/jakildev/irredenengine/role-opus-reviewer/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 role-opus-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/commands/jakildev/irredenengine/role-opus-reviewer"><img src="https://agentmods.dev/badge/commands/jakildev/irredenengine/role-opus-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,802 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.00023 $0.02802
Opus 5.5 $0.00009 $0.01121
Sonnet 5.5 $0.00005 $0.00560
Haiku 4.5 $0.00002 $0.00280

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

Security

Grade A, and why

role-opus-reviewer 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.

.claude/commands/role-opus-reviewer.md · 157 lines

How it starts

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

You are the Opus final reviewer for the Irreden Engine fleet, dispatched into a shared pool worktree ~/src/IrredenEngine/.claude/worktrees/pool-* (WSL2 Ubuntu or macOS); basename $PWD (pool-<N>) is your agent name. You are the last check before the human merges.

Mode (optional argument): $ARGUMENTS

Shared protocol

  • Bash tool rules, hard rules: CLAUDE-BASELINE.md.
  • Fleet state cache, repo slug discovery: FLEET-CACHE.md.
  • Heartbeat, exit protocol (transient one-shot, natural exit on the final turn, no looping, no kill -TERM $PPID), per-iteration shutdown, end-of-iteration feedback (~/.fleet/feedback/opus-reviewer.md), usage-limit handling: FLEET-RUNTIME.md.
  • Review claim, scratch reset, stack awareness, verdict label-swap, nits vs needs-fix, re-review economics, posting the review body, reviewer hard rules: REVIEWER-PROTOCOL.md.

Role

You act on open PRs in both repos (engine, and creations/game/ if present) that carry a Sonnet review ending Opus recheck required: ..., or that touch core invariants and whose latest review ran at sonnet class (a first pass ending (reviewed at opus class) is already the final pass — REVIEWER-PROTOCOL.md § "Review class"; skip it unless it carries fleet:needs-opus-recheck or human:re-review): engine/render/, engine/entity/, engine/system/, engine/world/, engine/audio/, engine/video/, non-trivial engine/math/, the public ir_*.hpp surface, lifetime/ownership, concurrency; game-side ECS extensions, perf-critical gameplay loops, cross-repo integration, persistence/save code. One recheck per PR: skip a PR already rechecked by this fleet unless later pushes changed executable code beyond the fixes it asked for, or Sonnet posted a fresh Opus recheck required: (wording and docs deltas never re-trigger — REVIEWER-PROTOCOL.md § "Re-review economics"). Read the Sonnet review first and spend the pass on the Opus-only items in review-pr/SKILL.md step 4 (ECS invariants three systems deep, GPU buffer lifetimes, races, allocator behavior, hot-path costs); treat the rest of Sonnet's checklist as confirmed unless you spot a blatant miss.

Read the full file on GitHub · 157 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 · 157 lines · 23 tokens per session scan A 8b3a18e3adc9

Subscribe to this mod's changes

role-opus-reviewer is a command published in the GitHub repository jakildev/IrredenEngine (10 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 2,802 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-11-07.

Related

role-opus-reviewer compared with commands from other repositories

role-opus-reviewer next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
role-opus-reviewerjakildev/IrredenEngineCommand10todayMITA23Claude Code
diff-reviewcoco-research/cocoCommand629yesterdayApache-2.0A11Claude Code
review-branchdamusix/atomic-claudeCommand1167d agoMITA35Claude Code
initazrtydxb/procoderCommand2122d agoApache-2.0A16Claude Code
refactorRchGrav/claudeboxCommand1.2k1mo agoMITA9Claude Code
spec-trace-requirementsrjmurillo/ai-agentsCommand49yesterdayMITA0GitHub Copilot
merge-conflict-analysisrjmurillo/ai-agentsCommand49yesterdayMITA0GitHub Copilot