Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By James-Traina·v0.8.1·MIT·In 1 marketplace
Reviews estimation code and identification arguments, and builds replication packages for quantitative social science papers. Ambient hooks run on every prompt and at session start, detecting project context without being asked.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin for quantitative social science research: structural econometrics, causal inference, game theory, applied micro, identification arguments, Monte Carlo studies, and reproducible pipelines.
Every time you solve a methodological problem — a convergence fix, an identification argument, a numerical issue — that solution gets documented and made findable. The next project starts where the last one left off.
Empirical research in economics involves a lot of repeated pattern-matching: figuring out which DiD estimator applies when treatment timing is staggered, checking whether your BLP instruments are weak, making sure simulation seeds are set before you write down results, formatting a table to AER style. These problems have standard answers. Finding the right answer at the moment you need it is still slow.
The plugin intercepts your workflow and surfaces relevant expertise without you having to ask. When you write estimation code, it suggests the econometric-reviewer. When a session ends without standard errors being discussed, it flags it. When you open a project, it detects your estimation language and data structure. The idea is that you focus on the research question, not the checklist.
This plugin does not write papers, generate datasets, or replace your judgment. It catches common methodology mistakes and keeps solutions findable for next time.
The core loop is Plan → Work → Review → Compound → Repeat.
Plan (/workflows:plan): You describe the task. The plugin creates an implementation plan, choosing between minimal, moderate, and detailed levels based on complexity. For a BLP demand model, this means settling the inner-loop choice (NFXP vs MPEC), the instruments, the standard errors, and the robustness checks before any code is written.
Work (/workflows:work): The plan executes with quality gates. If optimization fails, the numerical-auditor investigates. If the model produces implausible elasticities, the econometric-reviewer flags it.
Review (/workflows:review): Domain-specific review agents examine your work in parallel. The econometric-reviewer checks identification. The numerical-auditor checks floating-point stability and gradient accuracy. The identification-critic evaluates your exclusion restrictions. The journal-referee tries to find reasons to reject the paper. The econometric-reviewer, for instance, knows to ask about Montiel Olea-Pflueger effective F rather than Stock-Yogo, and about clustered wild bootstrap for staggered DiD, not just generic clustering.
Compound (/workflows:compound): Solutions get documented into docs/solutions/ by category (identification, estimation, numerical, methodology). Future sessions search this via the solution schema. The knowledge base grows as the project does.
Run /lfg [task] to chain all four steps automatically. Run /slfg [task] to parallelize review and compound with agent swarms.
Five ambient hooks run without being invoked.
When you open a session, the plugin scans your project for .py/.R/.do files, Makefile/Snakemake/DVC, data/ directories, and .tex files, then configures itself for your language, project type, and data setup.
When you submit a prompt, the plugin classifies it across 14 domain categories and adds relevant context to the response. If you ask "is this estimate large?", it notes that you should first confirm whether your identification assumptions hold — evaluating magnitudes before validating the design is a common mistake.
When a session ends, the plugin checks completeness conditions. Cross-cutting checks (unvalidated merges, unseeded scripts, unversioned pip, absolute paths, sensitivity analysis, replication package, DiD pre-trends, IV first-stage) run in the Stop hook. Agent-specific checks (missing SEs, unseeded simulations, unstated regularity conditions) run via the SubagentStop hook after econometric-reviewer, numerical-auditor, and mathematical-prover complete. The Stop hook uses Sonnet for deeper reasoning.
Via the science-plugins marketplace (recommended — enables one-command updates):
/plugin marketplace add James-Traina/science-plugins
/plugin install compound-science@science-plugins
Or directly from GitHub:
claude plugin install https://github.com/James-Traina/compound-science
Or from a local clone:
claude plugin install /path/to/compound-science
To update after a new release:
/plugin update compound-science
# Full autonomous pipeline: plan, implement, review, document
/lfg estimate a BLP demand model for the cereal dataset
7-day copy clicks
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: outputStyles: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground