Agent skill
stata
Execute Stata do-files via Bash using absolute paths and automatically retrieve logs.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/stata
SKILL.md
Stata Skill
Executable Path: "D:/Stata/StataMP-64.exe"
1. CODE GENERATION RULES (Mandatory)
Whenever you create or edit a .do file, you MUST insert these two lines at the very top:
capture log close // Closes any previously open logs to prevent errors
set more off // Prevents Stata from pausing for user input (freezing)
## Operational Instructions
### Correct Execution Example
If you want to run `analysis.do` located in `D:/Project/`:
powershell -Command "& \"D:/Stata/StataMP-64.exe\" /e do
\"D:/AutoRegMonkey/workspace/analysis.do\""
工作目录设在workspace,log文件也输出到workspace
在根目录下读取同名的log文件,那是stata的输出
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?