oak-adversarial-review

oak-adversarial-review is a skill for Claude Code, Codex from jcarlosrodicio/opencode-agent-orchestration-kit. It costs 68 tokens per session (1,333 once invoked), scanned A, original, Apache-2.0.

An independent code-review process that examines every changed file while assuming the change may be broken. It checks findings against the task and diff, then gives an explicit verdict.

In plain words
What is it for?
It is for red-team reviews of diffs, including checking coverage, finding concrete breakages, fact-checking findings, and reviewing changes in a fresh context.
Why use it?
Passing tests do not prove that a change is correct, and ordinary review can miss files, edge cases, or findings based on a misunderstanding.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit It is for red-team reviews of diffs, including checking coverage, finding concrete breakages, fact-checking findings, and reviewing changes in a fresh context.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jcarlosrodicio/opencode-agent-orchestration-kit/oak-adversarial-review
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 jcarlosrodicio/opencode-agent-orchestration-kit --skill oak-adversarial-review
Clone the repo
git clone --depth 1 https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jcarlosrodicio/opencode-agent-orchestration-kit/oak-adversarial-review"><img src="https://agentmods.dev/badge/skills/jcarlosrodicio/opencode-agent-orchestration-kit/oak-adversarial-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,333 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.00068 $0.01333
Opus 5.5 $0.00027 $0.00533
Sonnet 5.5 $0.00014 $0.00267
Haiku 4.5 $0.00007 $0.00133

Measured 17d ago against content hash 219b85486ae5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

oak-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 17d 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.

opencode/skills/oak-adversarial-review/SKILL.md · 139 lines

How it starts

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

Adversarial Review

Overview

Green tests show only that the tests pass. This review starts from the opposite assumption: the change is broken somewhere, and the job is to find where. It adds a coverage contract and a fact-check to the canonical review, so that no changed file goes unexamined and no finding survives on a misreading.

The coverage contract and the drop grounds in Stage 4 follow alibaba/open-code-review (Apache-2.0).

Stance and context boundary

  • Attack; do not praise. A finding that cannot be demonstrated is not a finding.
  • Every finding names a file, a line and a concrete input or sequence of steps that breaks it.
  • Build your view from the task artifacts (spec, acceptance criteria, plan) and the diff. Do not read the author's notes, the developer summary, run events or an autonomy log until your findings are written. Checking run status is allowed.
  • Run in a fresh subagent context, never in the session that wrote the change.

Stage 1 Coverage

  1. List every changed file as (path, status), where status is added, modified, deleted or renamed.
  2. Every file ends as reviewed or skipped. A skip needs a concrete reason, such as "generated file" or "lockfile". "Looked minor" is not a reason.
  3. Reviewing a file does not cover its counterpart. A changed interface, test or config is its own entry.
  4. Publish the counts: files in the change, reviewed and skipped.

Stage 2 Attack plan

For each risk you suspect, write down before reading further:

  • the expected severity;
  • the stake: where it happens, what breaks and who would notice;
  • exactly what you must read to confirm or refute it.

Then read that, and confirm or drop the risk. Do not pad the plan with risks you have no reason to suspect.

Stage 3 Dimensions

Attack each reviewed file along these nine dimensions:

  1. Assumptions. Does the code assume a value exists, is non-empty, is unique, is ordered or arrives only once?
  2. State preconditions. What state must hold before this runs, and what happens when it does not?
  3. Authorization. Is access checked, including on every new read path?
  4. Input handling. Empty, whitespace-only, maximum length, wrong type, encoding, unicode, and injection into a query, a shell, a template or a log.
  5. Concurrency and idempotency. Two callers at once; the same request twice.
  6. Error paths. What does the caller actually see when this fails?
  7. Spec drift. Behavior the spec asked for that is missing, and behavior the diff adds that nobody asked for.
  8. Conventions. Consistency with the conventions the repository documents.
  9. Architecture. Conformance with the project's own declared rules only, never with rules you would prefer.

Read the full file on GitHub · 139 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. 17d ago First seen · 139 lines · 68 tokens per session scan A 219b85486ae5

Subscribe to this mod's changes

oak-adversarial-review is a skill published in the GitHub repository jcarlosrodicio/opencode-agent-orchestration-kit (133 stars, last pushed 18d ago), licensed Apache-2.0. It adds 68 tokens to every session and 1,333 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-09-29.

Related

Other skills, from other repositories