# Stata Graph

> List, export, and review Stata graphs from the current session.

- Skill: `brycewang-stanford/stata-graph` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add brycewang-stanford/stata-graph`
- Raw SKILL.md: https://api.skillmd.com/api/skills/brycewang-stanford/stata-graph/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: brycewang-stanford (https://skillmd.com/u/brycewang-stanford)
- Updated: 2026-08-19
- Page: https://skillmd.com/skills/brycewang-stanford/stata-graph

---


1. Call `stata_manage_graphs(action="list")` to see all graphs in memory, with the active graph marked.

2. If an argument (graph name) was provided:
   - Call `stata_manage_graphs(action="export", graph_name=<argument>, format="png")` and display the exported file path.

3. 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.

4. If no graphs are in memory, tell the user to create a graph first (e.g., `/stata-run histogram price` or `/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.

