Install Find State Machines
Pick your agent. Every command is ready to paste.
npx skills add dzhng/skills --skill find-state-machinesThe open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads find-state-machines when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the find-state-machines skill”. In Codex, type $find-state-machines.
Find State Machines
Find implicit state machines: one lifecycle whose state, transitions, and ownership are spread across the code instead of held in one place. Make sure every non-terminal state has a guaranteed way out — failure, cancel, timeout, or recovery after restart — not just the happy-path callback. Make small fixes that preserve behavior or fix bugs right away; confirm larger restructures with the user first.
Tips for Find State Machines
- • Start a fresh session after installing so your agent picks up the new skill.
- • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Find State Machines
What does the Find State Machines skill do?
Find implicit state machines, where one lifecycle's state, transitions, and ownership are scattered across flags, effects, callbacks, and async work, and make them explicit. Use when auditing lifecycle coordination, async flows, impossible states, or a proposed stateful refactor.
How do I install Find State Machines?
Run "npx skills add dzhng/skills --skill find-state-machines" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Find State Machines work in Cursor and Codex?
Yes. Find State Machines uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
Is Find State Machines free?
Find State Machines is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Find State Machines?
Find State Machines is published by dzhng in the dzhng/skills repository, together with 29 other skills.





