persist SKILL.md skillA
persist from broomva/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add broomva/skills/persist@git:20261021.50a3d1bPins git:20261021.50a3d1b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- broomva/skills
- Path
skills/orchestration/persist/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261021.50a3d1b, committed Oct 21, 2026
- First version recorded
- Jun 28, 2026
- Size
- 7,059 bytes
- Repository stars
- 5
- License
- MIT
bstack P12 — Persistent Loop Discipline. Cross-context restart loop where state lives in the filesystem (PROMPT.md + git tree + state.jsonl), not in the conversation. Each iteration spawns a fresh agent context. Solves the failure mode where work that must outlive one session loses its state when the session ends, and where a loop that keeps re-trying one fix never gets a clean start. Validation backpressure comes from compilers/tests/linters, not model self-grading. Use persist when: (1)…
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
# persist — bstack P12 Persistent Loop Discipline **Cross-context restart loop. State in filesystem, not conversation.** The defining moves: 1. The agent writes a goal + state snapshot to `PROMPT.md` 2. `persist iterate PROMPT.md` spawns a fresh agent context per iteration 3. State persists in the filesystem (`PROMPT.md` + git tree + `state.jsonl`) 4. Validation backpressure: compilers/tests/linters, **not** model self-grading 5. Loop exits when success_condition fires OR budget exhausted OR user interrupts ## Why this exists Work that must outlive one session needs state that survives the conversation. **Persist restarts the context every iteration** while keeping state in the filesystem, so the loop survives session ends, crashes and repeated failed attempts. METR's [Time Horizon 1.1](https://metr.org/blog/2026-1-29-time-horizon-1-1/) put Opus 4.6's 80%-reliability horizon at about an hour; that is a measurement of an older model, and current models run a 1M context with automatic compaction in Claude Code, so it is context for the design, not a trigger. ## When to invoke The reflexive trigger rule (full text in workspace AGENTS.md §P12): …
Read the whole file at its exact version.
How to install
mdr add broomva/skills/persist@sha256:03e48f4f1381cb72The line at the top of this page pins the label git:20261021.50a3d1b, 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_bnj7zfee5pabg5sm)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jun 28, 2026 and Oct 21, 2026, about one every 29 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261021.50a3d1b latest | 2026-10-21 | 50a3d1b | 7,059 B | A | view · diff |
| git:20260927.cda4472 | 2026-09-27 | cda4472 | 6,270 B | A | view · diff |
| git:20260821.b36c0ec | 2026-08-21 | b36c0ec | 6,248 B | A | view · diff |
| git:20260629.5fd5953 | 2026-06-29 | 5fd5953 | 6,240 B | A | view · diff |
| git:20260628.9edbf07 | 2026-06-28 | 9edbf07 | 6,225 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 (7059 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
broomva/skills · 5 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_bnj7zfee5pabg5sm GET https://markdownregistry.com/api/v1/resolve?ref=broomva/skills/persist GET https://markdownregistry.com/api/v1/blob/03e48f4f1381cb727ff14894d357671d54ea555ed2851dbe87ed6f450dfb56b3
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.