Agent skill

Devils Advocate

by pedrohcgs in pedrohcgs/claude-code-my-workflow

Adversarial 5-7 question challenge to a deck's pedagogical choices — ordering, prerequisites, cognitive load, motivation.

MITAuto-check passedDocuments & Office

Install Devils Advocate

skills CLI
$ npx skills add pedrohcgs/claude-code-my-workflow --skill devils-advocate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pedrohcgs/claude-code-my-workflow devils-advocate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/devils-advocate .claude/skills/devils-advocate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
devils-advocate
GitHub stars
1.6k
Used in
2 other repos
Token cost
~641 tokens
SKILL.md length
203 words
Files
1
Skills in repo
59
Repo updated
First seen
Licence
MIT

At a glance

Adversarial 5-7 question challenge to a deck's pedagogical choices — ordering, prerequisites, cognitive load, motivation.

  • Works in 7 steps: Ordering Challenges → Prerequisite Challenges → Gap Challenges → …
  • User says devils advocate
  • SKILL.md covers Setup, Challenge Categories, Output Format and Principles
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Devils Advocate is an agent skill from pedrohcgs/claude-code-my-workflow. Adversarial 5-7 question challenge to a deck's pedagogical choices — ordering, prerequisites, cognitive load, motivation. Use when user says "devil's advocate", "poke holes in this deck", "push back on my slides", "stress-test the design", "what would a skeptical student ask?". Read-only; surfaces questions to force rethinking. Lighter than /pedagogy-review.

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Slides and decks and Load testing. The repository describes itself as: A ready-to-fork Claude Code template for academics using LaTeX/Beamer + R. Multi-agent review, quality gates, adversarial QA, and replication protocols. The licence is MIT.

When your agent uses it

  • User says devils advocate
  • Poke holes in this deck
  • Push back on my slides
  • Stress-test the design

Example prompts

  • “s advocate”
  • “poke holes in this deck”
  • “push back on my slides”
  • “/devils-advocate”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Ordering Challenges
  2. Prerequisite Challenges
  3. Gap Challenges
  4. Alternative Presentation Challenges
  5. Notation Conflict Challenges
  6. Cognitive Load Challenges
  7. Book Vision Challenges

What it can do on your machine

Read from SKILL.md and the folder at commit ae72617. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Devils Advocate loads about 641 tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 203 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~641

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pedrohcgs/claude-code-my-workflow at commit ae72617, republished under its MIT licence (© pedrohcgs). 203 words, ~641 tokens.

