pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Discovery phase combining research interviews, literature search, data discovery, and ideation. Routes to appropriate agents based on arguments. Replaces /interview-me, /lit-review, /find-data, /research-ideation.
Claude Code
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill discover --agent claude-code
Codex
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill discover -a codex -y
Cursor
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill discover -a cursor -y
Gemini CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill discover -a gemini-cli -y
GitHub Copilot
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill discover -a github-copilot -y
OpenCode
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill discover -a opencode -y
Windsurf
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill discover -a windsurf -y
name: discover description: Discovery phase combining research interviews, literature search, data discovery, and ideation. Routes to appropriate agents based on arguments. Replaces /interview-me, /lit-review, /find-data, /research-ideation. argument-hint: "[mode: interview | lit | data | ideate] [topic or query]" allowed-tools: Read,Grep,Glob,Write,Edit,WebSearch,WebFetch,Task
Launch the Discovery phase of research. Routes to the appropriate agents based on the mode specified.
**Input:** `$ARGUMENTS` — a mode keyword followed by a topic or query.
---
If no mode keyword is given, start with an interactive interview to build the research specification.
Conduct a structured conversational interview to formalize a research idea.
**This is conversational.** Ask questions directly in your text responses, one or two at a time. Wait for the user to respond before continuing. Do NOT use AskUserQuestion.
**Agents:** Direct conversation (no agent dispatch) **Output:** Research specification + domain profile
Interview structure: 1. **Big Picture** (1-2 questions): "What phenomenon are you trying to understand?" "Why does this matter?" 2. **Theoretical Motivation** (1-2 questions): "What's your intuition for why X happens?" "What would standard theory predict?" 3. **Data and Setting** (1-2 questions): "What data do you have access to?" "Is there a specific institutional setting?" 4. **Identification** (1-2 questions): "Is there a natural experiment or policy change you can exploit?" "What's the biggest threat to causal interpretation?" 5. **Expected Results** (1-2 questions): "What would you expect to find?" "What would surprise you?" 6. **Contribution** (1 question): "How does this differ from what's been done? What gap are you filling?"
Interview style:
After interview (5-8 exchanges), produce:
**Output 1: Research Specification** → `quality_reports/research_spec_[topic].md`
# Research Specification: [Title] ## Research Question — [one sentence] ## Motivation — [why this matters, theoretical context, policy relevance] ## Hypothesis — [testable prediction with expected direction] ## Empirical Strategy — [method, treatment, control, identifying assumption, robustness] ## Data — [primary dataset, key variables, sample, unit of observation] ## Expected Results — [what the researcher expects and why] ## Contribution — [how this advances the literature] ## Open Questions — [issues needing further thought]
**Output 2: Domain Profile** → `.claude/references/domain-profile.md` (if still template) Fill in field, target journals, common data sources, identification strategies, field conventions, seminal references, and referee concerns based on the interview.
Search and synthesize academic literature.
**Agents:** Librarian (collector) → librarian-critic (reviewer) **Output:** Annotated bibliography + BibTeX entries + frontier map
Workflow: 1. Read `.claude/references/domain-profile.md` for field journals and seminal references 2. Check `master_supporting_docs/` for uploaded papers 3. Read `bibliography_base.bib` for papers already in the project 4. Dispatch Librarian to search:
5. Assign **proximity scores** to each paper:
6. Dispatch librarian-critic to check coverage, gaps, recency, scope 7. If gaps found, re-dispatch Librarian for targeted search (max 1 round) 8. Save to `quality_reports/lit_review_[topic].md`
**Unverified citations:** If you cannot verify a citation, mark the BibTeX entry with `% UNVERIFIED`. Do NOT fabricate or guess citation details. Note when working papers have been published — cite the published version.
Output format for each paper:
### [Author (Year)] — [Short Title] - **Journal:** [venue] - **Proximity:** [1-5 score] - **Main contribution:** [1-2 sentences] - **Identification strategy:** [DiD / IV / RDD / SC / descriptive] - **Key finding:** [result with effect size] - **Relevance:** [why it matters for our research]
Find and assess datasets for the research question.
**Agents:** Explorer (finder) → explorer-critic (assessor) **Output:** Ranked data sources with feasibility grades
Workflow: 1. Read research spec and strategy memo if they exist 2. Read `.claude/references/domain-profile.md` for common data sources in the field 3. Understand what variables are needed: treatment, outcome, controls, time period, geography 4. Dispatch Explorer to search across source categories:
## 🔥 力荐 · StatsPAI — Stata 与 R 的 Python 平替,为 AI Agent 而生 🔁 Stata / R 平替:reghdfe、csdid、rdrobust、synth、fixest、did 等常用命令在 Python 中一站式替代,一个 import statspai as sp 搞定 DID / RD / IV / SCM / DML / matching 🤖 面向 Agent 设计:结构化结果对象 + 内置 MCP Server,Claude / Codex
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics…
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid +…
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven +…
Systematic writing framework for philosophy and interdisciplinary academic papers from optimized outline to submission-ready…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…