adversarial-review

adversarial-review is a skill for Claude Code, Codex from yunsii/wezdeck. It costs 85 tokens per session (2,599 once invoked), scanned A, original, MIT.

A multi-role code-review process that searches for problems, tries to disprove the proposed changes, and reproduces issues in a sandbox. Different agents or backends can take part in the review.

In plain words
What is it for?
Reviewing runtime code and scripts, checking a batch of changes before acceptance, and testing whether reported concerns can be reproduced.
Why use it?
It challenges an implementation from more than one angle and provides evidence for suspected problems. This helps catch runtime defects that a single review may overlook.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/dev/link-platform-skills.sh.

Good fit Reviewing runtime code and scripts, checking a batch of changes before acceptance, and testing whether reported concerns can be reproduced.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/yunsii/wezdeck
agentmods
npx agentmods add skills/yunsii/wezdeck/adversarial-review

Made for: Claude Code, Codex.

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 adversarial-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yunsii/wezdeck/adversarial-review"><img src="https://agentmods.dev/badge/skills/yunsii/wezdeck/adversarial-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,599 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.00085 $0.02599
Opus 5 $0.00043 $0.01300
Sonnet 5 $0.00017 $0.00520
Haiku 4.5 $0.00009 $0.00260

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

Security

Grade A, and why

adversarial-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 9d ago.

The scan reads SKILL.md. This mod also ships 14 executable files (lib/context-pack.sh, lib/impact/extract-symbols.sh, lib/impact/impact.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

scripts/dev/adversarial-review/SKILL.md · 225 lines

How it starts

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

Adversarial review (platform skill — single source)

Who runs: the coding agent (OpenClaw Main / Claude-TUI / Codex-TUI), not the human.
Never tell the user to copy-paste run.sh as the primary path.
Never replace this with a solo monologue and call it 对抗审查 (that is 设计批判).

This directory is the only skill + runner unit. Other paths are symlinks (user-level or in-repo discovery). Do not maintain a second SKILL.md body.

Who runs what

Actor Duty
Human Intent only:「对抗审查」「审一下这批改动」「按推荐审查」
Any agent Load this skill → resolve TOOL + TARGET → run → disclose
Host headless backends claude / codex / grok as find/refute (not ACP by default)

When to load / run

  • User asks for 对抗审查 / adversarial review / multi-role review
  • Write-task checklist: acceptance suggests review
  • Runtime code/scripts changed (any git TARGET the agent may review)
  • After editing this toolkit itself → dogfood

Skip / redirect:

  • Pure docs/tests-only (runner auto-skips); user explicitly skips with reason
  • Design docs / RFC / ADR / 方案提案 (no runtime diff): do not force this skill. Use 设计评审 (structured checklist in host validation.md → Design proposal review) or brainstorm only when the user still wants alternative approaches. Never label a doc critique 对抗审查.

Multi-role minimum

Role Stance Runner stage
find / reviewer guilty-until-proven stage 1
refute / refuter kill weak findings stage 2
repro empirical in sandbox stage 3
  • Prefer different families than the writer (strategy B via --writer).
  • Same capability twice OK → label SINGLE-MODEL / degraded; do not skip refute.
  • Solo essay without opposite roles → 设计批判, not 对抗审查.

Paths: TOOL vs TARGET (critical)

Do not assume ./scripts/dev/adversarial-review exists in the repo under review.

Name Meaning
TOOL_HOME This skill/runner directory (where run.sh lives)
TARGET Git repo being reviewed (--repo or current git toplevel)

Read the full file on GitHub · 225 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. 9d ago First seen · 225 lines · 85 tokens per session scan A 332810f06317

Subscribe to this mod's changes

adversarial-review is a skill published in the GitHub repository yunsii/wezdeck (5 stars, last pushed yesterday), licensed MIT. It adds 85 tokens to every session and 2,599 once invoked, about $0.0004 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

printing-press-output-review

Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…

mvanhorn/cli-printing-press · 102 tokens

systemic-issue-triage

Trigger: new issue, bug report, triage, backlog, issue flood, community report, root cause, dead-end, blocked user. Attack issues by root class, never one-by-one; fixes must shrink the system, not grow it.

Gentleman-Programming/gentle-ai · 57 tokens

issue-root-resolution

Trigger: root audit, atacar la raíz, issue roots, backlog roots, mechanism map, deletion-driven fix, resolver issues de raíz, close outdated issues. Audit and resolve issue clusters by verified root cause.

Gentleman-Programming/gentle-ai · 45 tokens

review-loop

Run the adversarial verification loop — implement, then hand the change to a fresh checker that did not write it, fix what it finds, and re-dispatch until APPROVE. Use before claiming any behavioural change is done, and on requests like "review loop", "adversarial review", "independent review", "get this verified"…

sangrokjung/claude-forge · 100 tokens

semgrep-rule-creator

Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Use when writing Semgrep rules or building custom static analysis detections.

waybarrios/opencode-power-pack · 37 tokens

fix

Dispatch fix subagent for FIX-FIRST gaps from review, re-review, then diagnose unresolved failures after 2 loops.

automagik-dev/genie · 25 tokens