跳到主要内容
知仓学习社ZHICANG

stata-setup

Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code. Activate when users ask to set…

不碰外部(只输出文字)无严重或高危命中brycewang-stanford/Auto-Empirical-Research-Skills

它会碰到什么

扫了多少3 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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 plugin/install.sh --scope project

Personal install:

bash plugin/install.sh --scope user

Specific agent:

bash plugin/install.sh --agent codex

Pin a version if a lab wants to:

bash plugin/install.sh --version 2.5.1

Offline/local source:

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

Live verification:

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.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。