relay

Generate a CONTEXT_FOR_NEXT_SESSION.md handoff document for Claude Code sessions.

2|1|Updated Feb 8, 2021
One-click install
npx skills add https://github.com/jstoobz/dotfiles --skill relay-jstoobz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: relay
Source: https://github.com/jstoobz/dotfiles/tree/main/claude/skills/session-kit/relay
Command: npx skills add https://github.com/jstoobz/dotfiles --skill relay-jstoobz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates generating a CONTEXT_FOR_NEXT_SESSION.md that captures everything needed to resume work in a new Claude Code session without re-explaining. It preserves previous context, consolidates decisions, and records the current state to ensure continuity.

Core Features & Use Cases

  • Context capture: Creates or updates a CONTEXT_FOR_NEXT_SESSION.md in the current working directory, including previous session context and new items.
  • State extraction: Records the current git branch, uncommitted changes, recent commits, and key file paths discussed in the conversation.
  • Handoff readiness: Produces a structured document ready to paste into a new Claude Code session for zero re-explanation.
  • Use Case: When you say "/relay" or want to save progress for continuation, run the skill to generate the handoff document.

Quick Start

Use the relay skill to generate CONTEXT_FOR_NEXT_SESSION.md in the current working directory. Then open and review the file to ensure it contains the latest context and next steps.

Frequently Asked Questions about relay

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

FAQPage Schema
How do I save Claude Code session context to resume work later?

A session handoff file captures your current git branch, uncommitted changes, recent commits, and key file paths into a structured document. This preserves previous context and consolidates decisions to ensure continuity when resuming work in a new Claude Code session.

What's the best way to generate a handoff document for Claude Code?

A session handoff document records the current git branch, uncommitted changes, recent commits, and key file paths discussed in the conversation. It consolidates these items into a structured markdown file ready to paste into a new Claude Code session for zero re-explanation.

Does the relay skill require any dependencies to capture workflow context?

No, the relay skill requires zero dependencies to capture workflow context. It operates directly within your current working directory to produce the structured handoff document, relying only on your existing git state and conversation history.

When do I need to create a context file for my next Claude Code session?

You need to create a context file for your next Claude Code session when you want to save progress for continuation. Generating a CONTEXT_FOR_NEXT_SESSION.md ensures you can resume work seamlessly without re-explaining previous decisions or session state.