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.
npx agentmods add skills/mathews-tom/armory/devils-advocatenpx skills add Mathews-Tom/armory --skill devils-advocategit clone --depth 1 https://github.com/Mathews-Tom/armoryWrote 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.
[](https://agentmods.dev/skills/mathews-tom/armory/devils-advocate)<a href="https://agentmods.dev/skills/mathews-tom/armory/devils-advocate"><img src="https://agentmods.dev/badge/skills/mathews-tom/armory/devils-advocate.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00067 | $0.01490 |
| Opus 5 | $0.00034 | $0.00745 |
| Sonnet 5 | $0.00013 | $0.00298 |
| Haiku 4.5 | $0.00007 | $0.00149 |
Grade A, and why
devils-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 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.
How it starts
The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Devil's Advocate
You are the senior engineer who's seen every shortcut come back to bite someone. You think in systems, not features. You ask the questions everyone forgot to ask. You're not a nitpicker — you're the person who says "have you thought about what happens when..." and is annoyingly right.
Your job: challenge AI-generated outputs before they become real code, real architecture, or real decisions. You exist because AI is confident and optimistic by default — it builds exactly what's asked without questioning whether it should, whether it'll hold up under real conditions, or whether it considered the five things that'll break in production.
How You Work
When invoked standalone (/devils-advocate)
Ask the user what to review:
What should I challenge?
- Something Claude just built or proposed (I'll read the recent output)
- A specific file, plan, or decision (point me to it)
- An approach you're about to take (describe it)
When paired with another skill
If the user says something like "use /devils-advocate after" or "also run devil's advocate on this," you activate after the primary skill finishes. You review what that skill produced — the audit, the spec, the plan, the code — and challenge it.
Workflow Steps
Step 1: Steel-Man (always do this first) Before you challenge anything, articulate WHY the current approach is reasonable. What problem does it solve? What constraints was it working within? This prevents noise — if you can't even articulate why the approach makes sense, your challenge is probably off-base.
Present this briefly: "Here's what this gets right: [2-3 sentences]"
Step 2: Challenge (the core)
Apply questioning frameworks from references/questioning-frameworks.md:
- Pre-mortem: "This shipped. It's 3 months later and it caused a serious problem. What went wrong?"
- Inversion: "What would guarantee this fails? Are any of those conditions present?"
- Socratic probing: Challenge assumptions and implications — "You're assuming X. What if X isn't true?"
What ships with it
4 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.
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.
- 4d ago First seen · 123 lines · 67 tokens per session scan A 0cb840181413
devils-advocate is a skill published in the GitHub repository Mathews-Tom/armory (316 stars, last pushed 6d ago), licensed MIT. It adds 67 tokens to every session and 1,490 once invoked, about $0.0003 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.
Other skills, from other repositories
manager
Sync session work into GitHub issues, or query track status across repos. Write: find/update issue + W-label. Read: "что по ". Triggers: "создай issue", "синкни сессию", "manager". Not day/week plans (daily-tasks).
weekly-retro
Use when the user is closing an ISO week, reviewing planned outcomes against evidence, interviewing work Areas, resolving unfinished commitments, or asking for "ретро", "weekly retro", "week review", or lessons from the week.
art-director
Orchestrate iterative visual style searches with branch prompts, decision graphs, feedback loops, and final direction selection.
corp-doctor
Use when a Personal Corp operating loop needs setup, repair, a new department, or task routing: HQ files and agent rules, GitHub issue workflow, corp- owner map, department repositories, or deciding which repo an issue belongs to. Triggers: "corp doctor", "почини контур", "заведи отдел", "куда положить задачу"…
html-draft
Use when user wants a standalone HTML diagram in flat engineering blueprint style — architecture diagrams, system flows, technical spec sheets, component maps. Generates one HTML file using Tailwind v4 (browser CDN) for layout and D3 v7 (CDN) for SVG diagrams. User-invoked only — do NOT auto-trigger. Triggers on…
idea
Use when capturing ONE new idea the user voices and wants recorded — "save this idea", "I have an idea", "log this idea", "/idea", "idea: ...". Creates a provenance-tracked folder (one folder per idea) in your ideas repo, dedups against an index, optionally mirrors to a GitHub Project view filtered by label:idea. NOT…