session-handoff

Capture session state into a durable handoff file with Git snapshot and redacted secrets.

15|5|Updated May 17, 2026
One-click install
npx skills add https://github.com/cropsgg/skills --skill session-handoff-cropsgg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-handoff
Source: https://github.com/cropsgg/skills/tree/main/skills/productivity/session-handoff
Command: npx skills add https://github.com/cropsgg/skills --skill session-handoff-cropsgg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compact session state for another agent or future you to resume without context loss.

Core Features & Use Cases

  • Capture the original goal and desired outcome in a single handoff document.
  • Include a Git snapshot: branch, status, last commit, and any dirty files.
  • Record completed work, decisions, and blockers to ensure continuity across agents or sessions.
  • Write a durable handoff file at a durable path (e.g., docs/handoffs/YYYY-MM-DD-slug.md) with redacted secrets and no automatic commits unless requested.
  • Enforce operating rules to link related issues/PRs and keep the handoff concise (under ~150 lines) while providing depth via linked logs.

Quick Start

Create a handoff file describing the session state at docs/handoffs/YYYY-MM-DD-description.md

Frequently Asked Questions about session-handoff

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document an agent session state for another agent to resume the task?

To document an agent session handoff, you capture the original goal, git state, completed work, decisions, and blockers into a durable markdown file. This persisted state allows a future agent or session to resume the multi-step task without context loss.

What should be included in a git state snapshot for session handoff documentation?

A git state snapshot for session handoff should include the current branch, repository status, last commit details, and any dirty files. Recording this exact git state alongside completed work and blockers ensures accurate continuity for the next agent.

How do I securely persist end-of-session context and workflow documentation for future use?

You securely persist workflow documentation by writing the session handoff file to a durable path like docs/handoffs/YYYY-MM-DD-slug.md. The process enforces redaction of secrets from the handoff document and prevents automatic git commits unless explicitly requested.

Does session handoff automatically commit the workflow documentation to my git repository?

Session handoff documentation does not automatically commit to your git repository by default. It only writes a durable file capturing your session state, requiring explicit user request to execute any git commits alongside the workflow handoff.

When do I need to create a compact session handoff document for agent collaboration?

You need a compact session handoff document when working across multi-step tasks, long-running sessions, or agent collaboration. It preserves the original goals, decisions, and blockers in a concise file under 150 lines, linking to related issues and logs for depth.

Can I use session handoff files for long-running multi-step tasks without losing context?

Session handoff files are designed for long-running multi-step tasks to prevent context loss. By specifying the goal, git state, and blockers in a durable markdown file, another agent or future you can seamlessly resume the continuity of work.