agent-virtual-office: Skill for Codex

.agents/skills/red-team-adversarial/SKILL.md

red-team-adversarial is a skill for Codex from KbWen/agent-virtual-office. It costs 50 tokens per session (1,602 once invoked), scanned A, a copy of red-team-adversarial, MIT.

A code-review and testing guide that looks for ways an attacker could exploit a change or make it fail under extreme conditions.

In plain words
What is it for?
Use it to examine attack surfaces, test system boundaries, try authentication bypasses, inspect dependency risks, and stress-test changes.
Why use it?
It adds attack-focused checks to normal security reviews, helping uncover weaknesses that a checklist may miss.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is KbWen/agent-virtual-office's own configuration. It tells Codex how to work on agent-virtual-office itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-virtual-office configures →

Reuse

Borrowing it

Nothing to install: this file belongs to KbWen/agent-virtual-office. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/KbWen/agent-virtual-office/main/.agents/skills/red-team-adversarial/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/KbWen/agent-virtual-office

Made for: 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 red-team-adversarial

README.md
[![agentmods](https://agentmods.dev/badge/skills/kbwen/agent-virtual-office/red-team-adversarial/github.svg)](https://agentmods.dev/skills/kbwen/agent-virtual-office/red-team-adversarial)
Your own site
<a href="https://agentmods.dev/skills/kbwen/agent-virtual-office/red-team-adversarial"><img src="https://agentmods.dev/badge/skills/kbwen/agent-virtual-office/red-team-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 red-team-adversarial

Your own site · 80×15
<a href="https://agentmods.dev/skills/kbwen/agent-virtual-office/red-team-adversarial"><img src="https://agentmods.dev/badge/skills/kbwen/agent-virtual-office/red-team-adversarial.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,602 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 100% copy Near-identical to another mod 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.00050 $0.01602
Opus 5 $0.00025 $0.00801
Sonnet 5 $0.00010 $0.00320
Haiku 4.5 $0.00005 $0.00160

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

Security

Grade A, and why

red-team-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 10d 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.

Origin

This is a copy

100% identical to red-team-adversarial — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/red-team-adversarial/SKILL.md · 178 lines

How it starts

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

Red Team / Adversarial Testing

Overview

This skill applies adversarial thinking to code changes: instead of checking against a compliance list (that's what security_guardrails.md does), it actively asks "how would an attacker exploit this change?" and "what breaks under extreme conditions?"

It complements — never replaces — the existing OWASP security scan in /review.

Ironclad Rules

  1. No bypass of governance: This skill executes within /review and /test phases only. It cannot override gates, skip phases, or alter classification.
  2. Severity honesty: Only mark CRITICAL when there is a concrete, exploitable attack path with evidence (file:line). Speculative risks are HIGH at most.
  3. Additive only: Red Team findings supplement existing security findings — never contradict or override them.

When to Use (Auto-Trigger Matrix)

AI MUST check the task classification from the Work Log and apply this matrix automatically:

Classification        │ /review          │ /test
──────────────────────┼──────────────────┼─────────────────
tiny-fix              │ —                │ —
quick-win             │ —                │ —
hotfix                │ Lite Red Team    │ Lite Adversarial (1-2 cases)
feature               │ Full Red Team    │ Adversarial Cases
architecture-change   │ Full Red Team    │ Adversarial Cases + Beast Mode

Auto-trigger logic: During /review or /test, read Classification: from the active Work Log. If classification is hotfix, feature, or architecture-change, execute the corresponding mode below. No user action required.

Modes

Lite Red Team (hotfix)

Minimal overhead (≤300 tokens output). Focus exclusively on the fix point:

  1. Fix-Point Attack Vector: Does the fix itself introduce a new attack surface? (e.g., a validation fix that changes error behavior, a permission fix that alters fallback logic)
  2. Regression Attack: Could an attacker exploit the old behavior to bypass the fix? (e.g., race condition in the fix window)

Read the full file on GitHub · 178 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 178 lines · 50 tokens per session scan A 22dddc01d6e1

Subscribe to this mod's changes

red-team-adversarial is a skill published in the GitHub repository KbWen/agent-virtual-office (18 stars, last pushed 2d ago), licensed MIT. It adds 50 tokens to every session and 1,602 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to red-team-adversarial, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

verify-change

A change-checking skill that reviews code differences and checks whether related documentation, tests, and records were updated.

fengshao1227/ccg-workflow · 65 tokens

verify-module

A module-checking skill that scans a project’s folders, code, and documentation. It expects each module to include a README.md and DESIGN.md, which explain how the module is used and why it was designed that way.

fengshao1227/ccg-workflow · 61 tokens

verify-quality

A code-quality checker that measures complexity, size, naming, and common code smells. It reports problems such as duplicated code, unused code, and overly long functions.

fengshao1227/ccg-workflow · 64 tokens

recipe-front-review

Reviews completed frontend implementation for governing-source compliance, scope economy, repository quality, and security, then applies user-approved React corrections.

shinpr/claude-code-workflows · 29 tokens

red-team-review

Unified adversarial review: v4.3 Strategic Matrix (MTA-004). 7-phase framework: Priors → Rubric → Adversarial Lenses → SWOT/TOWS → MCDA Decision Engine → Blind Spot/Kill Switch → Executive Summary. Absorbs: bias-detector.

winstonkoh87/Athena-Public · 65 tokens

devtools-vite-plugin

Configure @tanstack/devtools-vite for source inspection (data-tsd-source, inspectHotkey, ignore patterns), console piping (client-to-server, server-to-client, levels), enhanced logging, server event bus (port, host, HTTPS), production stripping (removeDevtoolsOnBuild), editor integration (launch-editor, custom…

TanStack/devtools · 93 tokens