session-handoff

Save session state to working/session_state.yaml for resumption.

16|7|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/ai-analyst-lab/ai-analyst-plus --skill session-handoff-ai-analyst-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-handoff
Source: https://github.com/ai-analyst-lab/ai-analyst-plus/tree/main/.claude/skills/session-handoff
Command: npx skills add https://github.com/ai-analyst-lab/ai-analyst-plus --skill session-handoff-ai-analyst-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Preserve critical state when a session approaches context limits, so the next session can pick up seamlessly and no work is lost across restarts or pause points.

Core Features & Use Cases

  • Automatic saving of comprehensive session state to the exact path working/session_state.yaml after external resource creation or major milestones.
  • Supports Google Workspace resource tracking (Docs, Slides, Drive) and multi-step pipelines that may be resumed later.
  • Provides a complete restart template and clear resume instructions to minimize setup time for the next session.

Quick Start

Save your current session state by writing to working/session_state.yaml after major steps or when pausing, so you can resume later.

Frequently Asked Questions about session-handoff

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

FAQPage Schema
How do I preserve session state when approaching context limits in a workflow?

To preserve session state when approaching context limits, save your dataset details, pipeline progress, and external resource IDs to a single YAML handoff file at working/session_state.yaml. This captures critical execution data so the next session can resume seamlessly without losing work.

What is the best way to resume a multi-phase pipeline after a session restart?

The best way to resume a multi-phase pipeline after a session restart is to use a YAML state file containing explicit resume instructions and local file inventory. Loading this handoff document provides the exact restart template needed to pick up the workflow seamlessly.

How does session handoff work with Google Workspace resources like Docs and Slides?

Session handoff with Google Workspace resources works by tracking external resource IDs and their URLs within the YAML state file. Capturing these identifiers ensures that Google Docs, Slides, and Drive links remain accessible and correctly mapped when the workflow resumes.

Do I need to write to a specific file path to save my workflow progress?

Yes, you need to write your workflow progress to the exact file path working/session_state.yaml. Saving to this specific location after major milestones or external resource creation ensures the handoff data is consistently found for the next session.

When should I save my session state to avoid losing work across restarts?

You should save your session state after creating external resources or completing major pipeline milestones to avoid losing work. Capturing details like auth state and blockers at these critical points ensures no progress is lost when a session nears context limits.

What information should a YAML handoff file capture to track external-resource workflows?

A YAML handoff file should capture dataset details, tasks, pipeline progress, external resource IDs with URLs, local file inventory, auth state, blockers, and explicit resume instructions. This complete state preservation enables seamless resumption of external-resource workflows.