pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Scaffold a new research project with standard directory structure, CLAUDE.md template, and documented README. Use this at the start of every new project to ensure consistent organization.
Claude Code
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill newproject --agent claude-code
Codex
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill newproject -a codex -y
Cursor
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill newproject -a cursor -y
Gemini CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill newproject -a gemini-cli -y
GitHub Copilot
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill newproject -a github-copilot -y
OpenCode
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill newproject -a opencode -y
Windsurf
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill newproject -a windsurf -y
name: newproject description: Scaffold a new research project with standard directory structure, CLAUDE.md template, and documented README. Use this at the start of every new project to ensure consistent organization. allowed-tools: Bash(mkdir*), Bash(cp*), Bash(ls*), Write, Read argument-hint: "[project-name]"
Create a new research project folder with Scott's standard structure. This skill is invoked at the start of every project.
[project-name]/ ├── CLAUDE.md # Permanent research rules (copied from template) ├── README.md # Project-specific overview (auto-generated) ├── code/ │ ├── R/ │ ├── python/ │ └── stata/ ├── data/ │ ├── raw/ # Original source data (never modify) │ └── clean/ # Cleaned/merged datasets ├── output/ │ ├── tables/ │ └── figures/ ├── documents/ # Outside PDFs, papers (use /split-pdf on these) ├── decks/ # Beamer presentations (rhetoric of decks) ├── notes/ # Scratch notes, random ideas, misc └── progress_logs/ # Session continuity across Claude conversations
1. **Get the project name** from the argument. If none provided, ask.
2. **Determine location** — default is current working directory. Confirm if unclear.
3. **Create all directories:**
mkdir -p [project-name]/{code/{R,stata,python},data/{raw,clean},output/{figures,tables},documents,decks,notes,progress_logs}4. **Copy CLAUDE.md** from `~/mixtapetools/claude/CLAUDE.md`:
5. **Generate README.md** with:
The README must include this tree block:
[project-name]/ ├── CLAUDE.md # Research rules & estimation philosophy (permanent) ├── README.md # This file — project-specific notes ├── code/ │ ├── R/ # R scripts │ ├── python/ # Python scripts │ └── stata/ # Stata do-files ├── data/ │ ├── raw/ # Original source data (never modify these) │ └── clean/ # Cleaned and merged datasets ├── output/ │ ├── tables/ # Generated tables (LaTeX, CSV) │ └── figures/ # Generated figures (PDF, PNG) ├── documents/ # Outside papers and PDFs (split with /split-pdf) ├── decks/ # Beamer presentations (rhetoric of decks philosophy) ├── notes/ # Scratch notes, ideas, miscellaneous └── progress_logs/ # Session logs for continuity across Claude conversations
```` 6. **Create initial progress log** at `progress_logs/YYYY-MM-DD_setup.md`: - Record the creation date - List next steps as a checklist 7. **Report success** — show structure with `ls`, remind user to update CLAUDE.md.
## 🔥 力荐 · 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…