agamotto

agamotto is a skill for Claude Code, Codex from ShockRock2004/kamar-taj. It costs 91 tokens per session (17,496 once invoked), scanned B, original, MIT.

An adversarial review process for Claude Code that sends code or plans to a separate AI reviewer, then applies fixes and repeats the review until approval or the round limit.

In plain words
What is it for?
Use it to review implementation plans or code. It is intended for Claude Code and uses Codex, or a separate Claude reviewer when Codex is unavailable.
Why use it?
It adds an independent challenge to the work, helping expose problems the original agent may have missed.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also runs codex exec. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/dementev/sources/myproject.

Good fit Use it to review implementation plans or code. It is intended for Claude Code and uses Codex, or a separate Claude reviewer when Codex is unavailable.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 agamotto

README.md
[![agentmods](https://agentmods.dev/badge/skills/shockrock2004/kamar-taj/agamotto/github.svg)](https://agentmods.dev/skills/shockrock2004/kamar-taj/agamotto)
Your own site
<a href="https://agentmods.dev/skills/shockrock2004/kamar-taj/agamotto"><img src="https://agentmods.dev/badge/skills/shockrock2004/kamar-taj/agamotto/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 agamotto

Your own site · 80×15
<a href="https://agentmods.dev/skills/shockrock2004/kamar-taj/agamotto"><img src="https://agentmods.dev/badge/skills/shockrock2004/kamar-taj/agamotto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 17,496 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00091 $0.17496
Opus 5 $0.00046 $0.08748
Sonnet 5 $0.00018 $0.03499
Haiku 4.5 $0.00009 $0.01750

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

Security

Grade B, and why

agamotto scanned grade B with 1 finding 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 12d 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

ls ~/.claude/skills/agamotto/references/runner.md 2>/dev/null
agamotto/SKILL.md · 1,110 lines

How it starts

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

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 model:gpt-5.4 (argument with model: prefix)
  • Override Codex sandbox: /agamotto sandbox:read-only (one of: read-only, workspace-write, danger-full-access, inherit)
  • Override Codex approval policy: /agamotto approvals:user (one of: user, auto_review, never)
  • Choose reviewer: /agamotto reviewer:claude (or reviewer:codex) — default auto-detects; uses codex if installed, else falls back to a fresh Claude reviewer subagent.

Overrides can be combined: /agamotto plan xhigh sandbox:read-only.

Read the full file on GitHub · 1,110 lines

Files

What ships with it

5 files 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. 12d ago First seen · 1,110 lines · 91 tokens per session scan B 90e0aae8895c

Subscribe to this mod's changes

agamotto is a skill published in the GitHub repository ShockRock2004/kamar-taj (4 stars, last pushed 1mo ago), licensed MIT. It adds 91 tokens to every session and 17,496 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

senior-engineering-partner

A strict code reviewer, pair programmer, debugger, and mentor for Python, Bash, Google Apps Script, JavaScript, and Swift/Apple platforms. Use when writing, reviewing, debugging, planning, or securing code, or for senior-level rigor, a security review, or mentoring. Mode triggers — REVIEW: (critique + refactor)…

bjgreenberg/senior-engineering-partner · 244 tokens

shipcheck

Senior-QA review of a code change before you ship it. Sizes the diff, then launches QA reviewers — a regression hunter ("does this break anything that already worked?") and a change reviewer ("does this actually do what it claims, including edge cases?") — and consolidates ONE evidence-based SIGN OFF / SIGN OFF WITH…

lohani-mohit/shipcheck · 154 tokens

security-review

Code security review covering OWASP Top 10, injection prevention (SQL, XSS, command injection), authentication and authorization patterns, secrets management, dependency vulnerability scanning, input validation, CORS, CSRF, rate limiting, and security headers. Language-agnostic with examples in JavaScript, Python, and…

medy-gribkov/arcana · 79 tokens

frontend-code-review

Review React/TypeScript frontend code against code quality, performance, and business logic rules. Provides structured findings with file paths, line numbers, and suggested fixes.

medy-gribkov/arcana · 36 tokens

code-reviewer

Code review workflow for local changes and remote PRs. Reviews focus on correctness, maintainability, security, and test coverage with concrete examples and inline comments.

medy-gribkov/arcana · 35 tokens

codebase-analysis

Systematic codebase analysis and pre-production review. 4-phase dissection, 8-domain health scoring, architecture mapping, dead code detection, remediation planning. Use when auditing or onboarding to any codebase.

medy-gribkov/arcana · 46 tokens