agentleFS
qwerfunchqwerfunch/cladding/skills/checkpoint/SKILL.md

checkpoint

Skill16 starsChanged 5 months agoMITView on GitHub

Record a feature checkpoint event pinning the current git HEAD plus a spec digest, so a later rollback can restore the exact pre-change state. Use before a non-trivial feature implementation, before a refactor that touches many files, or whenever the user wants a known-good safety net the autonomous drive loop can fall back to. Activate only when the connected project contains spec.yaml or the user explicitly names Cladding; ignore ordinary requests in uninitialized projects.

57 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use open-gstack-browser, instinct-export and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 4 projects that use this

  • TheKREATORSSkill

    instinct-export

    Export instincts from project/global scope to a file

    Also in 3 projects that use this

  • TheKREATORSSkill

    instinct-import

    Import instincts from file or URL into project/global scope

    Also in 3 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 5 projects that use this

  • seek888Skill

    design-html

    Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".

    Also in 4 projects that use this

  • ayudaySkill

    cso

    Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".

    Also in 4 projects that use this

  • +1 more from seek888
  • +1 more from TheKREATORS

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 53 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run clad checkpoint <featureId> from the project root.

    line 7
  2. Distinctive:

    Before starting a feature with your AI host so a failed attempt has a known-good target to roll back to.

    line 25
  3. Distinctive:

    Before a manual refactor large enough that git stash is unwieldy.

    line 26

“Common” is measured: kept by at least 6 in 10 of the 53 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cladding checkpoint

Run clad checkpoint <featureId> from the project root. Iron Law backbone Phase 1 (iron-law.md §2.5) — the verb only stamps the audit-log entry; it never mutates the working tree or invokes git commit. The maintainer keeps the option to freeze the state with a normal git commit on top.

The checkpoint event payload carries:

  • featureId — the spec id, accepts both F-NNN legacy and six-or-more-hex hash shapes; newly authored records emit F-<hash8>.
  • gitHead — full 40-char commit sha at the time of the call (or null when the project is not a git repository).
  • specDigest — sha-256 over the merged spec for replay verification.
  • timestamp — ISO 8601.
clad checkpoint F-001
clad checkpoint F-a3f9c2e1

The output is a single Pulse line: ✓ checkpoint · <featureId> head=<sha12> digest=<digest12>. The event lands in .cladding/events.log.jsonl as type: "feature_checkpoint" and can be inspected with clad doctor --json or clad_get_events over MCP.

When to use

  • Before starting a feature with your AI host so a failed attempt has a known-good target to roll back to.
  • Before a manual refactor large enough that git stash is unwieldy.
  • Right after clad sync reports the spec is valid, so the checkpoint pins exactly the validated spec digest the implementation will start from.

Pair with

clad rollback <featureId> — prints the maintainer-runnable git checkout <sha> for the latest checkpoint and stamps a feature_rolled_back event. The pair forms the v0.3.X Iron Law backbone for safe autonomous progress; see skills/rollback/SKILL.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.