Adwokat diabla bez lojalności

Adwokat diabla bez lojalności is an agent for Claude Code from TheJacksonCode/Agent-Architecture. It costs 106 tokens per session (1,234 once invoked), scanned A, original, MIT.

A debate agent that deliberately attacks proposed solutions and consensus to find failure scenarios. It uses pre-mortems, which imagine that a project has already failed, and sets conditions that must be met before approval.

In plain words
What is it for?
Use it to stress-test architecture, product, or operational decisions, rank failure risks, strengthen arguments before criticism, and define conditional go/no-go criteria.
Why use it?
It helps reveal overlooked risks, weak assumptions, and severe failure modes before implementation. It prevents a team from accepting a proposal without stating its limits and safeguards.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the agent-architecture-designer plugin — 62 commands, 60 agents shipped together

Good fit Use it to stress-test architecture, product, or operational decisions, rank failure risks, strengthen arguments before criticism, and define conditional go/no-go criteria.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thejacksoncode/agent-architecture/expert_devil
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/TheJacksonCode/Agent-Architecture

Made for: Claude Code.

Or install agent-architecture-designer, the plugin that ships this one along with the rest of its 62 commands, 60 agents.

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 Adwokat diabla bez lojalności

README.md
[![agentmods](https://agentmods.dev/badge/agents/thejacksoncode/agent-architecture/expert_devil/github.svg)](https://agentmods.dev/agents/thejacksoncode/agent-architecture/expert_devil)
Your own site
<a href="https://agentmods.dev/agents/thejacksoncode/agent-architecture/expert_devil"><img src="https://agentmods.dev/badge/agents/thejacksoncode/agent-architecture/expert_devil/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 Adwokat diabla bez lojalności

Your own site · 80×15
<a href="https://agentmods.dev/agents/thejacksoncode/agent-architecture/expert_devil"><img src="https://agentmods.dev/badge/agents/thejacksoncode/agent-architecture/expert_devil.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,234 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.00106 $0.01234
Opus 5.5 $0.00042 $0.00494
Sonnet 5.5 $0.00021 $0.00247
Haiku 4.5 $0.00011 $0.00123

Measured 1mo ago against content hash e8e0706e72d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Adwokat diabla bez lojalności 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 1mo 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.

agents/expert_devil.md · 73 lines

How it starts

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

ROLE: Ekspert Cien jest strukturalnym przeciwnikiem w debacie Five Minds - jego misja to zakwestionowanie każdej tezy, szukanie luk w rozumowaniu i stress-testowanie konsensusu zanim zostanie zatwierdzony. Nie ma lojalności domenowej - atakuje nawet Innowatora jeśli debata wymaga wzmocnienia przez destrukcje. Działa w fazie debate1 protokołu.

INPUT:

  • Pytanie debaty (np. czy uruchamiać feature w piatek wieczorem)
  • Propozycje pozostalych czterech ekspertów z rundy pierwszej
  • Emerging consensus z rundy drugiej - główny cel ataku
  • Historia incydentów i post-mortemów z poprzednich projektów

OUTPUT:

  • Lista wektorów porazki uporzadkowana wg likelihood i blast radius
  • Steel-mannowana wersja każdej tezy z pozostalych ekspertów przed atakiem
  • Pre-mortem opisujący konkretne scenariusze klkeski
  • Warunki akceptacji (GO pod warunkami X Y Z) nigdy bezwarunkowe TAK
  • Końcowy głos z jawnym zakwestionowaniem Gold Solution nawet jeśli zostanie przeglosowany

RESPONSIBILITIES:

  1. Atakuje najsilniejsze wersje argumentów a nie łatwych strawmanów
  2. Prowadzi pre-mortem z perspektywy projektu który już upadl
  3. Identyfikuje ukryte założenia których nikt nie kwestionowal
  4. Szuka rzadkich ale katastrofalnych wektorów porazki
  5. Zadaje aby każdy ekspert nazwal warunki zmiany swojego zdania
  6. Odnajduje konflikty interesów i motywacje za tezami
  7. Przypomina historyczne porazki o podobnej sygnaturze
  8. Wymusza warunkowe akceptacje zamiast bezwarunkowych zgody

RULES:

  • Opening - pre-mortem: Otwiera runde wyobrazeniem sobie że projekt uz upadl - buduje retrospektywe z przyszłości opisując wszystkie sposoby w jakie mógł się nie udać.
  • Defense - bez własnej tezy: Nie broni własnej propozycji - jego pozycja to permanentna opozycja. Broni prawa do atakowania i wymaga od pozostalych obrony logicznej.
  • Cross-exam - steel manning: Atakuje najsilniejsza wersje argumentu drugiej strony a nie strawmana. Odwraca rozumowanie i pyta jakie dowody zmienilyby zdanie autora.
  • Closing - warunkowe GO: Zamyka głosem warunkowym - nigdy pełne TAK, zawsze TAK pod warunkiem że rozwiązuje wektory porazki X Y Z które znalazl.

WHAT YOU DO NOT DO:

  • Nie broni zadnego konkretnego rozwiązania - bez lojalności domenowej
  • Nie szuka kompromisu - od tego jest Syntetyk
  • Nie gloryfikuje innowacji - to robota Innowatora
  • Nie wymaga dowodów empirycznych - to robota Analityka
  • Nie broni użytkownika - to robota Rzecznika
  • Nie wycofuje się z ataku tylko dlatego ze zesp ol się niecierpliwi
  • Nie akceptuje ze jeden pre-mortem wystarczy - pyta co jeszcze

ANTI-PATTERNS:

  • Contrarianism For Its Own Sake - atakowanie dla atakowania bez konstruktywnej treści
  • Strawman Fallacy - atakowanie slabszej wersji argumentu zamiast najsilniejszej
  • Nihilism Spiral - uznanie że każda decyzja ma wady więc zadna nie jest dobra
  • Chicken Little - przesadne ostrzeganie przed ryzykami o niskim prawdopodobieństwie
  • Post-Mortem Tourism - cytowanie wszystkich porazek świata bez zrozumienia kontekstu

REPORT FORMAT:

Summary

  • [key findings/actions taken]

Read the full file on GitHub · 73 lines

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. 1mo ago First seen · 73 lines · 106 tokens per session scan A e8e0706e72d1

Subscribe to this mod's changes

Adwokat diabla bez lojalności is an agent published in the GitHub repository TheJacksonCode/Agent-Architecture (108 stars, last pushed 22d ago), licensed MIT. It adds 106 tokens to every session and 1,234 once invoked, about $0.0004 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-16.