Agent skill

Stata Setup

by majiayu000 in majiayu000/claude-skill-registry

Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code.

MITAuto-check passedResearch & Science

Install Stata Setup

skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill stata-setup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install majiayu000/claude-skill-registry stata-setup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/bash/stata-setup .claude/skills/stata-setup && rm -rf skills-src

Use ~/.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/

Facts

Skill name
stata-setup
GitHub stars
666
Used in
1 other repo
Token cost
~516 tokens
SKILL.md length
196 words
Files
2
Skills in repo
1,273
Repo updated
First seen
Licence
MIT

At a glance

Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code.

  • Works in 6 steps: Stata discovery and edition → uv / uvx availability → package availability for reghdfe and… → …
  • S ask to set up the Stata toolkit
  • SKILL.md covers Preferred Install Commands, What the Installer Does, Verification Standard and Troubleshooting
  • Calls bash

What it does

Stata Setup is an agent skill from majiayu000/claude-skill-registry. Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code. Activate when users ask to set up the Stata toolkit or troubleshoot the installation.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`).

It sits in Research & Science, covering Econometrics and empirical research. It works with Model Context Protocol, Visual Studio Code and Bash. The repository describes itself as: Searchable Claude Code skills catalog with source-linked guides and generated registry artifacts. The licence is MIT.

When your agent uses it

  • S ask to set up the Stata toolkit
  • Troubleshoot the installation

Example prompts

  • “/stata-setup”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Stata discovery and edition
  2. uv / uvx availability
  3. package availability for reghdfe and gtools
  4. graph-export readiness
  5. log-path emission for command output
  6. startup/profile behavior

What it can do on your machine

Read from SKILL.md and the folder at commit 2d14a69. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Stata Setup loads about 516 tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 196 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~516

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from majiayu000/claude-skill-registry at commit 2d14a69, republished under its MIT licence (© majiayu000). 196 words, ~516 tokens.

Download SKILL.mdSave it as .claude/skills/stata-setup/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
stata-setup
description
Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code. Activate when users ask to set up the Stata toolkit or troubleshoot the installation.

Setup and Verification

Use the shared installer and verification flow instead of hand-writing per-agent config unless the user explicitly asks for manual steps.

Preferred Install Commands

Project-shared install:

bash
bash plugin/install.sh --scope project

Personal install:

bash
bash plugin/install.sh --scope user

Specific agent:

bash
bash plugin/install.sh --agent codex

Pin a version if a lab wants to:

bash
bash plugin/install.sh --version 2.5.1

Offline/local source:

bash
bash plugin/install.sh --local-source /path/to/mcp-stata

Live verification:

bash
bash plugin/install.sh --verify

What the Installer Does

  • Uses the canonical server id mcp-stata
  • Writes project-scoped configs where the client supports them
  • Falls back to user-scoped config where project scope is not first-class
  • Installs Codex skills into the Codex skills directory
  • Installs the Gemini extension from plugin/gemini-extension.json
  • Registers shared ~/.agents/skills/mcp-stata symlinks for compatible agents
  • Supports latest-by-default installs and explicit version pinning

Verification Standard

When the user asks whether setup is complete, verify more than “the file exists”:

  1. Stata discovery and edition
  2. uv / uvx availability
  3. package availability for reghdfe and gtools
  4. graph-export readiness
  5. log-path emission for command output
  6. startup/profile behavior

If live verification is not possible on the current machine, state exactly what remains unverified.

Troubleshooting

  • If Stata is not discovered, tell the user to set STATA_PATH.
  • If a user-managed machine blocks temp files, logs, or graph export, use the stata-environment-diagnose skill.
  • If project-wide configs are undesirable, re-run with --scope user.

© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/bash/stata-setup of majiayu000/claude-skill-registry.

  • SKILL.md
  • metadata.json

Open the folder on GitHubat commit 2d14a69

Used in 1 other repository

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 majiayu000/claude-skill-registry, which our catalogue first saw on October 8, 2026.

Compare with similar skills

Stata Setup 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.

Stata Setup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Stata Setup this skillmajiayu000/claude-skill-registry6661 repos~516Automated safety check: PassMIT
Stata AuditSepineTam/mcp-for-stata264—~1.2kAutomated safety check: PassAGPL-3.0
Diagnostic DofileSepineTam/mcp-for-stata264—~1.2kAutomated safety check: PassAGPL-3.0
Stata Replicationpedrohcgs/claude-code-my-workflow1.6k1 repos~2.1kAutomated safety check: NotesMIT
Stata DiscoverSepineTam/mcp-for-stata264—~1.7kAutomated safety check: PassAGPL-3.0
Rfc Impl GeneratorSepineTam/mcp-for-stata264—~1.1kAutomated safety check: PassAGPL-3.0

Similar skills

  • Stata Audit

    SepineTam/mcp-for-stata

    Inspect, validate, summarize, and render local Stata-MCP audit evidence under .statamcp.

    264 GitHub stars~1.2k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Diagnostic Dofile

    SepineTam/mcp-for-stata

    A skill your agent uses when the user needs to inspect, audit, or diagnose the safety of a Stata do-file.

    264 GitHub stars~1.2k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Stata Replication

    pedrohcgs/claude-code-my-workflow

    End-to-end Stata replication pipeline — scaffolds numbered .do files in scripts/stata/, executes them via the stata-mcp MCP server, captures logs and outputs to output/, and produces…

    1.6k GitHub starsUsed in 1 repo~2.1k tokens
    Research & ScienceAuto-check: notes
  • Stata Discover

    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.

    264 GitHub stars~1.7k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Rfc Impl Generator

    SepineTam/mcp-for-stata

    Generate RFC and IMPL documents from a user-provided feature/fix description.

    264 GitHub stars~1.1k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Stata Skill

    SepineTam/mcp-for-stata

    A packaged Stata Runner skill via official MCP-for-Stata server including statado, adopackageinstall, help, readlog and getdatainfo tools.

    264 GitHub stars~2.7k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed

More from majiayu000/claude-skill-registry

All 1,273 skills in this repo
  • Deep Research

    majiayu000/claude-skill-registry

    Multi-source deep research using firecrawl and exa MCPs. An agent skill from majiayu000/claude-skill-registry.

    666 GitHub starsUsed in 6 repos~1.1k tokens
    Auto-check passed
  • Exa Search

    majiayu000/claude-skill-registry

    Neural search via Exa MCP for web, code, and company research.

    666 GitHub starsUsed in 5 repos~856 tokens
    Auto-check passed
  • Fal AI Media

    majiayu000/claude-skill-registry

    Unified media generation via fal.ai MCP — image, video, and audio.

    666 GitHub starsUsed in 5 repos~1.7k tokens
    Auto-check passed
  • Pyzotero

    majiayu000/claude-skill-registry

    Interact with Zotero reference management libraries using the pyzotero Python client.

    666 GitHub starsUsed in 5 repos~1.6k tokens
    Auto-check: notes
  • Bgpt Paper Search

    majiayu000/claude-skill-registry

    Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server.

    666 GitHub starsUsed in 4 repos~619 tokens
    Auto-check: notes
  • Bio Alignment Pairwise

    majiayu000/claude-skill-registry

    Perform pairwise sequence alignment using Biopython Bio.Align.PairwiseAligner.

    666 GitHub starsUsed in 4 repos~1.7k tokens
    Auto-check passed

Questions about Stata Setup

What does Stata Setup do?

Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code. Stata Setup is an agent skill from majiayu000/claude-skill-registry. Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code.

When should I use Stata Setup?

Stata Setup fits situations like: S ask to set up the Stata toolkit; troubleshoot the installation.

How do I install Stata Setup in Claude Code?

Run `npx skills add majiayu000/claude-skill-registry --skill stata-setup -a claude-code`. Or copy the skill folder (skills/bash/stata-setup in majiayu000/claude-skill-registry) into .claude/skills/stata-setup in your project. Claude Code loads it when a task matches its description.

How do I install Stata Setup in Codex?

Run `npx skills add majiayu000/claude-skill-registry --skill stata-setup -a codex`. Or copy the skill folder (skills/bash/stata-setup in majiayu000/claude-skill-registry) into .agents/skills/stata-setup in your project. Codex loads it when a task matches its description.

Can I use Stata Setup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/claude-skill-registry --skill stata-setup -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-setup, .gemini/skills/stata-setup, .github/skills/stata-setup and .opencode/skills/stata-setup in your project.

What does Stata Setup need to run?

Going by SKILL.md and its folder, Stata Setup needs the command-line tools its instructions call (bash).

Does Stata Setup access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Stata Setup safe to install?

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.

What licence does Stata Setup use?

Stata Setup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Stata Setup use?

About 516 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Stata Setup?

Skills that share tags, products or a category with Stata Setup: Stata Audit (SepineTam/mcp-for-stata, 264 stars), Diagnostic Dofile (SepineTam/mcp-for-stata, 264 stars), Stata Replication (pedrohcgs/claude-code-my-workflow, 1.6k stars) and Stata Discover (SepineTam/mcp-for-stata, 264 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Stata Setup?

majiayu000 (a GitHub user) maintains it in majiayu000/claude-skill-registry, which has 666 GitHub stars. The repository holds 1,273 skills in this directory. The repository was last updated on October 7, 2026.

Source: majiayu000/claude-skill-registry on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.