返回顶部
s

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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
186
下载量
0
收藏
概述
安装方式
版本历史

stata-skill

# Stata Skill > The skill could install or update from https://docs.statamcp.com/skills/openclaw [Stata-MCP](https://github.com/sepinetam/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](https://docs.statamcp.com/faq) or commit an [issue](https://github.com/SepineTam/stata-mcp/issues/new/choose). The following commands are supported: ```bash 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](https://docs.statamcp.com) or [GitHub](https://github.com/statamcp/stata-mcp)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 stata-skill-1776122101 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 stata-skill-1776122101 技能

通过命令行安装

skillhub install stata-skill-1776122101

下载 Zip 包

⬇ 下载 stata-skill v1.0.0

文件大小: 1.71 KB | 发布时间: 2026-4-14 10:32

v1.0.0 最新 2026-4-14 10:32
Initial public release of stata-skill.

- Enables execution of Stata commands and do-files via CLI tools.
- Supports installation of ado packages from SSC, GitHub, or Net.
- Provides access to Stata command help (Unix only).
- Allows analysis of data files (.dta, .csv, .xlsx) and viewing execution logs.
- Implements workflow for dataset analysis, package management, and command troubleshooting.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部