adversarial-review

adversarial-review is a skill for Claude Code, Codex from yunsii/wezdeck. It costs 85 tokens per session (2,614 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,614 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.02614
Opus 5.5 $0.00034 $0.01046
Sonnet 5.5 $0.00017 $0.00523
Haiku 4.5 $0.00009 $0.00261

Measured 11d ago against content hash f1c82846501f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 11d 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.

skills/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 ./skills/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. 11d ago Changed f1c82846501f
  2. 1mo ago Changed c1c0f028f902
  3. 1mo 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 (4 stars, last pushed 5d ago), licensed MIT. It adds 85 tokens to every session and 2,614 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

code-reviewer

A code-reviewing role that checks code for bugs, security weaknesses, readability problems, design issues, and performance concerns.

AlekseiUL/agentforge-openclaw · 51 tokens

Systematic debugging

Use when you hit a bug, test failure, or unexpected behavior — find the root cause before changing code.

Kilbex/Vigla · 26 tokens

defect-hunting

Use when reviewing code, auditing an app, writing a guard rule or test, or certifying any threshold/constant/formula. Finds the defects a diff review structurally cannot see — the second write path, the mis-calibrated constant, the rule that cannot fail. Triggers from code-reviewer, /app-audit, qa-engineer…

vmobifystudio/app-dev-team · 96 tokens

hyperframes-quality

Review and gate an editable HyperFrames composition or its rendered video before delivery. Use after building, revising, diagnosing, or rendering a HyperFrames project when layout, contrast, deterministic timing, transitions, animation choreography, rendered-frame fidelity, or high-quality acceptance needs…

manishiitg/coding-agent-loop · 87 tokens

fitness-functions

Use when designing architectural fitness functions as GC rules — periodic checks that verify system-wide properties like layer boundaries, coupling trends, and complexity hotspots, complementing per-change constraints with weekly architectural health monitoring.

Habitat-Thinking/ai-literacy-superpowers · 41 tokens

gitnexus-impact-analysis

Use when the user wants to know what will break if they change something, or needs safety analysis before editing code. Examples: "Is it safe to change X?", "What depends on this?", "What will break?".

qualixar/qualixar-os · 50 tokens