stata-skill

The most stable way to execute Stata commands, install ado packages, read help documents, and analyze data. Use when working with Stata for (1) Running do-files, (2) Installing packages from SSC/GitHub, (3) Getting command help, (4) Analyzing data files (.dta, .csv, .xlsx), (5) Reading execution logs. (6) Other actions if you need to use Stata.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "stata-skill" with this command: npx skills add sepinetam/stata-skill

Stata Skill

The skill could install or update from https://docs.statamcp.com/skills/openclaw

Stata-MCP is the best solution for connecting AI agents with Stata. It provides a suite of tools that allow Agents to execute Stata code through unified scheduling without wasting context searching for Stata executables. Both MCP and CLI interfaces are available. CLI is the preferred method for execution in this document.

CLI Tools (Fallback, mainly used by OpenClaw)

First, using uvx stata-mcp --usable to check whether Stata-MCP is usable. If there is any error, visit FAQ or commit an issue.

The following commands are supported:

uvx stata-mcp tool ado-install <package> [--source ssc|github|net]       # install ado-package from ssc, net or github
uvx stata-mcp tool do <dofile_path> [--log-file-name <name>]             # execute do-file
uvx stata-mcp tool help <command>          # Unix only                   # get command help
uvx stata-mcp tool data-info <data_path> [--vars-list var1 var2]         # get data basic information
uvx stata-mcp tool read-log <log_path> [--output-format full|core|dict]  # read execution log

Iterative Workflow

  1. get_data_info -> understand dataset structure
  2. Edit or Write -> to create a do-file
  3. stata_do -> execute analysis with capture output
  4. help -> learn Stata commands (Unix) if there are any command error
  5. ado_package_install -> install missing packages

Notes

  • Requires uv and valid Stata
  • help only works on macOS/Linux
  • Security guard blocks dangerous commands (shell, rm, etc.)
  • Log location: <cwd>/stata-mcp-folder/stata-mcp-log/
  • More information visit documents or GitHub

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated