checkpoint rewind
A reliability framework that snapshots agent state before risky actions to prevent session-ending corruption.
$9.99
Works with the AI tools you already use
checkpoint rewind
Example session with this skill installed
I need you to refactor the entire auth module and then deploy it to the staging server. Use your checkpoint system to ensure we don't break the existing login flow.
- Read your context and instructions
- Compiled the checkpoint rewind
- Generated the document
I am starting the auth module refactor. I have created an initial checkpoint to preserve the current working state before modifying core logic.
Session State: Auth Refactor
| Checkpoint ID | Trigger | Goal | Verified State | Next Steps |
|---|---|---|---|---|
| CP-001 | Task Start | Refactor auth module & deploy | Current login flow functional; staging env accessible. | Backup existing /src/auth files. |
| CP-002 | Pre-File Write | Backup original auth logic | Files copied to /backups/auth_v1. | Begin replacing JWT implementation in auth.service.ts. |
| CP-003 | Pre-Refactor | Modify JWT logic | Backup confirmed; dependencies mapped. | Update login() and validate() methods. |
Current Snapshot: CP-003
- GOAL: Refactor auth module for OIDC support.
- DONE: Environment audit; auth files backed up to
/backups/auth_v1. - PENDING: 1. Update JWT service. 2. Run unit tests. 3. Trigger staging deploy.
- STATE:
auth_path: ./src/modules/auth;staging_url: staging.internal.io. - ASSUME: Staging credentials in
.envare still valid.
Next steps
- Proceeding with the edit to
./src/modules/auth/jwt.service.ts. - I will run the
npm test authsuite immediately after the write. - If tests fail, I will rewind to CP-003 and re-evaluate the dependency mapping.
checkpoint-rewind.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
AI agents running long, multi-step tasks are prone to "hallucination debt." One bad tool call or corrupted file write often goes unnoticed, leading the agent to compound errors for dozens of steps until the entire session is unsalvageable.
What it does
- Enforces a strict checkpoint-before-action discipline for risky operations like file writes, deployments, or payments.
- Maintains a rolling buffer of the last five "known-good" state snapshots including verified goals and assumptions.
- Detects early-warning signs of session corruption, such as contradictory tool outputs or unverified memory claims.
- Executes a standardized rewind protocol to roll back to the last clean state and force a strategy change on retry.
- Switches to damage containment for external actions that cannot be undone, like sent emails or API transactions.
Why this beats prompting it yourself
Generic prompts often lead agents to apologize or retry the exact same failed logic until they hit a limit. This skill implements a rigorous state-machine logic that treats recovery as a first-class feature, ensuring the agent actually changes its approach after a rollback rather than repeating mistakes.
Use cases
- Managing complex refactors where a single broken dependency could break the build.
- Executing multi-stage data migrations that require verification at every milestone.
- Orchestrating autonomous sub-agents where handoffs must be snapshotted to prevent context loss.
- Running long-horizon research tasks that exceed standard context windows.
Known limitations
Cannot physically undo external side effects like sent emails or processed payments. Requires the agent to have internal note-taking or scratchpad capabilities to store checkpoint cards.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 15 days ago
- Passed all security checks, Safe to install