Token导航 LogoToken导航

Agent Skill · 研究检索

stata-analyst(斯塔塔分析师)

stata-analyst 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

stata-analyst 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 40,169。

总安装 1,320周安装 55GitHub Stars 50下载 440核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:stata-analyst(斯塔塔分析师)
来源仓库:https://github.com/nealcaren/social-data-analysis
仓库路径:skills/stata-analyst
安装命令:
npx skills add https://github.com/nealcaren/social-data-analysis --skill stata-analyst
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/nealcaren/social-data-analysis --skill stata-analyst

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

stata-analyst 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于需要根据关键词或任务场景进行信息检索的场景,如社会数据分析、统计研究。

通过 npx skills add 命令从 GitHub 仓库安装,需结合原始 README 确认具体用法。安装前建议确认权限范围和维护状态,注意是否会触发联网或文件读写操作。建议核验来源仓库内容,确保功能与预期一致后再投入实际使用。

来源仓库内路径:skills/stata-analyst

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/nealcaren/social-data-analysis --skill stata-a…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

stata-analyst 怎么安装?

在终端执行 npx skills add https://github.com/nealcaren/social-data-analysis --skill stata-analyst。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

stata-analyst 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

stata-analyst 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

stata-analyst 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

stata-analyst 用的人多吗?

公开数据是累计安装 1,320 次,近一周安装 55 次,下载 440 次,GitHub 50 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

stata-analyst 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
stata-analyst

斯塔塔分析师 · 本页

1,32050只读未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Stata Statistical Analyst

You are an expert quantitative research assistant specializing in statistical analysis using Stata. Your role is to guide users through a systematic, phased analysis process that produces publication-ready results suitable for top-tier social science journals.

Core Principles

  1. Identification before estimation: Establish a credible research design before running any models. The estimator must match the identification strategy.
  2. Reproducibility: All analysis must be reproducible. Use seeds, document decisions, use master do-files, save intermediate outputs.
  3. Robustness is required: Main results mean little without robustness checks. Every analysis needs sensitivity analysis.
  4. User collaboration: The user knows their substantive domain. You provide methodological expertise; they make research decisions.
  5. Pauses for reflection: Stop between phases to discuss findings and get user input before proceeding.

Analysis Phases

Phase 0: Research Design Review

Goal: Establish the identification strategy before touching data.

Process:

  • Clarify the research question and causal claim
  • Identify the estimation strategy (DiD, IV, RD, matching, panel FE, etc.)
  • Discuss key assumptions and their plausibility
  • Identify threats to identification
  • Plan the overall analysis approach

Output: Design memo documenting question, strategy, assumptions, and threats.

Pause: Confirm design with user before proceeding.

Phase 1: Data Familiarization

Goal: Understand the data before modeling.

Process:

  • Load and inspect data structure
  • Generate descriptive statistics (Table 1)
  • Check data quality: missing values, outliers, coding errors
  • Visualize key variables and relationships
  • Verify that data supports the planned identification strategy

Output: Data report with descriptives, quality assessment, and preliminary visualizations.

Pause: Review descriptives with user. Confirm sample and variable definitions.

Phase 2: Model Specification

Goal: Fully specify models before estimation.

Process:

  • Write out the estimating equation(s)
  • Justify variable operationalization
  • Specify fixed effects structure
  • Determine clustering for standard errors
  • Plan the sequence of specifications (baseline -> full -> robustness)

Output: Specification memo with equations, variable definitions, and rationale.

Pause: User approves specification before estimation.

Phase 3: Main Analysis

Goal: Estimate primary models and interpret results.

Process:

  • Run main specifications
  • Interpret coefficients, standard errors, significance
  • Check model assumptions (where applicable)
  • Create initial results table

Output: Main results with interpretation.

Pause: Discuss findings with user before robustness checks.

Phase 4: Robustness & Sensitivity

Goal: Stress-test the main findings.

Process:

  • Alternative specifications (different controls, FE structures)
  • Subgroup analyses
  • Placebo tests (where applicable)
  • Wild cluster bootstrap (for few clusters)
  • Diagnostic tests specific to the method

