← All skills
statechart
97 / 100 · Low risk
Fine to try.
By drsh4dow/pi-setup (GitHub) · other · 10 stars · scanned at commit f793659
Draw how any system moves between states, such as a product flow, a protocol, or a service, as a Mermaid statechart from a TLA+ model. Each bug is a numbered path with blue borders to a state that breaks a rule. Use to show a bug as a path through states, or to turn an agreed chart into a TLA+ skeleton.
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README.
Found in 17 places.
Show 14 more
- agent/skills/statechart/scripts/statechart.ts, line 3
import { spawn, spawnSync } from "node:child_process"; - agent/skills/statechart/scripts/statechart.ts, line 142
const r = spawnSync(process.execPath, [path.join(here, name), ...scriptArgs], { - agent/skills/statechart/scripts/test/statechart.test.ts, line 3
import { spawn, spawnSync } from "node:child_process"; - agent/skills/statechart/scripts/test/statechart.test.ts, line 73
const r = spawnSync(process.execPath, [join(at, script), ...args], { - agent/skills/statechart/scripts/test/statechart.test.ts, line 1017
const r = spawnSync(process.execPath, [join(scripts, "tlc-to-chart.ts"), ...input], { - agent/skills/statechart/scripts/test/statechart.test.ts, line 1826
const r = spawnSync( - agent/skills/statechart/scripts/test/statechart.test.ts, line 2038
: spawnSync("mise", ["--version"]).error - agent/skills/statechart/scripts/test/statechart.test.ts, line 2839
spawnSync("fc-list", [pattern, "file"], { encoding: "utf8" }).stdout?.match(/^(.+): $/m)?.[1]; - agent/skills/statechart/scripts/test/statechart.test.ts, line 2909
const run = spawnSync( - agent/skills/statechart/scripts/test/statechart.test.ts, line 6078
if (spawnSync(unshare[0], [...unshare.slice(1), "true"]).status !== 0) return null; - agent/skills/statechart/scripts/test/statechart.test.ts, line 6082
const cc = spawnSync("cc", ["-shared", "-fPIC", "-o", so, join(dir, "hide.c"), "-ldl"]); - agent/skills/statechart/scripts/test/statechart.test.ts, line 6217
const cc = spawnSync("cc", ["-shared", "-fPIC", "-o", so, join(dir, "rename.c"), "-ldl"]); - agent/skills/statechart/scripts/tlc-tools.ts, line 1
import { spawnSync } from "node:child_process"; - agent/skills/statechart/scripts/tlc-tools.ts, line 27
const run = (...args: string[]) => spawnSync("mise", args, { cwd: empty, env, encoding: "utf8" });
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'statechart' ] || [ -L ~/.agents/skills/'statechart' ]; then echo 'A skill folder named statechart already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/drsh4dow/pi-setup' "$d" && git -C "$d" checkout --quiet 'f7936596c1ba2e1472dadccc3f111b9d517fa96c' -- 'agent/skills/statechart' && mkdir -p ~/.agents/skills && cp -R "$d"/'agent/skills/statechart' ~/.agents/skills/'statechart' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'statechart' ~/.claude/skills/'statechart' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for drsh4dow/pi-setup shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/drsh4dow/pi-setup/)
Score history
| Date | Version | Score |
|---|
| 2026-11-10 | f793659 | 97 |