Fin Data Acquisition
csmar432/finai-research
根据REFINEDDESIGN.md中的变量定义,自动获取所需数据并生成可执行的回归分析脚本(Python/Stata)。
Inspect, validate, summarize, and render local Stata-MCP audit evidence under .statamcp.
$ npx skills add SepineTam/mcp-for-stata --skill stata-audit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install SepineTam/mcp-for-stata stata-audit --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/SepineTam/mcp-for-stata.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/stata-toolbox/skills/stata-audit .claude/skills/stata-audit && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "stata-audit" agent skill from https://github.com/SepineTam/mcp-for-stata/tree/master/plugins/stata-toolbox/skills/stata-audit into .claude/skills/stata-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-audit", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/SepineTam/mcp-for-stata/tree/master/plugins/stata-toolbox/skills/stata-auditType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add SepineTam/mcp-for-stata --skill stata-audit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install SepineTam/mcp-for-stata stata-audit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SepineTam/mcp-for-stata.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/stata-toolbox/skills/stata-audit .agents/skills/stata-audit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "stata-audit" agent skill from https://github.com/SepineTam/mcp-for-stata/tree/master/plugins/stata-toolbox/skills/stata-audit into .agents/skills/stata-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-audit", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SepineTam/mcp-for-stata --skill stata-audit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install SepineTam/mcp-for-stata stata-audit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SepineTam/mcp-for-stata.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/stata-toolbox/skills/stata-audit .cursor/skills/stata-audit && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "stata-audit" agent skill from https://github.com/SepineTam/mcp-for-stata/tree/master/plugins/stata-toolbox/skills/stata-audit into .cursor/skills/stata-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-audit", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/SepineTam/mcp-for-stata.git --path plugins/stata-toolbox/skills/stata-audit--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add SepineTam/mcp-for-stata --skill stata-audit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install SepineTam/mcp-for-stata stata-audit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SepineTam/mcp-for-stata.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/stata-toolbox/skills/stata-audit .gemini/skills/stata-audit && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "stata-audit" agent skill from https://github.com/SepineTam/mcp-for-stata/tree/master/plugins/stata-toolbox/skills/stata-audit into .gemini/skills/stata-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-audit", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install SepineTam/mcp-for-stata stata-auditInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add SepineTam/mcp-for-stata --skill stata-audit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/SepineTam/mcp-for-stata.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/stata-toolbox/skills/stata-audit .github/skills/stata-audit && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "stata-audit" agent skill from https://github.com/SepineTam/mcp-for-stata/tree/master/plugins/stata-toolbox/skills/stata-audit into .github/skills/stata-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-audit", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SepineTam/mcp-for-stata --skill stata-audit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install SepineTam/mcp-for-stata stata-audit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SepineTam/mcp-for-stata.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/stata-toolbox/skills/stata-audit .opencode/skills/stata-audit && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "stata-audit" agent skill from https://github.com/SepineTam/mcp-for-stata/tree/master/plugins/stata-toolbox/skills/stata-audit into .opencode/skills/stata-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stata-audit", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
stata-auditInspect, validate, summarize, and render local Stata-MCP audit evidence under .statamcp.
Stata Audit is an agent skill from SepineTam/mcp-for-stata. Inspect, validate, summarize, and render local Stata-MCP audit evidence under .statamcp. Use when a user asks what tools ran, whether a security guard blocked anything, how one run links across JSONL files, whether snapshots are intact, or wants an interactive audit dashboard.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and assets (for example `scripts/analyze_audit.py`, `scripts/audit_common.py` and `scripts/inspect_audit.py`).
It sits in Research & Science, covering Econometrics and empirical research. It works with Model Context Protocol. The repository describes itself as: Stata-MCP: A MCP server for integrating Stata into your agent loop with a safety-first design. The licence is AGPL-3.0.
Read from SKILL.md and the folder at commit d339615. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 6 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Stata Audit loads about 1.2k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 532 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from SepineTam/mcp-for-stata at commit d339615, republished under its AGPL-3.0 licence (© SepineTam). 532 words, ~1,223 tokens.
.claude/skills/stata-audit/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Read Stata-MCP evidence without changing the source JSONL ledgers or snapshot
objects. Resolve every script and template relative to this skill directory,
while resolving the default evidence root from the user's current working
directory as <cwd>/.statamcp.
| User need | Script | Result |
|---|---|---|
| Check security blocks or warnings | scripts/security_audit.py | Security decisions, whether execution was prevented, risk types, and linkage state |
| Summarize project usage | scripts/analyze_audit.py | Neutral counts, observed period, tool mix, outcomes, snapshots, and limitations |
| Inspect recent records or one run | scripts/inspect_audit.py | Source-preserving records joined by exact run_id |
| Check evidence integrity | scripts/validate_audit.py | Lifecycle, timestamp, security-link, and full SHA-256 snapshot checks |
| Open an interactive view | scripts/render_audit_html.py | Standalone English HTML dashboard with linked ledgers and a movable time window |
Use the user's project directory as the command working directory. Example:
python /absolute/path/to/stata-audit/scripts/validate_audit.py .statamcpAll scripts accept an optional artifact-root argument and default to
./.statamcp. The text output is suitable for a quick review; add --json
when structured downstream analysis is useful.
run_id, not filename or time proximity.event == "blocked" with executed == false as a prevented call. A
normal blocked call is security evidence, not a script failure.security_event_ids to audit/security.jsonl and report missing or
inconsistent links.--show-paths for that case.Security review:
python scripts/security_audit.py .statamcp
python scripts/security_audit.py .statamcp --jsonProject usage analysis:
python scripts/analyze_audit.py .statamcpInspect the latest records or reconstruct one exact run:
python scripts/inspect_audit.py .statamcp --limit 20
python scripts/inspect_audit.py .statamcp --run-id <exact-run-id> --jsonValidate evidence:
python scripts/validate_audit.py .statamcpExit code 0 means no integrity error was found. Exit code 1 means the
evidence is missing, malformed, inconsistent, or failed a snapshot hash check.
Warnings remain visible but do not alone fail validation.
Render the combined dashboard or one tool view:
python scripts/render_audit_html.py .statamcp
python scripts/render_audit_html.py .statamcp --tool stata_doThe default output directory is:
<cwd>/.statamcp/reports/html/Combined reports use YYYYMMDD-HHMM-audit.html. A filtered report uses the
tool name, for example YYYYMMDD-HHMM-stata_do.html. The renderer locates
assets/audit_dashboard.html from its own Python-file location, so it works
regardless of the user's current directory.
The dashboard derives its global start and end from the minimum and maximum
timestamps in the selected evidence. Its two Time position handles start at
those exact boundaries and control the visible chart start and end. Ordinary
text uses Times New Roman; tool names, run IDs, ledgers, hashes, and paths use a
monospace code font. Times are displayed as YYYY-MM-DD HH-MM with the viewer's
local time-zone name and UTC offset.
After rendering, report the exact generated path and ask whether the user wants
to open it. Open it only after the user agrees. Use the platform's normal local
file opener (open on macOS, xdg-open on Linux, or start on Windows).
State conclusions as measurements from recorded tool calls. Do not claim that the audit captures unrecorded thinking, manual Stata actions, authorship, or a continuous agent session. If evidence has parse errors, unsupported schema versions, unmatched lifecycle events, missing security links, or failed hashes, surface those limitations before summarizing behavior.
© SepineTam, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (scripts, assets) in plugins/stata-toolbox/skills/stata-audit of SepineTam/mcp-for-stata.
Open the folder on GitHubat commit d339615
Stata Audit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Stata Audit this skillSepineTam/mcp-for-stata | 264 | — | ~1.2k | Automated safety check: Pass | AGPL-3.0 | |
| Fin Data Acquisitioncsmar432/finai-research | 109 | — | ~2k | Automated safety check: Pass | MIT | |
| Fin Generate Ideacsmar432/finai-research | 109 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Fin Idea Discoverycsmar432/finai-research | 109 | — | ~2.7k | Automated safety check: Pass | MIT | |
| Fin Novelty Checkcsmar432/finai-research | 109 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Stata Replicationpedrohcgs/claude-code-my-workflow | 1.7k | — | ~2.1k | Automated safety check: Notes | MIT |
csmar432/finai-research
根据REFINEDDESIGN.md中的变量定义,自动获取所需数据并生成可执行的回归分析脚本(Python/Stata)。
csmar432/finai-research
针对经济金融研究方向的创意生成与评估。生成8-12个可发表的研究idea,过滤后在数据可行的情况下进行小规模实证验证,输出排序后的研究想法报告。
csmar432/finai-research
经济金融研究的完整想法发现流程。从研究方向出发,经过文献综述、想法生成、新颖性验证、实证方法设计和数据获取,输出经过数据实证验证的可执行研究方案。
csmar432/finai-research
验证经济金融研究想法的新颖性。在JF、JFE、RFS、JME等顶刊及arXiv中搜索近三年文献,输出结构化新颖性报告和定位策略。
pedrohcgs/claude-code-my-workflow
End-to-end Stata replication pipeline — scaffolds numbered .do files in scripts/stata/, executes them via the stata-mcp MCP server, captures logs and outputs to output/, and produces…
brycewang-stanford/Auto-Empirical-Research-Skills
A skill your agent uses when aer-identification has fixed the design, after methodology choice and before aer-robustness or aer-tables-figures, to run an AER-track analysis with StatsPAI — the…
SepineTam/mcp-for-stata
A skill your agent uses when the user needs to inspect, audit, or diagnose the safety of a Stata do-file.
SepineTam/mcp-for-stata
Run a local smoke test for the Stata-MCP server. An agent skill from SepineTam/mcp-for-stata.
SepineTam/mcp-for-stata
A skill your agent uses when you need to find Stata on the user's machine or configure stata-mcp to use it.
SepineTam/mcp-for-stata
Generate RFC and IMPL documents from a user-provided feature/fix description.
SepineTam/mcp-for-stata
A packaged Stata Runner skill via official MCP-for-Stata server including statado, adopackageinstall, help, readlog and getdatainfo tools.
Works with
Categories
Inspect, validate, summarize, and render local Stata-MCP audit evidence under .statamcp. Stata Audit is an agent skill from SepineTam/mcp-for-stata.statamcp.
Stata Audit fits situations like: A user asks what tools ran; whether a security guard blocked anything; how one run links across JSONL files; whether snapshots are intact.
Run `npx skills add SepineTam/mcp-for-stata --skill stata-audit -a claude-code`. Or copy the skill folder (plugins/stata-toolbox/skills/stata-audit in SepineTam/mcp-for-stata) into .claude/skills/stata-audit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add SepineTam/mcp-for-stata --skill stata-audit -a codex`. Or copy the skill folder (plugins/stata-toolbox/skills/stata-audit in SepineTam/mcp-for-stata) into .agents/skills/stata-audit in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SepineTam/mcp-for-stata --skill stata-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stata-audit, .gemini/skills/stata-audit, .github/skills/stata-audit and .opencode/skills/stata-audit in your project.
Going by SKILL.md and its folder, Stata Audit needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Stata Audit is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Stata Audit: Fin Data Acquisition (csmar432/finai-research, 109 stars), Fin Generate Idea (csmar432/finai-research, 109 stars), Fin Idea Discovery (csmar432/finai-research, 109 stars) and Fin Novelty Check (csmar432/finai-research, 109 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
SepineTam (a GitHub user) maintains it in SepineTam/mcp-for-stata, which has 264 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 6, 2026.
Source: SepineTam/mcp-for-stata on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.