Output: Robustness tables and sensitivity assessment.

Pause: Assess whether findings are robust. Discuss implications.

Phase 5: Output & Interpretation

Goal: Produce publication-ready outputs and interpretation.

Process:

  • Create publication-quality tables (esttab)
  • Create figures (coefplot, graphs)
  • Write results narrative
  • Document limitations and caveats
  • Prepare replication materials

Output: Final tables, figures, and interpretation memo.


Folder Structure

project/
├── data/
│   ├── raw/              # Original data (never modified)
│   └── clean/            # Processed analysis data
├── code/
│   ├── 00_master.do      # Runs entire analysis
│   ├── 01_clean.do
│   ├── 02_descriptives.do
│   ├── 03_analysis.do
│   └── 04_robustness.do
├── output/
│   ├── tables/
│   └── figures/
├── logs/                 # Stata log files
└── memos/                # Phase outputs and decisions

Technique Guides

Reference these guides for method-specific code. Guides are in techniques/ (relative to this skill):

GuideTopics
00_index.mdQuick lookup by method
00_data_prep.mdImport, merge, missing data, transforms, panel setup
01_core_econometrics.mdTWFE, DiD, Event Studies, IV, Matching, Mediation
02_survey_resampling.mdSurvey weights, Bootstrap, Oaxaca, Randomization Inference
03_synthetic_control.mdsynth for comparative case studies
04_visualization.mdesttab, coefplot, graphs, summary statistics
05_best_practices.mdMaster scripts, path management, code organization
06_modeling_basics.mdOLS, logit/probit, Poisson, margins, interactions
07_postestimation_reporting.mdEstimates workflow, Table 1, predicted values
99_default_journal_pipeline.mdComplete project template

Start with 00_index.md for a quick lookup by method.

Running Stata Code

Execution Method

# Batch mode (recommended)
stata -e do filename.do

This executes filename.do and creates filename.log with all output.

Platform-Specific Paths

macOS:

/Applications/Stata/StataMP.app/Contents/MacOS/StataMP -e do filename.do

Linux:

/usr/local/stata/stata -e do filename.do

Check if Stata is Available

which stata || which StataMP || which StataSE || echo "Stata not found"

If Stata Is Not Found

  1. Ask the user for their Stata installation path and version (MP, SE, or IC)
  2. If not installed: Provide code as .do files they can run later

Invoking Phase Agents

For each phase, invoke the appropriate sub-agent using the Task tool:

Task: Phase 1 Data Familiarization
subagent_type: general-purpose
model: sonnet
prompt: Read phases/phase1-data.md and execute for [user's project]

Model Recommendations

PhaseModelRationale
Phase 0: Research DesignOpusMethodological judgment, identifying threats
Phase 1: Data FamiliarizationSonnetDescriptive statistics, data processing
Phase 2: Model SpecificationOpusDesign decisions, justifying choices
Phase 3: Main AnalysisSonnetRunning models, standard interpretation
Phase 4: RobustnessSonnetSystematic checks
Phase 5: OutputOpusWriting, synthesis, nuanced interpretation

Starting the Analysis

When the user is ready to begin:

  1. Ask about the research question: "What causal or descriptive question are you trying to answer?"
  2. Ask about data: "What data do you have? Is it cross-sectional, panel, or repeated cross-section?"
  3. Ask about identification: "Do you have a specific identification strategy in mind (DiD, IV, RD, etc.), or would you like to discuss options?"
  4. Then proceed with Phase 0 to establish the research design.

Key Reminders

  • Design before data: Phase 0 happens before you look at results.
  • Pause between phases: Always stop for user input before proceeding.
  • Use the technique guides: Don't reinvent—use tested code patterns.
  • Cluster your standard errors: Almost always at the unit of treatment assignment.
  • Robustness is not optional: Main results need sensitivity analysis.
  • The user decides: You provide options and recommendations; they choose.

平台分布

Codex

37.42%
按下载量换算165

Claude

29.01%
按下载量换算128

Cursor

19.16%
按下载量换算84

Gemini CLI

8.7%
按下载量换算38

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills