CR

    checkpoint rewind

    1

    A reliability framework that snapshots agent state before risky actions to prevent session-ending corruption.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more
    CR

    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 IDTriggerGoalVerified StateNext Steps
    CP-001Task StartRefactor auth module & deployCurrent login flow functional; staging env accessible.Backup existing /src/auth files.
    CP-002Pre-File WriteBackup original auth logicFiles copied to /backups/auth_v1.Begin replacing JWT implementation in auth.service.ts.
    CP-003Pre-RefactorModify JWT logicBackup 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 .env are still valid.

    Next steps

    1. Proceeding with the edit to ./src/modules/auth/jwt.service.ts.
    2. I will run the npm test auth suite immediately after the write.
    3. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

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

    Listed2 months ago

    What's inside

    Frequently Asked Questions

    This skill creates a protective "save point" system for your agent, allowing it to detect errors early and revert to a stable state before a minor hallucination ruins an entire multi-hour task.

    The skill is designed to be LLM-agnostic and works with any agent framework that supports state persistence or internal scratchpads for tracking multi-step progress.

    For actions like API calls or emails that cannot be rolled back, the skill triggers a 'damage containment' protocol that notifies the user and prevents the agent from making further unverified assumptions.

    You receive the core logic modules for state snapshotting, the rollback protocol instructions, and integration guides for connecting the skill to your agent's existing tool-calling workflow.

    Setup involves adding the checkpointing logic to your agent's tool library and defining which 'risky' actions should trigger an automatic state snapshot before execution.

    Unlike standard prompting, this skill uses a structured state-machine approach that forces the agent to analyze why it failed and switch strategies rather than simply repeating the same error.