/stata-plan

Generate a Stata execution plan from EmpiricalWiki design pages.

77|16|Updated May 9, 2026
One-click install
npx skills add https://github.com/Lambenthan/empiricalwiki --skill stata-plan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: /stata-plan
Source: https://github.com/Lambenthan/empiricalwiki/tree/main/.claude/skills/stata-plan
Command: npx skills add https://github.com/Lambenthan/empiricalwiki --skill stata-plan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you convert an empirical research design captured in the EmpiricalWiki into a concrete Stata execution plan, reducing the back-and-forth of manually translating variables, datasets, models, identification, and robustness into a step-by-step workflow.

Core Features & Use Cases

  • Generate Stata execution plans from wiki context: Reads empirical-design outputs plus variables, datasets, models, robustness, and heterogeneity pages to structure inputs, merges, sample selection, variable construction, and robustness checks.
  • Produce safe, reviewable output: Inserts a replication-oriented checklist and merge/sample/variable distribution guardrails, using Stata-like pseudocode when variable names are uncertain.
  • Optionally create a .do skeleton: By passing the write flag, creates a Stata do-file skeleton alongside the markdown plan without overwriting existing user files.

Quick Start

Run the stata-plan skill for your topic so it generates a Stata execution plan markdown in wiki/outputs (or a do skeleton if you add the write-do flag).

Frequently Asked Questions about /stata-plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert an empirical research design into a Stata execution plan?▼

This Skill generates a Stata execution plan by reading EmpiricalWiki design pages and transforming them into a stepwise workflow that includes merges, sample filtering, variable construction, regressions, and robustness checks.

Can I generate a Stata do-file skeleton from my research wiki automatically?▼

Yes, you can generate a Stata do-file skeleton from your research wiki by passing the write-do flag, which creates a reviewable Stata do-file alongside the markdown plan without overwriting your existing files.

How do I plan robustness checks and heterogeneity analysis in Stata from a wiki design?▼

You can plan robustness checks and heterogeneity analysis in Stata by using this Skill to parse the corresponding EmpiricalWiki pages, automatically structuring them into validation-oriented pseudo-steps within your generated workflow.

Does this Stata regression planning tool invent variable names if they are missing from the wiki?▼

No, this Stata regression planning tool avoids inventing unknown variable names; instead, it uses Stata-like pseudocode and inserts placeholders marked 'needs confirmation' to ensure safe, reviewable output.

What do I need to create a Stata workflow from an EmpiricalWiki design?▼

To create a Stata workflow from an EmpiricalWiki design, you need your empirical-design markdown files and related component pages covering variables, datasets, models, identification, and robustness to serve as inputs.