Stata Python Translation
brycewang-stanford/Auto-Empirical-Research-Skills
Stata-to-Python translation for data analysis. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.
Develop high-performance C/C++ plugins for Stata using the stplugin.h SDK.
$ npx skills add dylantmoore/stata-skill --skill stata-c-plugins -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dylantmoore/stata-skill stata-c-plugins --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dylantmoore/stata-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/stata-c-plugins/skills/stata-c-plugins .claude/skills/stata-c-plugins && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "stata-c-plugins" agent skill from https://github.com/dylantmoore/stata-skill/tree/main/plugins/stata-c-plugins/skills/stata-c-plugins into .claude/skills/stata-c-plugins/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-c-plugins", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dylantmoore/stata-skill/tree/main/plugins/stata-c-plugins/skills/stata-c-pluginsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dylantmoore/stata-skill --skill stata-c-plugins -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dylantmoore/stata-skill stata-c-plugins --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dylantmoore/stata-skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/stata-c-plugins/skills/stata-c-plugins .agents/skills/stata-c-plugins && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "stata-c-plugins" agent skill from https://github.com/dylantmoore/stata-skill/tree/main/plugins/stata-c-plugins/skills/stata-c-plugins into .agents/skills/stata-c-plugins/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-c-plugins", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dylantmoore/stata-skill --skill stata-c-plugins -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dylantmoore/stata-skill stata-c-plugins --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dylantmoore/stata-skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/stata-c-plugins/skills/stata-c-plugins .cursor/skills/stata-c-plugins && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "stata-c-plugins" agent skill from https://github.com/dylantmoore/stata-skill/tree/main/plugins/stata-c-plugins/skills/stata-c-plugins into .cursor/skills/stata-c-plugins/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-c-plugins", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dylantmoore/stata-skill.git --path plugins/stata-c-plugins/skills/stata-c-plugins--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dylantmoore/stata-skill --skill stata-c-plugins -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dylantmoore/stata-skill stata-c-plugins --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dylantmoore/stata-skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/stata-c-plugins/skills/stata-c-plugins .gemini/skills/stata-c-plugins && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "stata-c-plugins" agent skill from https://github.com/dylantmoore/stata-skill/tree/main/plugins/stata-c-plugins/skills/stata-c-plugins into .gemini/skills/stata-c-plugins/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-c-plugins", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dylantmoore/stata-skill stata-c-pluginsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dylantmoore/stata-skill --skill stata-c-plugins -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dylantmoore/stata-skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/stata-c-plugins/skills/stata-c-plugins .github/skills/stata-c-plugins && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "stata-c-plugins" agent skill from https://github.com/dylantmoore/stata-skill/tree/main/plugins/stata-c-plugins/skills/stata-c-plugins into .github/skills/stata-c-plugins/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-c-plugins", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dylantmoore/stata-skill --skill stata-c-plugins -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dylantmoore/stata-skill stata-c-plugins --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dylantmoore/stata-skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/stata-c-plugins/skills/stata-c-plugins .opencode/skills/stata-c-plugins && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "stata-c-plugins" agent skill from https://github.com/dylantmoore/stata-skill/tree/main/plugins/stata-c-plugins/skills/stata-c-plugins into .opencode/skills/stata-c-plugins/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-c-plugins", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
stata-c-pluginsDevelop high-performance C/C++ plugins for Stata using the stplugin.h SDK.
Stata C Plugins is an agent skill from dylantmoore/stata-skill. Develop high-performance C/C++ plugins for Stata using the stplugin.h SDK. Use when the user asks to create a Stata plugin, write C/C++ code for Stata, accelerate a Stata command with C, build cross-platform Stata plugins, or translate/port a Python or R package into Stata. Covers the full lifecycle: SDK setup, data flow, memory safety, .ado wrappers with preserve/merge, cross-platform compilation, performance optimization (pthreads, pre-sorted indices, XorShift RNG), debugging, and distribution via net install…
Its SKILL.md is about 5.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/cpp_plugins.md`, `references/packaging_and_help.md` and `references/performance_patterns.md`).
It sits in Research & Science, covering Econometrics and empirical research and Translation. It works with C++, Python and macOS. The repository describes itself as: Claude Code skill for writing correct, idiomatic Stata code — covers syntax, data management, econometrics, causal inference, graphics, Mata, and 20 community packages.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 33a7efc. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
brewdockerbashapt-getmakeFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
raw.githubusercontent.comAlso links to:
stata.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Stata C Plugins loads about 5.8k tokens when it runs, and up to ~23k if it reads all its reference files. Until then it costs about 174 tokens; SKILL.md has 2,314 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 2,314 words (~5,848 tokens).
“Build high-performance C/C++ plugins for Stata. This skill covers the full lifecycle from SDK setup through cross-platform distribution, based on real experience building production Stata plugins for statistical imputation, random forests, string matching, and causal inference.”
SKILL.md and 5 other files (references) in plugins/stata-c-plugins/skills/stata-c-plugins of dylantmoore/stata-skill.
Open the folder on GitHubat commit 33a7efc
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in dylantmoore/stata-skill, which our catalogue first saw on October 7, 2026.
Stata C Plugins next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Stata C Plugins this skilldylantmoore/stata-skill | 291 | 1 repos | ~5.8k | Automated safety check: Pass | Custom licence | |
| Stata Python Translationbrycewang-stanford/Auto-Empirical-Research-Skills | 4.5k | — | ~6.2k | Automated safety check: Pass | Custom licence | |
| NSFC Abstract Writerhuangwb8/ChineseResearchLaTeX | 2.9k | 1 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Edge Bringupexeex/edge-cores | 110 | — | ~1.7k | Automated safety check: Notes | Apache-2.0 | |
| Smooth Translationopenforecast-org/smooth | 107 | — | ~2.2k | Automated safety check: Pass | LGPL-2.1 | |
| Capture Environmentpedrohcgs/claude-code-my-workflow | 1.7k | — | ~2.8k | Automated safety check: Notes | MIT |
brycewang-stanford/Auto-Empirical-Research-Skills
Stata-to-Python translation for data analysis. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.
huangwb8/ChineseResearchLaTeX
Writes Chinese and English abstracts for NSFC grant applications, with a recommended title and five alternatives, within set character limits.
exeex/edge-cores
Prepare a macOS or Ubuntu machine for edge-e3 development, diagnose missing Verilator/LLVM/Python dependencies, initialize the public repository, and answer or act on the example prompts in the root…
openforecast-org/smooth
Port a feature from the R smooth package to the Python port, or check how an R name maps to Python.
pedrohcgs/claude-code-my-workflow
Snapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and emits the right lockfiles (renv.lock + sessionInfo.txt, requirements.txt /…
SepineTam/mcp-for-stata
A skill your agent uses when you need to find Stata on the user's machine or configure stata-mcp to use it.
dylantmoore/stata-skill
Comprehensive Stata reference for writing correct .do files, data management, econometrics, causal inference, graphics, Mata programming, and 20 community packages (reghdfe, estout, did, rdrobust…
dylantmoore/stata-skill
Guide for contributing to the stata-skill project. An agent skill from dylantmoore/stata-skill.
Categories
Develop high-performance C/C++ plugins for Stata using the stplugin.h SDK. Stata C Plugins is an agent skill from dylantmoore/stata-skill.h SDK.
Stata C Plugins fits situations like: the user asks to create a Stata plugin; write C/C++ code for Stata; accelerate a Stata command with C; build cross-platform Stata plugins.
Run `npx skills add dylantmoore/stata-skill --skill stata-c-plugins -a claude-code`. Or copy the skill folder (plugins/stata-c-plugins/skills/stata-c-plugins in dylantmoore/stata-skill) into .claude/skills/stata-c-plugins in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dylantmoore/stata-skill --skill stata-c-plugins -a codex`. Or copy the skill folder (plugins/stata-c-plugins/skills/stata-c-plugins in dylantmoore/stata-skill) into .agents/skills/stata-c-plugins in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dylantmoore/stata-skill --skill stata-c-plugins -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stata-c-plugins, .gemini/skills/stata-c-plugins, .github/skills/stata-c-plugins and .opencode/skills/stata-c-plugins in your project.
Going by SKILL.md and its folder, Stata C Plugins needs the command-line tools its instructions call (brew, docker, bash, apt-get and make). Our summary lists: Python 3; Docker.
SKILL.md names 2 domains. In commands or code: raw.githubusercontent.com; the agent is likely to contact it when it follows the instructions. As links in the text: stata.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Stata C Plugins has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 5.8k tokens (SKILL.md is roughly 23k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 17k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Stata C Plugins: Stata Python Translation (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars), NSFC Abstract Writer (huangwb8/ChineseResearchLaTeX, 2.9k stars), Edge Bringup (exeex/edge-cores, 110 stars) and Smooth Translation (openforecast-org/smooth, 107 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dylantmoore (a GitHub user) maintains it in dylantmoore/stata-skill, which has 291 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on April 10, 2026.
Source: dylantmoore/stata-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.