# Mex Statechart (agent skill)

> Mex Statechart is an agent skill (a SKILL.md file) from mex-memory/mex. Explain complicated existing behavior using checked state diagrams. It works with Claude Code, Codex, Cursor, GitHub Copilot and OpenCode and has 1,795 GitHub stars. Install it by copying the skill folder into your agent's skills directory.

Explain complicated existing behavior using checked state diagrams. Use when asked for a state diagram, to diagram the previous explanation, show a bug or recovery path, compare a proposed fix or existing TLA+ spec, or derive a model from an agreed chart. Generates native Mermaid and a readable terminal fallback; optionally view and explicitly save in MEX Hub. Make behavior easier for a human to understand. Generate only on user intent.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/mex-memory/mex |
| Skill path | skills/mex-statechart/SKILL.md |
| Skill name | mex-statechart |
| GitHub stars | 1,795 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 1 |
| Plugin marketplace | mex |
| Official | no |
| Works with | Claude Code, Codex, Cursor, GitHub Copilot, OpenCode |
| Category | Testing & QA |
| Last commit | Nov 14, 2026 |

## When it triggers

- Use when asked for a state diagram, to diagram the previous explanation, show a bug or recovery path, compare a proposed fix or existing TLA+ spec, or derive a model from an agreed chart.

## Add this skill

### Claude Code

```sh
/plugin marketplace add mex-memory/mex
/plugin install mex@mex
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/mex-memory/mex.git
cp -r mex/skills/mex-statechart .agents/skills/mex-statechart   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/mex-memory/mex.git
cp -r mex/skills/mex-statechart .cursor/skills/mex-statechart   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/mex-memory-mex-statechart
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
