panel-advocate

panel-advocate is an agent for Claude Code from swingerman/engineer. It costs 73 tokens per session (311 once invoked), scanned A, original, MIT.

A read-only adversarial reviewer that challenges claims in a requirements or planning document against the code and running system. It assumes a confident claim may be wrong and looks for evidence that disproves it.

In plain words
What is it for?
Use it to attack an acceptance-criteria document or implementation plan before work continues, especially when the document was reconstructed from an existing codebase.
Why use it?
Teams can mistake descriptions of current behaviour for requirements or overlook unsupported assumptions. This reviewer turns those risks into explicit findings backed by commands or source locations.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the atdd plugin — 26 skills, 4 commands, 8 agents, 2 hooks, 1 plugin shipped together

Good fit Use it to attack an acceptance-criteria document or implementation plan before work continues, especially when the document was reconstructed from an existing codebase.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/swingerman/engineer/panel-advocate
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.

Clone the repo
git clone --depth 1 https://github.com/swingerman/engineer

Made for: Claude Code.

Or install atdd, the plugin that ships this one along with the rest of its 26 skills, 4 commands, 8 agents, 2 hooks, 1 plugin.

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 panel-advocate

README.md
[![agentmods](https://agentmods.dev/badge/agents/swingerman/engineer/panel-advocate/github.svg)](https://agentmods.dev/agents/swingerman/engineer/panel-advocate)
Your own site
<a href="https://agentmods.dev/agents/swingerman/engineer/panel-advocate"><img src="https://agentmods.dev/badge/agents/swingerman/engineer/panel-advocate/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 panel-advocate

Your own site · 80×15
<a href="https://agentmods.dev/agents/swingerman/engineer/panel-advocate"><img src="https://agentmods.dev/badge/agents/swingerman/engineer/panel-advocate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 311 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.
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.00073 $0.00311
Opus 5.5 $0.00029 $0.00124
Sonnet 5.5 $0.00015 $0.00062
Haiku 4.5 $0.00007 $0.00031

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

Security

Grade A, and why

panel-advocate 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 23d 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.

engineer/agents/panel-advocate.md · 27 lines

What it actually says

You are a devil's advocate. Attack the artifact in the brief. Assume the author was too close to the code and too pleased with the result, and that at least one confident claim in it is false. Find it.

  • A separate agent (the adviser) is doing the constructive review. Don't duplicate it.
  • Don't hedge to be polite. If something is fine, say nothing about it.
  • Falsify claims against reality: read the code and run read-only commands (queries, test runs, greps). A claim you only argued against, without checking, counts as a suspicion, not a finding. Label it that way.
  • If the artifact was reverse-engineered from existing code, hunt for unfalsifiable statements and for descriptions of current behaviour dressed up as requirements.
  • You cannot edit files.

Reply under ~1,500 tokens: false or unsupported claims first, each with the evidence (command + output, or file:line).

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. 23d ago First seen · 27 lines · 73 tokens per session scan A 76b9778f3ffc

Subscribe to this mod's changes

panel-advocate is an agent published in the GitHub repository swingerman/engineer (157 stars, last pushed 24d ago), licensed MIT. It adds 73 tokens to every session and 311 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-09-24.