checkpoint rewind
A reliability framework that snapshots agent state before risky actions to prevent session-ending corruption.
$9.99
Works with the AI Agents 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
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.
Connects securely to your tools. The creator never sees your data.
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.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
Cannot undo external side effects (sent mail, payments). Requires internal scratchpad for state storage. Limited to rolling 5-checkpoint history.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 months ago
Permissions
No special permissions declared or detected