ai-adversarial-loop SKILL.md skillA

ai-adversarial-loop from arcasilesgroup/ai-engineering is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add arcasilesgroup/ai-engineering/ai-adversarial-loop@git:20260926.b0fd9cf

Pins git:20260926.b0fd9cf in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
arcasilesgroup/ai-engineering
Path
skills/ai-adversarial-loop/SKILL.md
Versions recorded
1
Latest version
git:20260926.b0fd9cf, committed Sep 26, 2026
Size
4,573 bytes
Repository stars
62
License
Apache-2.0

Coordinate a multi-round debate between two agents until the code is clean. adversarial-reviewer (the critic) assumes everything is wrong; fixer implements fixes or disputes them with evidence. They exchange findings through a shared thread file, and each keeps its memory across rounds. Use as the orchestrator's review gate, or when the user asks for an adversarial review-and-fix loop on recent changes (e.g. "/ai-adversarial-loop", "have the critic and fixer go at checkpoint 3").

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Adversarial loop

You are the **coordinator**. You run in the main session because only the main session can start and resume agents. Subagents can't launch other agents, and agent-team teammates can't be the lead. You never review code or fix it yourself, and you **never read the thread file**. You pass turns between the two agents and act on their short returns.

## Setup

- **Thread file:** under `/ai-orchestrator`, it's `.ai-engineering/workflow/reviews/<slug>-<id>.md`. Standalone, it's `.ai-engineering/workflow/reviews/<topic>-<YYYY-MM-DD>.md`. Create it with a header: the checkpoint's goal and acceptance criteria (or the user's scope), the `changed_files`, and the verify commands. Nothing else.
- **Scope:** the checkpoint slice and `changed_files`. Standalone, it's `git diff HEAD` plus untracked files, and the verify commands are the full test suite, lint and build from the **Project config** section of `AGENTS.md`.
- **Under `/ai-orchestrator`,** prompts start with the gate markers: `[checkpoint <slug>#<id> review]` for the critic and `[checkpoint <slug>#<id> fix]` for the fixer.

## Rounds (at most 4)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add arcasilesgroup/ai-engineering/ai-adversarial-loop@sha256:bda5c3a60bff9a46

The line at the top of this page pins the label git:20260926.b0fd9cf, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wjg4kco3bjiiw5vw.svg)](https://markdownregistry.com/a/art_wjg4kco3bjiiw5vw)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 26, 2026.

versioncommittedcommitsizeaudit
git:20260926.b0fd9cf latest2026-09-26 b0fd9cf 4,573 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4573 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

arcasilesgroup/ai-engineering · 62 stars · license Apache-2.0 · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wjg4kco3bjiiw5vw
GET https://markdownregistry.com/api/v1/resolve?ref=arcasilesgroup/ai-engineering/ai-adversarial-loop
GET https://markdownregistry.com/api/v1/blob/bda5c3a60bff9a468db53926178117e26b4170546e09f929323c3290b0d97833

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from arcasilesgroup/ai-engineering

AGENTS.md AGENTS.md file
arcasilesgroup/ai-engineering · AGENTS.md
git:20261004.3e3bd00 · audit A · 62 stars
ai-agents-md SKILL.md skill
arcasilesgroup/ai-engineering · skills/ai-agents-md/SKILL.md · Creates, audits and maintains the AGENTS.md a repository owes its coding agents, following the agents.md convention…
git:20260929.4338d92 · audit A · 62 stars
ai-architect SKILL.md skill
arcasilesgroup/ai-engineering · skills/ai-architect/SKILL.md · Research and advise on the best way to approach a software project, including architecture, tech stack, implementation…
git:20260926.b0fd9cf · audit A · 62 stars
ai-audit-code SKILL.md skill
arcasilesgroup/ai-engineering · skills/ai-audit-code/SKILL.md · Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen…
git:20261004.3e3bd00 · audit A · 62 stars
ai-audit-design SKILL.md skill
arcasilesgroup/ai-engineering · skills/ai-audit-design/SKILL.md · Use when a web interface needs its visual defects found and fixed with measurements rather than opinions — misaligned…
git:20260926.b0fd9cf · audit B · 62 stars
ai-audit-docs SKILL.md skill
arcasilesgroup/ai-engineering · skills/ai-audit-docs/SKILL.md · Audits documentation files against actual repo state. Detects dead references (links to nonexistent files/URLs), false…
git:20260923.5ad45c5 · audit A · 62 stars
ai-brainstorm SKILL.md skill
arcasilesgroup/ai-engineering · skills/ai-brainstorm/SKILL.md · Use when the user brings a fuzzy idea that must be pinned down before research or planning — "handshake", "get on the…
git:20260929.3986acb · audit A · 62 stars
ai-code-review SKILL.md skill
arcasilesgroup/ai-engineering · skills/ai-code-review/SKILL.md · Comprehensive code review skill. Two modes: diff review for over-engineering findings (ranked, compact), and debt…
git:20260923.5ad45c5 · audit A · 62 stars
ai-codegraph SKILL.md skill
arcasilesgroup/ai-engineering · skills/ai-codegraph/SKILL.md · Semantic code intelligence via MCP: call chains, blast radius, cross-file symbol relationships. Uses CodeGraph…
git:20260923.5ad45c5 · audit A · 62 stars
ai-config-to-project SKILL.md skill
arcasilesgroup/ai-engineering · skills/ai-config-to-project/SKILL.md · Adapts a governed project's architecture rules, config, overrides, and AGENTS.md after ai-eng init. Manual only. Writes…
git:20260929.3986acb · audit B · 62 stars
ai-debug SKILL.md skill
arcasilesgroup/ai-engineering · skills/ai-debug/SKILL.md · Finds the root cause of broken behaviour and names it at file:line, then writes the check that fails for that reason…
git:20260926.b0fd9cf · audit A · 62 stars
ai-design-md-planner SKILL.md skill
arcasilesgroup/ai-engineering · skills/ai-design-md-planner/SKILL.md · Interviews the user about their product and visual taste, commits to a specific referenced aesthetic direction, and…
git:20260926.b0fd9cf · audit A · 62 stars

Every file in arcasilesgroup/ai-engineering

Browse by kind, by grade A, or by owner.