set-copilot: Command for Claude Code

.claude/commands/opsx/review.md

OPSX: Review is a command for Claude Code from tatargabor/set-copilot. It costs 29 tokens per session (1,618 once invoked), scanned A, original, MIT.

A review command for checking an OpenSpec change plan before it is applied. OpenSpec is a system for describing planned software changes; the command compares the plan with the code and project rules using two independent reviewers.

In plain words
What is it for?
Use it after proposing a change and before applying it to produce a merged review-findings.md file.
Why use it?
It helps catch missing work, incorrect assumptions, and rule violations before implementation begins. Independent reviews reduce the chance that one reviewer overlooks a problem.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

This is tatargabor/set-copilot's own configuration. It tells Claude Code how to work on set-copilot 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 set-copilot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tatargabor/set-copilot. 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/tatargabor/set-copilot/master/.claude/commands/opsx/review.md
Clone the repo
git clone --depth 1 https://github.com/tatargabor/set-copilot

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 OPSX: Review

README.md
[![agentmods](https://agentmods.dev/badge/commands/tatargabor/set-copilot/review/github.svg)](https://agentmods.dev/commands/tatargabor/set-copilot/review)
Your own site
<a href="https://agentmods.dev/commands/tatargabor/set-copilot/review"><img src="https://agentmods.dev/badge/commands/tatargabor/set-copilot/review/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 OPSX: Review

Your own site · 80×15
<a href="https://agentmods.dev/commands/tatargabor/set-copilot/review"><img src="https://agentmods.dev/badge/commands/tatargabor/set-copilot/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,618 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.00029 $0.01618
Opus 5.5 $0.00012 $0.00647
Sonnet 5.5 $0.00006 $0.00324
Haiku 4.5 $0.00003 $0.00162

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

Security

Grade A, and why

OPSX: Review 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 1mo 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/opsx/review.md · 153 lines

How it starts

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

Review an OpenSpec change's plan against the real code and the project's rules, after /opsx:propose and before /opsx:apply. The cycle is propose → review → apply → verify → archive.

You do not judge the plan yourself. You start two named agents blind and in parallel — neither sees the other's prompt or output — then merge what they return into openspec/changes/<name>/review-findings.md. Two independent viewpoints catch different classes of defect; letting one read the other turns them into one viewpoint.

Input: an optional change name after /opsx:review (e.g. /opsx:review speak-follow-tts). If omitted, infer it from the conversation only when unambiguous.


Steps

1. Select the change

If no name was given and the context does not settle it: run openspec list --json and use AskUserQuestion to let the user pick among changes that have a tasks.md. Do not guess and do not auto-select.

2. Load the artifacts

openspec status --change "<name>" --json

Confirm proposal, design (if the schema has it), specs and tasks exist. If tasks are missing, stop: the plan is not finished, suggest /opsx:continue.

Read proposal.md, design.md, tasks.md and every delta spec under specs/. Note whether proposal.md declares the change review-exempt (docs-only, or a retro-spec of shipped behaviour, per .claude/rules/spec-adversarial-review.md). If it does and tasks.md has no code task, tell the user the review is optional and ask whether to run it anyway.

If review-findings.md already exists, this is a re-review: keep the previous rounds and append a new ## Round N section (step 5) rather than overwriting history.

3. Launch both agents — blind, in parallel

Read the full file on GitHub · 153 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. 1mo ago First seen · 153 lines · 29 tokens per session scan A 0bcf2dedf894

Subscribe to this mod's changes

OPSX: Review is a command published in the GitHub repository tatargabor/set-copilot (3 stars, last pushed 6d ago), licensed MIT. It adds 29 tokens to every session and 1,618 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-10-26.

Related

OPSX: Review compared with commands from other repositories

OPSX: Review next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
OPSX: Reviewtatargabor/set-copilotCommand36d agoMITA29Claude Code
LOOP: Adversarialalrece/loop-engineeringCommand25mo agononeA63Claude Code
agy-reviewdavdittrich/delegate-agyCommand202d agononeA29Claude Code
impl-reviewgmickel/flow-nextCommand737todayMITA23Claude Code
resolve-prgmickel/flow-nextCommand737todayMITA26Claude Code
reviewgmickel/flow-nextCommand737todayMITA8Claude Code
review-teamdwarvesf/dwarves-kitCommand156d agoMITA49Claude Code