run-state-management SKILL.md skillA
run-state-management from synaptiai/synapti-marketplace is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add synaptiai/synapti-marketplace/run-state-management@git:20261101.fe898b3Pins git:20261101.fe898b3 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- synaptiai/synapti-marketplace
- Path
plugins/flow/skills/run-state-management/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261101.fe898b3, committed Nov 1, 2026
- First version recorded
- May 22, 2026
- Size
- 5,606 bytes
- Repository stars
- 7
- License
- Apache-2.0
Manage FlowRun state at `<runtime dir>/runs/<ISO-timestamp-id>/run.yaml` — create runs at command entry, write activity records via `bin/flow-record-activity.sh` at phase boundaries, transition `state.status` (active → completed | blocked | cancelled), and persist resumable next-action hints to `events.jsonl`. Use when a flow command begins (creates the run), when a phase boundary completes (writes an activity), or when SessionEnd needs to mark a resumable next action. This skill MUST be…
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
# Run State Management ## Contract Iron law: no phase transition without an activity write — `state.completed_activities[]` is the source of truth for `/flow:resume`, and a missing activity makes resume skip ahead and lose work. Invoked when `FLOW_RUN_STATE=create` (gated by `flow.runtime.enabled`) by `/flow:start`, `/flow:debug`, `/flow:address`, `/flow:review`, `/flow:merge`, `/flow:release` at command entry (create), at every phase boundary (activity), and at completion (terminal transition); `/flow:pr` appends activities to the active `start-issue` run; `/flow:resume` reads its output. Returns `RUN_DIR/run.yaml` (`RUN_DIR` from step 1), `activities/<NNN>-<name>.yaml`, `events.jsonl`, and a `workflow-run` journal artifact. Permitted skips: only when `flow.runtime.enabled` is `false`, or when step 1 refuses the run directory (a symlink on the way) — then nothing is written. ## Inputs The invoking command MUST pass: 1. **Workflow id** — `start-issue | debug | address-pr | review-pr | merge-pr | release` (matches `plugins/flow/workflows/<id>.workflow.yaml`). 2. **Run id** — `<ISO-8601-compact-timestamp>-<target-slug>`, e.g. `2026-05-20T143000Z-issue-42`. …
Read the whole file at its exact version.
How to install
mdr add synaptiai/synapti-marketplace/run-state-management@sha256:e38e2f57c002994cThe line at the top of this page pins the label git:20261101.fe898b3, 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_tyq5n5htiabvgnla)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between May 22, 2026 and Nov 1, 2026, about one every 33 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261101.fe898b3 latest | 2026-11-01 | fe898b3 | 5,606 B | A | view · diff |
| git:20261031.21b6797 | 2026-10-31 | 21b6797 | 5,502 B | A | view · diff |
| git:20260930.21e8efd | 2026-09-30 | 21e8efd | 6,737 B | A | view · diff |
| git:20260909.6778255 | 2026-09-09 | 6778255 | 5,307 B | A | view · diff |
| git:20260523.759cdee | 2026-05-23 | 759cdee | 7,978 B | A | view · diff |
| git:20260522.34a8d75 | 2026-05-22 | 34a8d75 | 7,975 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 (5606 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
synaptiai/synapti-marketplace · 7 stars · license Apache-2.0 · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tyq5n5htiabvgnla GET https://markdownregistry.com/api/v1/resolve?ref=synaptiai/synapti-marketplace/run-state-management GET https://markdownregistry.com/api/v1/blob/e38e2f57c002994c54742da42ce2f8b213fe0c3150d2311ac02290da4219e8a4
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.