Stata Graph
Apps & Automationstata-graphStata Graph is an Agent Skill for apps & automation published in the brycewang-stanford/Auto-Empirical-Research-Skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
List, export, and review Stata graphs from the current session.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/blob/HEAD/skills/64-tmonk-mcp-stata/skills/stata-graph/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/stata-graph, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
-
Call
stata_manage_graphs(action="list")to see all graphs in memory, with the active graph marked. -
If an argument (graph name) was provided:
- Call
stata_manage_graphs(action="export", graph_name=<argument>, format="png")and display the exported file path.
- Call
-
If no argument was provided and graphs exist:
- Call
stata_manage_graphs(action="export_all", format="png")to export all graphs. - Display all exported file paths for the user to inspect.
- Call
-
If no graphs are in memory, tell the user to create a graph first (e.g.,
/stata-run histogram priceor/stata-run scatter price mpg).
After export, review the graph(s): check titles, axis labels, legends, and whether the plot matches expectations. Report any issues.