Run Stata code by copying it into tempdo.do and executing the file. Use this when the user wants to run Stata code, test a figure, execute a do-file section, or run regressions. This workaround ensures graphs display correctly and multi-line commands with /// work properly.
安装
npx skills add sam-barnett/FRRS_rd2_replication --skill run-statanpx skills add sam-barnett/FRRS_rd2_replication --skill run-stata -a claude-code -gnpx skills add sam-barnett/FRRS_rd2_replication --skill run-stata -a codex -ggemini skills install https://github.com/sam-barnett/FRRS_rd2_replication.git --path .claude/skills/run-statagh skill install sam-barnett/FRRS_rd2_replication run-statagit clone --depth 1 https://github.com/sam-barnett/FRRS_rd2_replication /tmp/sam-barnett__FRRS_rd2_replication
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/sam-barnett__FRRS_rd2_replication/.claude/skills/run-stata ~/.claude/skills/run-stata # Claude Code
cp -R /tmp/sam-barnett__FRRS_rd2_replication/.claude/skills/run-stata ~/.agents/skills/run-stata # Codex, Cursor, Gemini CLI, Copilot, OpenCode