Context Handoff & Resume

    1

    End long AI coding sessions with a structured handoff and resume in a fresh chat for a fraction of the tokens.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Context Handoff & Resume

    Example session with this skill installed

    We finished moving the login form to React Hook Form, but the logout button still uses the old class component. Let's wrap up for today and continue in a new chat tomorrow.

    • Read your context and instructions
    • Compiled the context handoff

    Ran new_handoff.py --slug login-form-migration, filled both files, --scan passed (no secrets), all 4 probe questions answered from the files.

    .handoff/2026-11-14_1830_login-form-migration/summary.md (excerpt)

    TL;DR

    Migrating auth UI from class components to hooks. Login form now uses React Hook Form + zod; tests green. Logout button still a class component (LogoutButton.jsx). Next: convert it and delete the legacy withAuth HOC.

    Files

    FileActionWhy
    src/auth/LoginForm.tsxmodifiedRHF + zod schema, removed local state
    src/auth/loginSchema.tscreatedshared validation
    src/auth/LogoutButton.jsxreadstill class-based, not touched

    Decisions

    DecisionAlternativesReason
    React Hook FormFormikalready in package.json, smaller bundle

    Key context

    • Tried useFormState for server errors: breaks the existing toast flow, reverted.

    Open questions / blockers

    • Keep withAuth until the admin panel migrates? Owner: you.

    next_steps.md: 1) run npm test -- auth (1 min) 2) convert LogoutButton to a hook component (20 min) 3) remove withAuth usages in src/auth (15 min)

    Final message, copy into a new chat:

    Continue from a previous session.
    - Summary: .handoff/2026-11-14_1830_login-form-migration/summary.md
    - Next steps: .handoff/2026-11-14_1830_login-form-migration/next_steps.md
    
    Context: migrating auth UI to hooks; login form done, logout button pending.
    First actions once I confirm:
    1. Run npm test -- auth
    2. Convert LogoutButton to a hook component
    3. Remove withAuth usages in src/auth
    
    Read both files, verify they match the repo, then wait for my go-ahead.
    
    already in package.json

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

    About this skill

    Long agent sessions get slow and expensive: every turn re-sends the whole history, and once the prompt cache expires you pay for it again at full price. Context Handoff turns a session into two small files and a ~80-word cold-start prompt.

    How it works

    CREATE - say "wrap up" and your agent:

    1. Scaffolds .handoff/<YYYY-MM-DD_HHMM>_<slug>/ with summary.md and next_steps.md
    2. Fills summary.md: TL;DR (max 10 lines), outcomes, files touched (path, action, why), decisions with alternatives and reasons, key context and dead ends, open questions
    3. Fills next_steps.md: max 5 ordered, time-estimated actions, plus Deferred and Out of scope blocks
    4. Redacts secrets and runs a heuristic secret scan
    5. Self-checks with 4 probe questions answered from the files only
    6. Prints a self-sufficient cold-start prompt for the next chat

    RESUME - in the new chat, "resume from <path>" loads the handoff, checks it against the repo and git (drift reported in one line) and waits for your go-ahead instead of charging ahead.

    Works in any repo and any SKILL.md-compatible agent.

    What you get

    • SKILL.md with CREATE and RESUME workflows
    • scripts/new_handoff.py: scaffold (--slug, --dir, --root, --no-git), --list, --latest, --scan for secret-looking strings
    • Templates for summary.md and next_steps.md
    • Good-handoff checklist and a bad-vs-good worked example

    Permissions / network

    • No network access, no external hosts, no secrets needed
    • Writes only inside .handoff/ (configurable via --dir or HANDOFF_DIR)
    • Optional read-only local git commands (branch, last 3 commits, status); disable with --no-git

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.

    Handoff quality depends on what the agent still has in context after auto-compaction. The secret scan is heuristic (common key formats and key=value pairs). Built for chat sessions, not for in-loop context compression of running agents.

    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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    • Free with an Agensi account

    Software
    Python
    Optional
    Python 3.8+ (standard library only) for the helper scriptGit (read-only repo snapshot)

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    .handoff/**

    Terminal only runs the bundled Python script and optional read-only git commands (rev-parse, log -3, status). Writes only inside .handoff/. The optional HANDOFF_DIR variable can change that folder. No network.

    Listed1 day ago

    What's inside

    Frequently Asked Questions

    No. The skill and its script make no network calls. Everything is written to .handoff/ in your project, and secrets are redacted and scanned before the prompt is printed.

    Any agent that loads SKILL.md files: Claude Code, Cursor, Codex CLI, Gemini CLI and others. The handoff files are plain Markdown, so you can even resume in a different agent.

    No. Python 3.8+ (standard library) runs the optional helper for scaffolding, listing and the secret scan. Git is only used read-only for a repo snapshot and can be skipped with --no-git.

    Your choice. On first run in a repo the agent asks once whether to git-ignore it (private) or commit it (shared with the team).

    New in Workflow Automation

    Free