adversarial-authoring
Skill234 starsChanged 8 days agoMITView on GitHub
Use when rules or instructions mention "adversarial-authoring", "adversarial authoring", "must use adversarial-authoring skill", "model council", "cross-model review", or "mixture of models"; coordinates adversarial authoring and review subagents and records council notes.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- acceptance-test-authoringSkill
- architectural-decision-recordsSkill
- c4-diagramsSkill
- gherkin-authoringSkill
- glossarySkill
- grill-meSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-bulk-apply-changeSkill
- openspec-bulk-archive-changeSkill
- openspec-continue-changeSkill
- openspec-exploreSkill
- openspec-git-disciplineSkill
- openspec-new-changeSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-verify-changeSkill
- spec-as-sourceSkill
- test-driven-developmentSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 14 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill when an artifact rule, user request, or instruction says to use adversarial authoring, a model council, cross-model review, …
- Very specific: line 24
Start the authoring round with the adversarial-author subagent.
- Distinctive: line 29
Ask the user only if the disagreement changes product intent or cannot be resolved from available context.
- Distinctive: line 30
Only after both stages complete successfully, write the final artifact to the requested output path as the primary agent.
- Distinctive: line 37
If either stage fails, is unavailable, blocked, or returns an incomplete report (including a missing full author draft), report an …
- Distinctive: line 38
If the user authorizes fallback, the primary agent writes both the artifact and notes.
- Distinctive: line 42
Use these named subagents:
- Distinctive: line 47
Do not substitute other agents unless the user explicitly requests it.
- Distinctive: line 60
If the artifact path is nested, keep the council notes in the same directory as the artifact.
- Distinctive: line 86
Do not include raw model dialogue, hidden chain-of-thought, or full transcripts in the artifact or council notes.
- Very specific: line 87
Keep the authored artifact clean and canonical.
- Distinctive: line 88
Follow the original artifact template and OpenSpec instructions exactly.
- Distinctive: line 89
Do not copy project context or rules verbatim into the final artifact unless the template requires it.
- Distinctive: line 90
Prefer one author round and one review round.
- Distinctive: line 91
If subagent output conflicts, the primary agent owns the final synthesis.
- Distinctive: line 92
Never bypass the completion gates without explicit user authorization for primary-only fallback.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Identify the artifact or task being authored, including its target output path.
- 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
- Start the authoring round with the
adversarial-authorsubagent. Require a completed, successful report containing the full draft; wait for it before starting the reviewer. - Send that full draft and the original task context to the
adversarial-reviewersubagent. Require a completed, successful review report before proceeding. - 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.
- Only after both stages complete successfully, write the final artifact to the requested output path as the primary agent.
- 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.
Subagents
Use these named subagents:
adversarial-author: authors the initial draft.adversarial-reviewer: reviews and challenges the draft.
Do not substitute other agents unless the user explicitly requests it.
Council Notes
For every artifact authored through this skill, create or update a sibling council-notes file.
Naming convention:
proposal.md->proposal.council.mddesign.md->design.council.mdtasks.md->tasks.council.mdspec.md->spec.council.md
If the artifact path is nested, keep the council notes in the same directory as the artifact.
Use this structure:
# Council Notes: <artifact-id-or-file-name>
## Author Summary
<Concise summary of the author draft. Do not include hidden reasoning or raw transcript.>
## Reviewer Challenges
- <Specific objection, gap, ambiguity, or risk raised by the reviewer>
## Resolutions
- Accepted: <Change incorporated into the final artifact and why>
- Rejected: <Suggestion not incorporated and why>
- Deferred: <Issue left unresolved or moved to later work>
## Remaining Risks
- <Risk or uncertainty that remains after reconciliation>Council notes are an audit trail, not the canonical artifact. Keep them concise and useful.
Guardrails
- Do not include raw model dialogue, hidden chain-of-thought, or full transcripts in the artifact or council notes.
- Keep the authored artifact clean and canonical; put process details in the
.council.mdfile. - Follow the original artifact template and OpenSpec instructions exactly.
- Do not copy project context or rules verbatim into the final artifact unless the template requires it.
- Prefer one author round and one review round. Add a second author revision round only when the reviewer identifies a concrete correctness issue.
- If subagent output conflicts, the primary agent owns the final synthesis.
- Never bypass the completion gates without explicit user authorization for primary-only fallback.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

