C31-review-adversarial

C31-review-adversarial is a skill for Claude Code, Codex from ChianW/C31. It costs 0 tokens per session (436 once invoked), scanned A, original, MIT.

An adversarial review guide for testing software designs against failures, hidden assumptions, unusual inputs, and interactions between components.

In plain words
What is it for?
It helps construct edge cases, assess failure severity, and review behavior under concurrency, network problems, invalid input, and boundary conditions.
Why use it?
It helps reveal problems that ordinary review may miss, such as retry storms, race conditions, data corruption, and resource exhaustion.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps construct edge cases, assess failure severity, and review behavior under concurrency, network problems, invalid input, and boundary conditions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chianw/c31/c31-review-adversarial
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ChianW/C31 --skill c31-review-adversarial
Clone the repo
git clone --depth 1 https://github.com/ChianW/C31

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chianw/c31/c31-review-adversarial"><img src="https://agentmods.dev/badge/skills/chianw/c31/c31-review-adversarial.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 436 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.00000 $0.00436
Opus 5 $0.00000 $0.00218
Sonnet 5 $0.00000 $0.00087
Haiku 4.5 $0.00000 $0.00044

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

Security

Grade A, and why

C31-review-adversarial 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 12d 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.

skills/review/C31-review-adversarial/SKILL.md · 41 lines

What it actually says

Multilingual Triggers

Language Trigger phrases
EN C31-review-adversarial
ZH 对抗审查
JA 対抗レビュー

Output language: Respond automatically in the user's conversation language.

C31-review-adversarial

Purpose

Adversarial reviewer — cross-component failure scenarios, stress-test unstated assumptions, construct edge cases.

Severity Calibration

Level Meaning Fix Timeline
P0 Critical — single failure cascades, data loss on edge case, security breach Block merge
P1 High — retry storm, thundering herd, partial state corruption Fix in PR
P2 Medium — graceful degradation gaps, missing circuit breaker Fix this sprint
P3 Low — additional monitoring/alerting needed Backlog

Review Checklist

  • Failure Propagation — Does a downstream failure kill the caller? Retry loops exponential?
  • Unstated Assumptions — What does code assume about inputs? Network? State? Test those.
  • Edge Cases — Empty collections? Max int? Null/undefined? Timezone boundary? Leap second?
  • Concurrent Access — Race conditions? Double-submit? TOCTOU vulnerabilities?
  • Resource Exhaustion — What happens at memory limit? Disk full? Connection pool drained?
  • Bad Input — Fuzz-test surfaces: oversized payloads, malformed JSON, injection attempts
  • Dependency Failure — What if DB/redis/third-party is slow or returns garbage?
  • State Machine Gaps — Are there transition paths not handled? Invalid states reachable?

Output Format

For each issue: P[0-3] | <attack-vector> | <one-line summary> | <file:line>

Last line: RESILIENCE_SCORE: [0-10] — 10 = no attack surface found, 0 = trivial cascade failure.

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. 12d ago First seen · 41 lines · 0 tokens per session scan A 3088abbdb793

Subscribe to this mod's changes

C31-review-adversarial is a skill published in the GitHub repository ChianW/C31 (1 stars, last pushed 17d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 436 tokens. 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.