agent-state-machine SKILL.md skillA
agent-state-machine from aka-kika/akakika-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add aka-kika/akakika-skills/agent-state-machine@git:20260620.bb2e91dPins git:20260620.bb2e91d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- aka-kika/akakika-skills
- Path
skills/ai-agents/agent-state-machine/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260620.bb2e91d, committed Jun 20, 2026
- First version recorded
- Jun 20, 2026
- Size
- 7,197 bytes
- Repository stars
- 11
- License
- MIT
Use when designing or implementing states for AI agent tasks, background jobs, local model runs, queues, and notifications — one shared set of states, only legal transitions, and a recovery path out of every failure.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Agent State Machine Model every agent / task / run with **one shared state machine**: a fixed set of states, only the transitions that are legal between them, and a recovery path out of every failure or wait. This kills the most common agent-UX bug — random status strings invented per screen. ## When to use - Active runs, task queues, AI generation, local model jobs - Agent progress, notifications, error recovery - Retry / stop / cancel behavior and "needs review" states ## Core rule Agent UX needs clear **states**, legal **transitions**, and **recovery** paths. Do not invent random labels per screen. ## State vocabulary ``` Draft Queued Starting Thinking Running Waiting Blocked Paused Cancelling Cancelled Failed Completed Needs Review Archived ``` ## State meanings ``` Draft Created but not ready to run Queued Ready and waiting Starting Preparing environment/model/files Thinking Planning/reasoning before action Running Executing work Waiting Waiting for external service/user/system Blocked Cannot continue without user action Paused Temporarily stopped, can resume Cancelling Stop requested, cleanup in progress …
Read the whole file at its exact version.
How to install
mdr add aka-kika/akakika-skills/agent-state-machine@sha256:a32053706dc9dad2The line at the top of this page pins the label git:20260620.bb2e91d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_kqw4xbemytsirwmv)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, all committed on Jun 20, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260620.bb2e91d latest | 2026-06-20 | bb2e91d | 7,197 B | A | view · diff |
| git:20260620.d4b3079 | 2026-06-20 | d4b3079 | 7,229 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7197 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
aka-kika/akakika-skills · 11 stars · license MIT · pushed 2026-09-12 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_kqw4xbemytsirwmv GET https://markdownregistry.com/api/v1/resolve?ref=aka-kika/akakika-skills/agent-state-machine GET https://markdownregistry.com/api/v1/blob/a32053706dc9dad294caa4edfabd399f8d0bd44a9b34768a474ee2baaf5eee46
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.