← 返回
未分类 中文

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-fi...
执行Stata命令、安装ado包、阅读帮助文档和分析数据的最稳定方式。适用于以下Stata工作场景:(1) 运行do文件...
sepinetam sepinetam 来源
未分类 clawhub v1.0.0 1 版本 99864.7 Key: 无需
★ 0
Stars
📥 738
下载
💾 174
安装
1
版本
#latest

概述

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: /stata-mcp-folder/stata-mcp-log/
  • More information visit documents or GitHub

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 16:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

AdMapix

fly0pants
AdMapix 原始数据层,提供广告创意、应用、排名、下载/收入及市场元数据。返回 AdMapix API 的结构化 JSON;调用方...
★ 297 📥 140,954
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 210 📥 68,770
data-analysis

Stock Watcher

robin797860
管理和监控个人股票自选列表,支持利用同花顺数据添加、删除、列出股票及汇总近期表现。适用于用户希望追踪特定股票、获取表现汇总或管理自选列表时。
★ 112 📥 46,270