Download SKILL.mdSave it as .claude/skills/devils-advocate/SKILL.md (or your agent's skills folder).
name
devils-advocate
description
Adversarial 5-7 question challenge to a deck's pedagogical choices — ordering, prerequisites, cognitive load, motivation. Use when user says "devil's advocate", "poke holes in this deck", "push back on my slides", "stress-test the design", "what would a skeptical student ask?". Read-only; surfaces questions to force rethinking. Lighter than `/pedagogy-review`.
allowed-tools
Read, Grep, Glob
argument-hint
[Lecture filename]
disallowed-tools
Edit, MultiEdit

Devil's Advocate Review

Critically examine a slide deck and challenge its design with 5-7 specific pedagogical questions.

Philosophy: "We arrive at the best possible presentation through active dialogue."


Setup

  1. Read the target file (the lecture being challenged)
  2. Read the knowledge base in .claude/rules/ for notation conventions and narrative arc
  3. If applicable, read adjacent lectures for narrative continuity

Challenge Categories

Generate 5-7 challenges from these categories:

1. Ordering Challenges

"Could students understand this better if we showed X before Y?"

2. Prerequisite Challenges

"Do students have the background for this notation at this point?"

3. Gap Challenges

"Should we include an intuitive example before this formal proof?"

4. Alternative Presentation Challenges

"Here are 2 other ways to visualize/present this concept."

5. Notation Conflict Challenges

"This symbol conflicts with earlier lecture usage."

6. Cognitive Load Challenges

"This slide has too many new symbols. Can we split?"

7. Book Vision Challenges

"If this becomes a book chapter, does this section stand alone?"


Output Format

markdown
# Devil's Advocate: [Lecture Title]

## Challenges

### Challenge 1: [Category] — [Short title]
**Question:** [The specific pedagogical question]
**Why it matters:** [What could go wrong]
**Suggested resolution:** [Specific action]
**Slides affected:** [Numbers or titles]
**Severity:** [High / Medium / Low]

[Repeat for 5-7 challenges]

## Summary Verdict
**Strengths:** [2-3 things done well]
**Critical changes:** [0-2 changes before teaching]
**Suggested improvements:** [2-3 nice-to-have changes]

Principles

  • Be specific: Reference exact slides and notation
  • Be constructive: Every challenge has a suggested resolution
  • Be honest: If the deck is good, say so
  • Prioritize: Notation conflicts > missed metaphors
  • Think like a student: Where do they get lost?

© pedrohcgs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/devils-advocate of pedrohcgs/claude-code-my-workflow.

Open the folder on GitHubat commit ae72617

Used in 2 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in pedrohcgs/claude-code-my-workflow, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Devils Advocate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Devils Advocate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Devils Advocate this skillpedrohcgs/claude-code-my-workflow1.6k2 repos~641Automated safety check: PassMIT
Ambiguity Reportlawve-ai/awesome-legal-skills836—~4.6kAutomated safety check: PassApache-2.0
Academic PresentationsGabberflast/academic-pptx-skill1.1k1 repos~1.9kAutomated safety check: PassProprietary
Lineage SkillJuneYaooo/lineage-skill451—~3.3kAutomated safety check: NotesApache-2.0
Academic Paper to PPTXYuan1z0825/nature-skills46k—~1.1kAutomated safety check: PassApache-2.0
OpenMAIC Deck Style CloneTHU-MAIC/OpenMAIC40k—~4.9kAutomated safety check: PassMIT

Similar skills

  • Ambiguity Report

    lawve-ai/awesome-legal-skills

    Turn an interpretive-ambiguity audit of a legal text — contract, statute, regulation, or judicial opinion — into a polished deliverable.

    836 GitHub stars~4.6k tokensUpdated 6 days ago
    Documents & OfficeAuto-check passed
  • Academic Presentations

    Gabberflast/academic-pptx-skill

    Plans and structures academic decks for conference talks, seminars, thesis defenses and grant briefings, with argument-first slides, and leaves file creation to the PPTX skill.

    1.1k GitHub starsUsed in 1 repo~1.9k tokens
    Documents & OfficeAuto-check passed
  • Lineage Skill

    JuneYaooo/lineage-skill

    Turn courses, books, video, audio, PDFs, slides, transcripts, OCR, notes, and long-form materials into source-grounded learning Skills that teach unseen concepts progressively with reliable terminal…

    451 GitHub stars~3.3k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check: notes
  • Academic Paper to PPTX

    Yuan1z0825/nature-skills

    Creates or revises a Chinese-language academic PPTX deck from a scientific paper or reading notes, reusing the paper's figures and adding speaker notes.

    46k GitHub stars~1.1k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • OpenMAIC Deck Style Clone

    THU-MAIC/OpenMAIC

    Produces a new course in the look of an imported deck by copying the layout that fits each page and rewriting that copy's content element by element.

    40k GitHub stars~4.9k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Interview Ppt

    xujingchen1996/research-app-toolkit

    A skill your agent uses when the user asks to prepare a PhD interview deck, professor meeting slides, research presentation PPT, slide-by-slide speaking notes, or interview visuals.

    134 GitHub stars~1.8k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed

More from pedrohcgs/claude-code-my-workflow

All 59 skills in this repo
  • Vaccinate

    pedrohcgs/claude-code-my-workflow

    Qualify a check before it is allowed to clear anything — prove it can detect the failure it is meant to catch.

    1.6k GitHub stars~2.1k tokensUpdated 10 days ago
    Auto-check: notes
  • Compile Latex

    pedrohcgs/claude-code-my-workflow

    Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex).

    1.6k GitHub starsUsed in 1 repo~492 tokens
    Auto-check: notes
  • Context Status

    pedrohcgs/claude-code-my-workflow

    Show current context status and session health. An agent skill from pedrohcgs/claude-code-my-workflow.

    1.6k GitHub starsUsed in 1 repo~613 tokens
    Auto-check: notes
  • Disclosure Check

    pedrohcgs/claude-code-my-workflow

    Pre-screen analysis outputs (tables, figures, logs) built on restricted or confidential data for statistical-disclosure-limitation problems before any release.

    1.6k GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check: notes
  • Stata Replication

    pedrohcgs/claude-code-my-workflow

    End-to-end Stata replication pipeline — scaffolds numbered .do files in scripts/stata/, executes them via the stata-mcp MCP server, captures logs and outputs to output/, and produces…

    1.6k GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check: notes
  • Capture Environment

    pedrohcgs/claude-code-my-workflow

    Snapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and emits the right lockfiles (renv.lock + sessionInfo.txt, requirements.txt /…

    1.6k GitHub stars~2.8k tokensUpdated 10 days ago
    Auto-check: notes

Questions about Devils Advocate

What does Devils Advocate do?

Adversarial 5-7 question challenge to a deck's pedagogical choices — ordering, prerequisites, cognitive load, motivation. Devils Advocate is an agent skill from pedrohcgs/claude-code-my-workflow. Adversarial 5-7 question challenge to a deck's pedagogical choices — ordering, prerequisites, cognitive load, motivation.

When should I use Devils Advocate?

Devils Advocate fits situations like: user says devils advocate; poke holes in this deck; push back on my slides; stress-test the design.

How do I install Devils Advocate in Claude Code?

Run `npx skills add pedrohcgs/claude-code-my-workflow --skill devils-advocate -a claude-code`. Or copy the skill folder (.claude/skills/devils-advocate in pedrohcgs/claude-code-my-workflow) into .claude/skills/devils-advocate in your project. Claude Code loads it when a task matches its description.

How do I install Devils Advocate in Codex?

Run `npx skills add pedrohcgs/claude-code-my-workflow --skill devils-advocate -a codex`. Or copy the skill folder (.claude/skills/devils-advocate in pedrohcgs/claude-code-my-workflow) into .agents/skills/devils-advocate in your project. Codex loads it when a task matches its description.

Can I use Devils Advocate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pedrohcgs/claude-code-my-workflow --skill devils-advocate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/devils-advocate, .gemini/skills/devils-advocate, .github/skills/devils-advocate and .opencode/skills/devils-advocate in your project.

What does Devils Advocate need to run?

SKILL.md names no scripts, command-line tools or credentials: Devils Advocate is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob.

Does Devils Advocate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Devils Advocate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Devils Advocate use?

Devils Advocate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Devils Advocate use?

About 641 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Devils Advocate?

Skills that share tags, products or a category with Devils Advocate: Ambiguity Report (lawve-ai/awesome-legal-skills, 836 stars), Academic Presentations (Gabberflast/academic-pptx-skill, 1.1k stars), Lineage Skill (JuneYaooo/lineage-skill, 451 stars) and Academic Paper to PPTX (Yuan1z0825/nature-skills, 46k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Devils Advocate?

pedrohcgs (a GitHub user) maintains it in pedrohcgs/claude-code-my-workflow, which has 1,645 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on September 27, 2026.

Source: pedrohcgs/claude-code-my-workflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.