Great-Econometrics Plugin

A comprehensive econometrics plugin for end-to-end empirical research automation — from research question scoping, literature review, and identification strategy design, through data fetching and cleaning, econometric modeling, code generation, results analysis, table and figure production, full-paper writing, and conference presentation.
Installation
Via Claude Code Plugin (Recommended)
# Step 1: Add the marketplace
/plugin marketplace add zhouziyue233/great-econometrics
# Step 2: Install the plugin
/plugin install econometrics@great-econometrics
Manual Installation
git clone https://github.com/zhouziyue233/great-econometrics.git
cd great-econometrics
/plugin install .
Overview
This plugin implements a 9-phase iterative empirical research workflow targeting the standards of Top-5 economics journals (AER, QJE, JPE, ReStud, Econometrica). Each phase maps to dedicated slash commands, skills, and agents that work together under a unified system prompt in CLAUDE.md.
[Phase 1] Research Question
↕
[Phase 2] Literature Review
↕
[Phase 3] Identification Strategy
↕
[Phase 4] Data Preparation & EDA
↕
[Phase 5] Econometric Model
↕
[Phase 6] Code Execution
↕
[Phase 7] Results & Visualization
↕
[Phase 8] Robustness & Heterogeneity
↕
[Phase 9] Full Paper Writing
↕
Peer Review Response & Iteration
File Structure
great-econometrics/
├── .claude-plugin/
│ ├── plugin.json # Plugin metadata
│ └── marketplace.json # Claude marketplace
├── CLAUDE.md # Agent 9-phase workflow
├── .env # Environment variables
│
├── shared/ # Cross-command reusable modules
│ ├── context-reader.md # Upstream file reading protocol (Step 0)
│ └── output-standards.md # LaTeX/figure/table formatting standards
│
├── hooks/
│ └── hooks.json # SessionStart banner + Stop phase-completion prompt
│
├── commands/ # Slash commands — one per workflow phase
│ ├── question.md # /question · Phase 1: Research question scoping
│ ├── analyze.md # /analyze · Phase 3: Identification strategy memo
│ ├── data.md # /data · Phase 4: Data fetch, clean & EDA
│ ├── model.md # /model · Phase 5: Formal model specification
│ ├── code.md # /code · Phase 6: Code generation & execution
│ ├── plot.md # /plot · Phase 7: Tables & figures
│ ├── robustness.md # /robustness· Phase 8: Robustness & hetero checks
│ ├── write.md # /write · Phase 9: Full paper drafting
│ └── present.md # /present · Beamer slides (optional, no phase number)
│
├── agents/
│ └── checker.md # Parallel robustness/heterogeneity/mechanism checks (Phase 8)
│
└── skills/ # Estimation, output & utility skills
│
├── — Causal Inference —
├── iv-estimation/ # IV / 2SLS
├── did-analysis/ # DID / TWFE, event study, staggered DID
├── rdd-analysis/ # Sharp / fuzzy RDD, bandwidth selection, validity tests
├── synthetic-control/ # Abadie SCM, augmented SCM, synthetic DID, etc
├── ml-causal/ # Causal forest (GRF), Double ML, etc
│
├── — Regression & Panel —
├── ols-regression/ # OLS, assumption tests, robust / clustered SE
├── panel-data/ # FE / RE, two-way FE, Hausman, dynamic panels (GMM)
│ └── references/
│ ├── panel-reference.md # Diagnostics: poolability, serial corr, unit roots, cointegration
│ └── panel-ldv-advanced.md # Advanced: FD estimator, conditional logit, PPML, Cox PH
├── time-series/ # ADF / KPSS, ARIMA, VAR / VECM, etc
│
├── — Output & Presentation —
├── results-analysis/ # Descriptive stats, coefficient interpretation, etc
├── table/ # Multi-model regression tables, LaTeX
├── figure/ # Event study, binscatter, RDD, density, coefplot
├── beamer-ppt/ # LaTeX Beamer slide decks for conferences & seminars
│
├── — Data & Literature —
├── data-pipeline/ # End-to-end: API fetch + clean + validate
├── literature-review/ # Phase 2: search, summarise & synthesise literature
├── scrapling/ # Web scraping toolkit for custom data collection
│
├── — Writing —
├── paper-writing/ # Full paper drafting to Top-5 journal standards
│
└── — Software Reference —