pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Explore methodological approaches through structured analysis before planning implementation
Claude Code
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill workflows-brainstorm --agent claude-code
Codex
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill workflows-brainstorm -a codex -y
Cursor
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill workflows-brainstorm -a cursor -y
Gemini CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill workflows-brainstorm -a gemini-cli -y
GitHub Copilot
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill workflows-brainstorm -a github-copilot -y
OpenCode
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill workflows-brainstorm -a opencode -y
Windsurf
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill workflows-brainstorm -a windsurf -y
name: workflows:brainstorm description: Explore methodological approaches through structured analysis before planning implementation argument-hint: "<research question or methodological problem>" allowed-tools: Read, Glob, Bash
**Pipeline mode:** This command operates fully autonomously. All decisions are made automatically.
Brainstorming helps answer **WHAT** approach to take through structured analysis. It precedes `/workflows:plan`, which answers **HOW** to implement it.
**Process knowledge:** See `references/brainstorming-techniques.md` for detailed question techniques, approach exploration patterns, and parsimony principles.
<feature_description> #$ARGUMENTS </feature_description>
**If the research question above is empty:** Infer the question from recent context — open files, recent conversation, or the project's estimation code. If no context is available, state "No research question provided" and stop.
Evaluate whether brainstorming is needed based on the research question.
**Clear requirements indicators:**
**If requirements are already clear:** Skip brainstorming and note: "Requirements are detailed enough to proceed directly to planning. Run `/workflows:plan` to continue." Then stop.
**If requirements need exploration:** Proceed to Phase 1.
Run a targeted scan to understand existing patterns and related methods:
Focus on: existing estimation code, identification strategies used in this project, methodology documented in papers or notes.
Analyze the research question systematically without user interaction:
1. **Core question**: What is the fundamental methodological decision being made? 2. **Constraints**: What data limitations, computational budgets, or identification requirements constrain the choice? 3. **Prior art**: What has this project already done that's similar? What methods are established in the literature? 4. **Success criteria**: What would a good solution look like? (e.g., consistent estimation, reasonable computational cost, testable identification)
Document findings from the research agent and decomposition. If the question is ambiguous, pick the most natural interpretation given the project context and note the assumption.
Propose **2-3 concrete methodological approaches** based on research and analysis.
For each approach, provide:
| Criterion | Approach A | Approach B | Approach C | |-----------|-----------|-----------|-----------| | **Description** | 2-3 sentence summary | 2-3 sentence summary | 2-3 sentence summary | | **Theoretical properties** | Consistency, efficiency, robustness to misspecification | ... | ... | | **Identification requirements** | What assumptions are needed? How testable are they? | ... | ... | | **Computational cost** | Estimation time, convergence difficulty, parallelizability | ... | ... | | **Data requirements** | Sample size needs, variable availability, panel structure | ... | ... | | **Software availability** | Packages (Python/R/Julia), maturity, documentation | ... | ... | | **Monte Carlo evidence** | Finite-sample performance from methodology literature | ... | ... |
**Recommendation:** Select the simplest approach that satisfies the identification requirements. Apply parsimony — prefer well-understood methods with established software implementations over novel approaches unless the research question specifically demands novelty.
Document why the recommended approach was chosen and what conditions would favor the alternatives.
**Entry condition:** Phase 2 comparison table is complete with all criteria filled for all approaches. **Exit condition:** Document written to docs/brainstorms/ with all required YAML frontmatter fields.
Write the brainstorm output to `docs/brainstorms/<topic>-requirements.md` with YAML frontmatter:
--- status: active date: YYYY-MM-DD topic: <descriptive topic> ---
If `docs/brainstorms/` contains a recent document matching this topic, ask the user: "Found existing brainstorm on this topic. Continue from it, or start fresh?"
Write a brainstorm document to `docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md`.
Ensure `docs/brainstorms/` directory exists before writing.
**Document structure:**
--- title: [Brainstorm Topic] date: YYYY-MM-DD status: complete recommended-approach: [Name of recommended approach] --- # [Brainstorm Topic] ## Research Question [The question being explored] ## Problem Decomposition - Core question: [...] - Key constraints: [...] - Prior art in this project: [...] - Success criteria: [...] ## Approaches Compared ### Approach A: [Name] - **Description:** [...] - **Theoretical properties:** [...] - **Identification requirements:** [...] - **Computational cost:** [...] - **Data requirements:** [...] - **Software:** [...] - **Monte Carlo evidence:** [...] - **Verdict:** [...] ### Approach B: [Name] [Same structure] ### Approach C: [Name] (if applicable) [Same structure] ## Recommendation **Selected: [Approach Name]** [Why this approach. What conditions would favor alternatives. Key tradeoffs accepted.] ## Key Decisions - [Decision 1 and rationale] - [Decision 2 and rationale] ## Assumptions Made - [Any assumptions made during autonomous analysis] ## Open Questions - [Questions that should be resolved during planning or implementation] ## References - [Methodological papers cited] - [Software doc
## 🔥 力荐 · 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…