restore-session

Analyze session files and git history to reconstruct prior Claude session context.

36|9|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/ZENG3LD/claude-session-restore --skill restore-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: restore-session
Source: https://github.com/ZENG3LD/claude-session-restore/tree/main/skill
Command: npx skills add https://github.com/ZENG3LD/claude-session-restore --skill restore-session

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps restore full context when starting a new Claude session after a previous session was closed, crashed, or became too large.

Core Features & Use Cases

  • Find and analyze recent session files with the session-summary tool to extract topics and multi-vector data.
  • Deep dive into a selected session to gather vectors such as Tasks, User messages, Tool operations, Bash outputs, and web searches.
  • Search git history for related commits to connect changes with sessions.
  • Synthesize a context summary and actionable next steps to resume work after interruptions.

Quick Start

Say "restore session" to trigger the workflow and follow prompts to select and load a prior session.

Frequently Asked Questions about restore-session

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

FAQPage Schema
How do I restore context from a previous Claude session after it crashed?

To restore context from a previous Claude session, analyze recent session files and git history to reconstruct the working state. This tool extracts topics, user messages, tool operations, and code changes to output a structured context summary with recommended next steps.

What is the best way to recover Claude session context when a session becomes too large?

Recovering Claude session context when a session becomes too large involves analyzing prior session data and git commits. By leveraging the session-summary tool to list and load sessions, you can synthesize a structured context summary to resume work after interruptions.

How does connecting git history to session files help recover lost context?

Connecting git history to session files helps recover lost context by linking recent commits with session data. Searching git history for related commits allows you to connect code changes with specific sessions, ensuring a comprehensive reconstruction of your previous work state.

Can I extract specific tool operations and bash outputs from a previous session?

Yes, you can extract specific tool operations and bash outputs from a previous session. The tool performs a deep dive into the selected session to gather multi-vector data, including Tasks, User messages, Tool operations, Bash outputs, and web searches.

How do I start restoring a session using the session-summary tool?

To start restoring a session using the session-summary tool, say "restore session" to trigger the workflow. Follow the prompts to select a prior session from the list, and the tool will load and analyze the session data to reconstruct your context.

Does this session recovery tool require any external dependencies?

No, this session recovery tool does not require any external dependencies. It operates by analyzing local session files and git history directly, allowing you to reconstruct context and generate actionable next steps without installing additional packages.