OpenParable
Skip to content
← Back to skills

Devils Advocate

Research
devils-advocate

Devils Advocate is an Agent Skill for research published in the brycewang-stanford/Auto-Empirical-Research-Skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Challenge research design decisions, assumptions, and methodology choices with specific critical questions. Helps strengthen the paper before submission.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/blob/HEAD/skills/14-luischanci-claude-code-research-starter/dot-claude/skills/devils-advocate/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/devils-advocate, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Devil's Advocate

Critically examine a research design, methodology, or assumption with 5-7 specific challenges.

Steps

  1. Understand the target: Read $ARGUMENTS and any relevant project files (CLAUDE.md, manuscript, estimation code).

  2. Generate 5-7 challenges from these categories:

    • Identification: Could the causal claim be undermined by [specific threat]?
    • Specification: What if the functional form is wrong? Alternative specifications?
    • Data: Are there sample selection issues? Measurement error concerns?
    • Methodology: Could a different estimator give different results? Why this method?
    • Assumptions: Which assumptions are most vulnerable? What if they're violated?
    • Robustness: What robustness checks are missing?
    • External validity: Does this generalize beyond the sample?
  3. For each challenge, provide:

    • The question
    • Why it matters
    • Suggested resolution or robustness check
    • Severity (Critical / Major / Minor)
  4. Summary verdict: Strengths, critical changes needed, and suggested improvements.

Notes

  • Be constructive, not destructive.
  • Think like a skeptical referee at a top journal.
  • Focus on the most impactful challenges first.