/mays:adversarial-reviewfrom mays
Launches concurrent adversarial reviews from Claude and an external model (GPT/Grok) on plans or diffs, triaging findings into verified blockers, concerns, and rejected items. Use before approving plans or shipping changes.
Ships in mays. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Adversarial review comes in pairs — one fresh Claude subagent and one external run, on identical briefs, launched concurrently. Different model families fail differently, so agreement between them is signal. Each pair costs roughly 3–8 minutes of wall clock.
Reviewers read; the caller applies every fix, so one actor owns the diff.
| Mode | Reviewers see | Brief |
|---|---|---|
plan | The plan text and the ticket, plus the model-check spec and result when the caller ran one | references/plan-review.md |
code | git diff <merge-base> (commits, staged edits, and unstaged edits) plus untracked files from git status --porcelain --untracked-files=all; the ticket and approved plan when there are any | references/code-review.md |
In code mode, <base> is the repo default branch (main, else master) unless the caller names another. <merge-base> is the commit that git merge-base <base> HEAD prints.
Before launching either reviewer in code mode, git rev-parse --verify --quiet <base> must succeed. Then git merge-base <base> HEAD must print a commit. If it prints nothing, stop and report that <base> and HEAD share no history. An empty merge base would make the diff compare only the index and the working tree. Then git diff --quiet <merge-base> must exit 1, or git ls-files --others --exclude-standard must print a file. Otherwise stop and report that there is nothing to review.
Fill the brief's placeholders first. Fill {MERGE_BASE} with the full commit hash, not a command, so both reviewers read the same scope. Then inline the ticket, the plan text, and any model-check spec and result, so placeholder names that appear inside them stay as written. Never send a path the reviewer cannot read. Keep the two prompts identical apart from tool guidance, so disagreement comes from the models, not the prompts.
Launch both reviewers in one message so they run concurrently:
claude-subagents, model: unset.external-subagents, launched with Bash(run_in_background: true). The wrapper picks the engine and pins that engine's default model."${CLAUDE_SKILL_DIR}/../external-subagents/scripts/external-run.sh" \
--prompt <scratch>/external-<mode>-review-prompt.md --out <scratch>/external-<mode>-review.md \
--label review --idle 300 --hard 1800
Plan mode may pass --effort low to the external run when the plan touches 3 files or fewer. Code mode passes no --effort, so it runs at the machine's default effort. That default is high unless CODEX_SUBAGENT_EFFORT or CURSOR_SUBAGENT_EFFORT changes it. On cursor, effort selects the Grok slug's effort suffix.
Claude, or the external run's family with its engine, GPT (codex) or Grok (cursor). No finding is weighted, discounted, or promoted by its source. A finding is true or false against the code, and that is the only test it gets.file:line you read for each finding. For a finding about the plan text, cite the plan section instead. For a finding about something missing, name the search you ran, such as grep -rn retry_webhook.file:line or plan step. Then confirm that its input or interleaving can reach the seam. A killer test that fails this check goes under REJECTED.single-family review in the result's first line.codex nor a logged-in cursor-agent), a stall that salvaged nothing, or an external engine that fails before producing any output (exit 126, such as a Cursor Free plan): running Claude alone is a downgrade the user chooses. Ask whether to continue with Claude alone or stop.single-family review in the result's first line.Claude: VERDICT <verdict> — <summary>
GPT (codex) | Grok (cursor): VERDICT <verdict> — <summary> (mark "partial" when salvaged)
BLOCKERS (verified)
- [file:line] <what breaks> → <fix> (<family>, or both) · Checked: <file:line>
CONCERNS
- [file:line] <finding> → <fix> (<family>) · Checked: <file:line>
REJECTED
- <finding> (<family>) — <one-line reason> · Checked: <file:line>
TEST GAPS (code mode) | SIMPLER PATH (plan mode)
- <gap or alternative, or "none"> · Checked: <file:line>
KILLER TESTS (plan mode)
- [file:line | plan step] <seam>: <input or interleaving>; asserts <assertion>; expects <fail | pass> (<family>, or both) · Checked: <file:line>
[file:line] is where the reviewer pointed. Checked: is what you read.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub stevenmays/dotfiles --plugin mays14 skills in this plugin
/claims-verificationCheck the factual claims a plan makes about existing code against the repo — extract atomic claims, have a fresh subagent answer neutral questions without seeing the plan, then score each claim. Use after a plan is drafted and before adversarial review, or whenever a workflow asks to verify a plan's claims./claude-subagentsDispatch planning, review, implementation, or a scoped question to a fresh Claude subagent with the Agent tool — which subagent type and model to pick, what the prompt must carry, and how to check what comes back. Use whenever a workflow hands work to a Claude subagent, including the Claude half of adversarial-review./codex-image-generatorDefault image generation path. Generate or edit raster images (hero images, illustrations, textures, product shots, mockups, transparent cutouts) through the Codex CLI's built-in image_gen tool, run in a subagent. Use whenever the user asks for an image, picture, illustration, or visual asset and does not name a provider. Not for SVG, icons, or diagrams that belong in code./deslopClean up AI slop in existing code — measure complexity with real tools, delete dead and redundant code, refactor the worst hotspots first, and prove behavior is unchanged. Use when the user asks to clean up slop, deslop, reduce complexity, untangle spaghetti, simplify a god function, or make AI-generated code maintainable. Not a review skill — extreme-code-quality-review covers review; this one changes the code./external-subagentsRun a planning, research, review, or implementation task on a second model family as a background subagent that cannot hang the session — GPT through the Codex CLI, or the newest Grok through the Cursor CLI where Codex is missing. A wrapper kills stalled runs and salvages partial output. Use whenever a workflow sends work to Codex, Cursor, GPT, Grok, a second model, or a non-Claude subagent, including the external half of adversarial-review. Not for images./extreme-code-quality-reviewRun an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for an extreme code quality review, deep code quality audit, or especially harsh maintainability review.Other plugins' skills for the same job