adversarial-authoring

adversarial-authoring is a skill for Claude Code, Codex from intent-driven-dev/intent-driven-template. It costs 65 tokens per session (1,031 once invoked), scanned A, original, MIT.

A review process in which one configured agent writes a draft and another challenges it before the final version is produced. It is intended for instructions that call for adversarial authoring, cross-model review, or a model council.

In plain words
What is it for?
Use it when an artifact needs a draft, an independent challenge, and a recorded review process before completion.
Why use it?
It reduces the risk that one perspective misses errors or requirements. The primary agent then weighs the review against the original task and project rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents); mentions OpenCode.

Good fit Use it when an artifact needs a draft, an independent challenge, and a recorded review process before completion.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/intent-driven-dev/intent-driven-template/adversarial-authoring
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 intent-driven-dev/intent-driven-template --skill adversarial-authoring
Clone the repo
git clone --depth 1 https://github.com/intent-driven-dev/intent-driven-template

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-authoring

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/intent-driven-dev/intent-driven-template/adversarial-authoring"><img src="https://agentmods.dev/badge/skills/intent-driven-dev/intent-driven-template/adversarial-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,031 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00065 $0.01031
Opus 5.5 $0.00026 $0.00412
Sonnet 5.5 $0.00013 $0.00206
Haiku 4.5 $0.00006 $0.00103

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

Security

Grade A, and why

adversarial-authoring 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 13d 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.

.agents/skills/adversarial-authoring/SKILL.md · 93 lines

How it starts

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

Adversarial Authoring

Use this skill when an artifact rule, user request, or instruction says to use adversarial authoring, a model council, cross-model review, or a mixture of models.

The goal is to reduce single-perspective bias by having one configured subagent author the work and another configured subagent challenge it before the primary agent writes the final artifact.

Required Workflow

  1. Identify the artifact or task being authored, including its target output path.
  2. Gather the full task context before calling subagents:
    • User request
    • Relevant OpenSpec instruction JSON
    • Artifact template
    • Project context
    • Artifact-specific rules
    • Dependency artifacts already completed
  3. Start the authoring round with the adversarial-author subagent. Require a completed, successful report containing the full draft; wait for it before starting the reviewer.
  4. Send that full draft and the original task context to the adversarial-reviewer subagent. Require a completed, successful review report before proceeding.
  5. Reconcile the completed review yourself as the primary agent:
    • Accept corrections that improve correctness, clarity, requirements coverage, or risk handling.
    • Reject suggestions that conflict with the user request, artifact template, OpenSpec instructions, or project rules.
    • Ask the user only if the disagreement changes product intent or cannot be resolved from available context.
  6. Only after both stages complete successfully, write the final artifact to the requested output path as the primary agent.
  7. As the primary agent, write council notes beside the artifact using the naming convention below.

Completion gates (all CLIs)

  • A launch acknowledgement, child/session ID, progress update, or blocked report is not successful completion. Inspect the returned report for stage completion and the required content; do not infer success from a notification alone.
  • For background children, wait for the harness's native completion notification/report before advancing. OpenCode children run in the background and report when idle; idle does not necessarily mean success. Do not poll or invent wait/status tools.
  • If either stage fails, is unavailable, blocked, or returns an incomplete report (including a missing full author draft), report an incomplete round and ask the user before proceeding with primary-only fallback. Do not fabricate a completed review, final artifact, or completed council notes.
  • If the user authorizes fallback, the primary agent writes both the artifact and notes. Explicitly identify the omitted or incomplete stage and the authorization in the notes; do not claim a complete council round or invent that stage's findings.

Read the full file on GitHub · 93 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. 13d ago Changed · +5 lines ce53df9299cc
  2. 3mo ago First seen · 88 lines · 65 tokens per session scan A c62e94322478

Subscribe to this mod's changes

adversarial-authoring is a skill published in the GitHub repository intent-driven-dev/intent-driven-template (241 stars, last pushed 13d ago), licensed MIT. It adds 65 tokens to every session and 1,031 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-30.

Related

adversarial-authoring compared with skills from other repositories

adversarial-authoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adversarial-authoringintent-driven-dev/intent-driven-templateSkill24113d agoMITA65Claude Code, Codex
seats-aeroborski/travel-hacking-toolkitSkill1.1k5d agoMITA78Claude Code
scandinavia-transitborski/travel-hacking-toolkitSkill1.1k5d agoMITA49Claude Code
southwestborski/travel-hacking-toolkitSkill1.1k5d agoMITA40Claude Code
amex-travelborski/travel-hacking-toolkitSkill1.1k5d agoMITA47Claude Code
compare-flightsborski/travel-hacking-toolkitSkill1.1k5d agoMITA46Claude Code
status-matchborski/travel-hacking-toolkitSkill1.1k5d agoMITA48Claude Code