agamottolisted
Install: claude install-skill ShockRock2004/kamar-taj
# Agamotto — Adversarial Code Review with foresight
> **Fork + credit:** Agamotto is a fork of the `adversarial-review` skill by
> dementev-dev (github.com/dementev-dev/adversarial-review, MIT). The review
> machinery below is the original work, preserved. Agamotto adds two things: it
> opens the Eye of Agamotto on summon, and it looks ahead with a foresight
> self-review before spending an external round (see Step 0).
> **Platform:** Claude Code only. This skill orchestrates Claude ↔ Codex interaction, where Claude is the executor and Codex is the external reviewer. Running this skill from Codex CLI itself creates a recursive loop — Codex would try to launch itself. If you are Codex — do NOT invoke this skill; perform the review directly.
Sends current work for adversarial review through an external AI model (OpenAI Codex by default). If codex is not installed or configured, it falls back to a fresh, independent Claude reviewer subagent that plays the same adversarial role. Auto-detects what to review: **plan** or **code**. Claude fixes issues based on reviewer feedback and resubmits until approved. Maximum 5 rounds.
---
## When to invoke
- `/agamotto` — auto-detect what to review
- `/agamotto plan` — force plan review
- `/agamotto code` — force code review
- `/agamotto <file-path>` — review a specific file (argument contains `/` or `.`)
- Override reasoning: `/agamotto xhigh` or `/agamotto medium` (one of: `low`, `medium`, `high`, `xhigh`)
- Override model: `/agamotto