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.

Install it, pinned
mdr add broomva/skills/persist@git:20261021.50a3d1b

Pins 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

The exact contents, by fingerprint
mdr add broomva/skills/persist@sha256:03e48f4f1381cb72

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_bnj7zfee5pabg5sm.svg)](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.

versioncommittedcommitsizeaudit
git:20261021.50a3d1b latest2026-10-21 50a3d1b 7,059 BA view · diff
git:20260927.cda44722026-09-27 cda4472 6,270 BA view · diff
git:20260821.b36c0ec2026-08-21 b36c0ec 6,248 BA view · diff
git:20260629.5fd59532026-06-29 5fd5953 6,240 BA view · diff
git:20260628.9edbf072026-06-28 9edbf07 6,225 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from broomva/skills

AGENTS.md AGENTS.md file
broomva/skills · AGENTS.md
git:20260628.aa6a326 · audit A · 5 stars
skills-showcase SKILL.md skill
broomva/skills · skills-showcase/SKILL.md · Generate a polished Remotion video and X thread showcasing the full agent skills inventory. Use when creating social…
git:20260317.f971c39 · audit A · 5 stars
openrocket-sim SKILL.md skill
broomva/skills · skills/aerospace/openrocket-sim/SKILL.md · Headless rocket design, simulation, and optimization using OpenRocket's Java core engine. Includes rocket-sim CLI tool…
git:20260628.9edbf07 · audit A · 5 stars
sdr-satellite SKILL.md skill
broomva/skills · skills/aerospace/sdr-satellite/SKILL.md · Software-defined radio (SDR) and satellite reception toolkit — what to install, what you can hear from space, and how…
git:20260628.9edbf07 · audit A · 5 stars
livecoding SKILL.md skill
broomva/skills · skills/audio/livecoding/SKILL.md · Algorave-grade livecoded music workflow — TidalCycles patterns (Haskell DSL driving SuperDirt over OSC) + Hydra-synth…
v0.1.0 · audit B · 5 stars
omnivoice SKILL.md skill
broomva/skills · skills/audio/omnivoice/SKILL.md · Local TTS, voice cloning, voice design, and video dubbing via the OmniVoice Studio MCP server (open-source ElevenLabs…
git:20260628.9edbf07 · audit B · 5 stars
talkback SKILL.md skill
broomva/skills · skills/audio/talkback/SKILL.md · Speak an explanation out loud while working in any project — tiered text-to-speech with a pluggable backend (ElevenLabs…
v0.3.0 · audit A · 5 stars
drift-check SKILL.md skill
broomva/skills · skills/cadence/drift-check/SKILL.md · Compares stated priorities against where time and effort actually went, and produces a strategy drift report. Uses git…
git:20260628.9edbf07 · audit A · 5 stars
morning-briefing SKILL.md skill
broomva/skills · skills/cadence/morning-briefing/SKILL.md · Reads open action items, this week's priorities, and recent vault updates, then produces a focused "start your day"…
git:20260628.9edbf07 · audit A · 5 stars
stakeholder-update SKILL.md skill
broomva/skills · skills/cadence/stakeholder-update/SKILL.md · Takes one set of project facts and generates three versions: technical for engineering, business-impact for leadership…
git:20260628.9edbf07 · audit A · 5 stars
weekly-review SKILL.md skill
broomva/skills · skills/cadence/weekly-review/SKILL.md · Scans the vault for updates from the past week, surfaces what changed, and flags what needs attention. Produces a…
git:20260628.9edbf07 · audit A · 5 stars
d1-cli SKILL.md skill
broomva/skills · skills/commerce/d1-cli/SKILL.md · Shop Tiendas D1 (Colombia, d1.com.co) from the command line — search the catalogue, resolve your nearest physical…
v0.9.0 · audit A · 5 stars

Every file in broomva/skills

Browse by kind, by grade A, or by owner.