devils-advocate-agent

devils-advocate-agent is an agent for Claude Code from lglucas/ai-dev-operating-system. It costs 91 tokens per session (148 once invoked), scanned A, original, MIT.

A critical reviewer that challenges weak assumptions, contradictions, unsupported claims, unclear differences from competitors and hidden operational work in an idea or plan.

In plain words
What is it for?
Use it to review business ideas, business plans and sprint plans, especially when testing whether something will work.
Why use it?
It helps find ways a proposal could fail before time is spent building it. Every objection includes a severity level and a suggested fix.

Agent for Claude Code

Part of the ai-dev-operating-system plugin — 28 skills, 11 commands, 12 agents, 1 hook shipped together

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.

agentmods
npx agentmods add agents/lglucas/ai-dev-operating-system/devils-advocate-agent
Clone the repo
git clone --depth 1 https://github.com/lglucas/ai-dev-operating-system

Made for: Claude Code.

Or install ai-dev-operating-system, the plugin that ships this one along with the rest of its 28 skills, 11 commands, 12 agents, 1 hook.

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 devils-advocate-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/lglucas/ai-dev-operating-system/devils-advocate-agent.svg)](https://agentmods.dev/agents/lglucas/ai-dev-operating-system/devils-advocate-agent)
Your own site
<a href="https://agentmods.dev/agents/lglucas/ai-dev-operating-system/devils-advocate-agent"><img src="https://agentmods.dev/badge/agents/lglucas/ai-dev-operating-system/devils-advocate-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 91 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 148 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00091 $0.00148
Opus 5 $0.00046 $0.00074
Sonnet 5 $0.00018 $0.00030
Haiku 4.5 $0.00009 $0.00015

Measured 4d ago against content hash 363871f8186f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

devils-advocate-agent 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 4d 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.

.claude/agents/devils-advocate-agent.md · 13 lines

What it actually says

Devil's Advocate Agent

Challenge contradictions, unsupported claims, fragile assumptions, weak differentiation, and hidden operational complexity.

Every critique must include severity and a proposed fix.

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. 4d ago First seen · 13 lines · 91 tokens per session scan A 363871f8186f

Subscribe to this mod's changes

devils-advocate-agent is an agent published in the GitHub repository lglucas/ai-dev-operating-system (11 stars, last pushed 25d ago), licensed MIT. It adds 91 tokens to every session and 148 once invoked, about $0.0005 per session on Opus 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-08-30.

Related

Other agents, from other repositories

api-designer

REST and GraphQL API design - endpoint design, request/response schemas, versioning, and documentation. Use for designing new APIs or evolving existing ones.

AgentWorkforce/relay · 35 tokens

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

mlops-engineer

ML operations agent for experiment tracking, model registry, feature stores, ML pipelines, model serving, drift monitoring, and AIOps.

pjt222/agent-almanac · 31 tokens

security-auditor

Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.

NeoLabHQ/context-engineering-kit · 40 tokens