Works with the AI Agents you already use

    continuity core

    by Gaetan PRUVOT

    1

    A portable protocol for agent task continuity, structured handoffs, and workspace divergence detection.

    $7.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    continuity core

    continuity core

    Example session with this skill installed

    Continuity Core — See It in Action
    Demo: Recover a software project after an AI agent handoff
    Scenario: An AI coding agent takes over a Rust project. A previous agent left a handoff and a checkpoint, but the workspace has changed since then. Can the new agent safely resume work?

    1. Prompt sent by the buyer
      Resume the existing project from the latest checkpoint and handoff.

    Before making changes

    • Identify the project and active task.
    • Inspect the current workspace and Git state.
    • Compare current files against the recorded snapshot.
    • Check whether recorded test evidence is still current.
    • Separate declared claims from observed facts.
    • Produce a structured Recovery Context and prioritized recovery actions.

    Do not overwrite files, discard uncommitted work, or trust the handoff
    without checking the current workspace.
    2. Recovery assessment
    Result: REVIEW_REQUIRED
    Finding
    Observation
    Consequence
    Workspace divergence
    src/recovery/report.rs differs from its recorded hash
    Inspect the file before resuming
    Stale evidence
    Earlier test evidence depends on the modified file
    Rerun the relevant tests
    Git working tree
    DIRTY
    Preserve uncommitted changes
    Integrity metadata
    Ledger, snapshot and handoff marked VALID in the example
    Continue with the identified review steps
    The previous handoff is treated as declared information, not as authoritative proof of the current workspace state.
    3. Full structured result
    The following JSON is the representative example included in the Continuity Core v0.1.0 package (examples/recovery-context-review-required.json). It is not a claim that a live repository was scanned for this listing.

    {
      "schema_version": "0.1.0",
      "context_id": "0192f4a0-1234-7000-8000-000000000100",
      "generated_at": "2026-11-18T11:00:00Z",
      "project": {
        "project_id": "0192f4a0-1234-7000-8000-000000000001",
        "name": "sample-project",
        "root": ".",
        "revision": 42,
        "head_event_sequence": 128
      },
      "recovery": {
        "status": "REVIEW_REQUIRED",
        "previous_snapshot_id": "0192f4a0-1234-7000-8000-000000000010",
        "current_snapshot_id": "0192f4a0-1234-7000-8000-000000000011",
        "previous_workspace_revision": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "current_workspace_revision": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
        "previous_project_revision": 41,
        "current_project_revision": 42
      },
      "workspace": {
        "scan_status": "COMPLETE",
        "revision": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
        "git": {
          "available": true,
          "branch": "main",
          "head_commit": "a1b2c3d4",
          "working_tree": "DIRTY"
        },
        "manifest": {
          "file_count": 24,
          "excluded_count": 3,
          "inaccessible_count": 0
        },
        "stability": {
          "stable": true,
          "attempts": 2
        }
      },
      "task_state": {
        "active": [
          {
            "task_id": "0192f4a0-1234-7000-8000-000000000020",
            "title": "Implement recovery report",
            "status": "IN_PROGRESS",
            "revision": 2,
            "dependencies": [
              "src/recovery/report.rs"
            ],
            "epistemic_status": "OBSERVED"
          }
        ],
        "completed": [],
        "blocked": []
      },
      "decisions": [
        {
          "decision_id": "0192f4a0-1234-7000-8000-000000000030",
          "title": "Use explicit dependencies",
          "status": "ACTIVE",
          "revision": 1,
    
      "rationale": "Avoid fragile semantic inference in v0.1.",
    
          "references": [
            "src/recovery/report.rs"
          ],
          "epistemic_status": "DECLARED"
        }
      ],
      "divergences": [
        {
          "divergence_id": "div-001",
          "type": "REFERENCED_FILE_MODIFIED",
          "severity": "WARNING",
          "object": {
            "type": "FILE",
            "path": "src/recovery/report.rs"
          },
          "reference": {
            "expected_hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
          },
          "observed": {
            "hash": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
          },
          "impact": "ACTIVE_TASK_DEPENDENCY",
          "recommended_action": "INSPECT_FILE"
        }
      ],
      "evidence": {
        "summary": {
          "total": 1,
          "valid": 0,
          "stale": 1,
          "unverified": 0
        },
        "items": [
          {
            "evidence_id": "0192f4a0-1234-7000-8000-000000000040",
            "type": "TEST_EXECUTION",
            "status": "STALE",
            "freshness": "STALE",
            "epistemic_status": "OBSERVED",
            "workspace_revision": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "dependencies": [
              "src/recovery/report.rs"
            ],
    
        "reason": "A declared dependency changed."
    
          }
        ]
      },
      "handoff": {
        "handoff_id": "0192f4a0-1234-7000-8000-000000000050",
        "created_at": "2026-11-18T10:30:00Z",
        "created_by": "agent-01",
    
    "summary": "Recovery report implementation is in progress.",
    
        "accepted": false,
        "claimed_state": "IN_PROGRESS"
      },
      "recommended_actions": [
        {
          "action_id": "act-001",
          "priority": 1,
          "type": "INSPECT_FILE",
          "target": "src/recovery/report.rs",
    
      "reason": "The active task dependency changed since the checkpoint.",
    
          "blocking": false,
          "requires_human_approval": false
        },
        {
          "action_id": "act-002",
          "priority": 2,
          "type": "RERUN_EVIDENCE",
          "target": "0192f4a0-1234-7000-8000-000000000040",
    
      "reason": "Recorded test evidence is stale.",
    
          "blocking": false,
          "requires_human_approval": false
        }
      ],
      "integrity": {
        "ledger": {
          "status": "VALID",
          "verified_through_sequence": 128
        },
        "snapshot": {
          "status": "VALID",
          "snapshot_id": "0192f4a0-1234-7000-8000-000000000011"
        },
        "handoff": {
          "status": "VALID"
        }
      },
      "limitations": [
        {
          "code": "FILESYSTEM_SCAN_NON_ATOMIC",
    
      "message": "The workspace inspection is not an atomic filesystem snapshot."
    
        },
        {
          "code": "EXTERNAL_MUTATIONS_NOT_PREVENTED",
    
      "message": "Changes made outside the Skill workflow are not prevented."
    
        }
      ]
    }
    
    1. Prioritized recovery plan
      Priority
      Action
      Target
      Why
      1
      INSPECT_FILE
      src/recovery/report.rs
      Active task dependency changed after the checkpoint
      2
      RERUN_EVIDENCE
      Previous test evidence
      Recorded result is stale
      The agent should inspect the changed file and revalidate affected tests before relying on earlier results. A REVIEW_REQUIRED status is a signal to investigate, not a license to overwrite work.
    2. Why it matters
      Ordinary narrative handoff
      Continuity Core protocol
      Relies on the previous agent's summary
      Distinguishes declared state from observed state
      May reuse outdated test claims
      Tracks evidence freshness and explicit dependencies
      Can miss changes between sessions
      Compares current observations with recorded workspace state
      Leaves next steps ambiguous
      Produces ordered, deduplicated recovery actions
      Risks resuming from assumptions
      Makes uncertainty and limitations explicit
    3. Where to use it
      Continuity Core is designed for long-running coding tasks, agent-to-agent handoffs, context compaction, interrupted sessions, and projects where decisions and test evidence must be checked before work resumes.
      Important capability boundary: Continuity Core is an instruction and data-format protocol. It is not itself a filesystem watcher, persistent database, cryptographic verification service, or enforcement sandbox. Actual inspection, persistence and verification depend on the host agent's tools and permissions.
      Stop guessing where the last agent left off. Resume from inspected project state.
    • Read your context and instructions
    • Compiled the continuity core

    Continuity Core — Recovery Result

    1. Recovery Summary

    Project: "sample-project"
    Recovery status: "REVIEW_REQUIRED"
    Project revision: 42
    Previous revision: 41
    Workspace scan: COMPLETE
    Git branch: "main"
    Working tree: DIRTY
    Integrity: VALID

    Continuity Core successfully reconstructed the project context and identified a divergence between the previous checkpoint and the current workspace.

    The project is recoverable, but continuing without inspection would risk relying on outdated information.

    1. Detected Findings

    Finding| Severity| Status| Impact
    Referenced file modified| WARNING| Detected| Active task dependency
    Previous test evidence| WARNING| STALE| Requires revalidation
    Workspace scan| INFO| COMPLETE| 24 files inspected
    Event ledger| INFO| VALID| Verified through sequence 128
    Snapshot integrity| INFO| VALID| Current snapshot verified
    Handoff integrity| INFO| VALID| Handoff validated

    Workspace divergence

    File: "src/recovery/report.rs"

    • Expected hash: "sha256:aaaaaaaa..."
    • Observed hash: "sha256:bbbbbbbb..."
    • Impact: Active task dependency.
    • Recommended action: "INSPECT_FILE".

    Evidence freshness

    One previous test execution is classified as "STALE".

    Reason: A declared dependency changed after the recorded test execution.

    The previous test result must not be presented as current verification.

    1. Generated Recovery Context

    The following machine-readable structure is the canonical recovery deliverable.

    {
      "schema_version": "0.1.0",
      "context_id": "0192f4a0-1234-7000-8000-000000000100",
      "generated_at": "2026-11-18T11:00:00Z",
      "project": {
        "project_id": "0192f4a0-1234-7000-8000-000000000001",
        "name": "sample-project",
        "root": ".",
        "revision": 42,
        "head_event_sequence": 128
      },
      "recovery": {
        "status": "REVIEW_REQUIRED",
        "previous_snapshot_id": "0192f4a0-1234-7000-8000-000000000010",
        "current_snapshot_id": "0192f4a0-1234-7000-8000-000000000011",
        "previous_workspace_revision": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "current_workspace_revision": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
        "previous_project_revision": 41,
        "current_project_revision": 42
      },
      "workspace": {
        "scan_status": "COMPLETE",
        "revision": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
        "git": {
          "available": true,
          "branch": "main",
          "head_commit": "a1b2c3d4",
          "working_tree": "DIRTY"
        },
        "manifest": {
          "file_count": 24,
          "excluded_count": 3,
          "inaccessible_count": 0
        },
        "stability": {
          "stable": true,
          "attempts": 2
        }
      },
      "task_state": {
        "active": [
          {
            "task_id": "0192f4a0-1234-7000-8000-000000000020",
            "title": "Implement recovery report",
            "status": "IN_PROGRESS",
            "revision": 2,
            "dependencies": [
              "src/recovery/report.rs"
            ],
            "epistemic_status": "OBSERVED"
          }
        ],
        "completed": [],
        "blocked": []
      },
      "decisions": [
        {
          "decision_id": "0192f4a0-1234-7000-8000-000000000030",
          "title": "Use explicit dependencies",
          "status": "ACTIVE",
          "revision": 1,
    
      "rationale": "Avoid fragile semantic inference in v0.1.",
    
          "references": [
            "src/recovery/report.rs"
          ],
          "epistemic_status": "DECLARED"
        }
      ],
      "divergences": [
        {
          "divergence_id": "div-001",
          "type": "REFERENCED_FILE_MODIFIED",
          "severity": "WARNING",
          "object": {
            "type": "FILE",
            "path": "src/recovery/report.rs"
          },
          "reference": {
            "expected_hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
          },
          "observed": {
            "hash": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
          },
          "impact": "ACTIVE_TASK_DEPENDENCY",
          "recommended_action": "INSPECT_FILE"
        }
      ],
      "evidence": {
        "summary": {
          "total": 1,
          "valid": 0,
          "stale": 1,
          "unverified": 0
        },
        "items": [
          {
            "evidence_id": "0192f4a0-1234-7000-8000-000000000040",
            "type": "TEST_EXECUTION",
            "status": "STALE",
            "freshness": "STALE",
            "epistemic_status": "OBSERVED",
            "workspace_revision": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "dependencies": [
              "src/recovery/report.rs"
            ],
    
        "reason": "A declared dependency changed."
    
          }
        ]
      },
      "handoff": {
        "handoff_id": "0192f4a0-1234-7000-8000-000000000050",
        "created_at": "2026-11-18T10:30:00Z",
        "created_by": "agent-01",
    
    "summary": "Recovery report implementation is in progress.",
    
        "accepted": false,
        "claimed_state": "IN_PROGRESS"
      },
      "recommended_actions": [
        {
          "action_id": "act-001",
          "priority": 1,
          "type": "INSPECT_FILE",
          "target": "src/recovery/report.rs",
    
      "reason": "The active task dependency changed since the checkpoint.",
    
          "blocking": false,
          "requires_human_approval": false
        },
        {
          "action_id": "act-002",
          "priority": 2,
          "type": "RERUN_EVIDENCE",
          "target": "0192f4a0-1234-7000-8000-000000000040",
    
      "reason": "Recorded test evidence is stale.",
    
          "blocking": false,
          "requires_human_approval": false
        }
      ],
      "integrity": {
        "ledger": {
          "status": "VALID",
          "verified_through_sequence": 128
        },
        "snapshot": {
          "status": "VALID",
          "snapshot_id": "0192f4a0-1234-7000-8000-000000000011"
        },
        "handoff": {
          "status": "VALID"
        }
      },
      "limitations": [
        {
          "code": "FILESYSTEM_SCAN_NON_ATOMIC",
    
      "message": "The workspace inspection is not an atomic filesystem snapshot."
    
        },
        {
          "code": "EXTERNAL_MUTATIONS_NOT_PREVENTED",
    
      "message": "Changes made outside the Skill workflow are not prevented."
    
        }
      ]
    }
    
    1. Prioritized Recovery Plan

    Priority| Action| Target| Expected outcome
    1| "INSPECT_FILE"| "src/recovery/report.rs"| Understand the modification
    2| "RERUN_EVIDENCE"| Previous test execution| Obtain fresh test evidence

    Execution requirements

    1. Inspect the modified source file.
    2. Preserve existing uncommitted changes.
    3. Determine whether the modification is intentional.
    4. Rerun the relevant tests.
    5. Record the new test outcome.
    6. Update the project context after verification.

    No destructive operation is authorized by this recovery result.

    1. Final Assessment

    Recovery status: REVIEW_REQUIRED

    The project identity, workspace scan, snapshot, event ledger and handoff integrity are available and valid according to the supplied recovery example.

    One active dependency has changed, and previous test evidence is stale.

    The receiving agent has enough structured information to resume the recovery process safely, but must inspect the divergence and revalidate the evidence before treating the previous implementation state as verified.

    Continuity Core does not confuse a previous agent's claims with the current observed project state.


    Continuity Core v0.1.0 — Structured continuity for autonomous software agents.

    Note: This is a representative packaged recovery example, not a live execution. Actual workspace inspection and verification depend on the host agent's available tools.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Stop losing track of project state when switching between agent sessions or hitting context limits. Continuity Core provides a structured protocol for agents to checkpoint their work, verify workspace integrity, and resume tasks without relying on fuzzy narrative memory.

    What it does

    • State Checkpointing records active objectives, status, and durable decisions into persistent project storage.
    • Workspace Inspection compares current file hashes and Git states against recorded snapshots to detect divergence.
    • Evidence Verification identifies stale test results or build artifacts when underlying dependencies change.
    • Structured Handoffs generates machine-readable JSON manifests containing task status, rationale, and file dependencies.
    • Recovery Planning produces ordered action lists to resolve conflicts or re-verify state after an interruption.

    How it works

    1. Establish Identity by locating the project root, persistent storage, and the most recent handoff metadata.
    2. Inspect Workspace using filesystem tools to separate declared claims in the handoff from observed facts on disk.
    3. Classify Divergence by marking evidence as STALE, UNKNOWN, or CURRENT based on revision mismatches.
    4. Generate Context by building a Recovery Context artifact that flags blockers and prioritizes next steps.

    Frameworks & tools

    This skill is platform-agnostic and designed for any agentic environment with filesystem access and persistent storage. It utilizes JSON schemas for data integrity and integrates with Git for workspace version tracking.

    Why this beats prompting it yourself

    Standard prompts often hallucinate progress or miss subtle file changes between sessions. This skill enforces a deterministic recovery protocol that prioritizes observed workspace state over potentially outdated session history.

    Use cases

    • Session Handoffs when moving a task from one agent instance to another.
    • Context Compaction to summarize deep work before clearing a saturated context window.
    • Task Resumption after an interruption to verify if manual file edits have invalidated previous assumptions.
    • Project Auditing to inspect the freshness of build evidence and the rationale behind recorded decisions.

    Known limitations

    Does not provide a transactional database or atomic filesystem snapshots. Reliability depends on the host agent's ability to persist files and verify writes to disk.

    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.

    Frequently Asked Questions

    Continuity Core replaces unreliable 'chat summaries' with a machine-readable protocol that verifies actual file states and Git hashes, ensuring your agent bases its next steps on ground truth rather than fuzzy memory.

    You receive the JSON schemas for handoff manifests, the deterministic logic for workspace divergence detection, and a set of standardized procedures for state checkpointing and recovery planning.

    The protocol uses a local persistent storage directory within your project root to save state snapshots and handoff metadata, allowing the agent to 'remember' progress across completely different sessions.

    Setup involves defining a project root and providing the agent with the Continuity Core logic; it is designed to be plug-and-play for any environment where the agent can read/write files and execute Git commands.

    Continuity Core detects 'stale' evidence by comparing recorded file hashes against current disk state, automatically flagging if a human or another process has modified the workspace since the last checkpoint.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.