Claude Session Restore — Data skill for Claude Code
by ZENG3LD - Efficiently restore context from previous Claude Code sessions by analyzing session files and git history.
How to install Claude Session Restore
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ZENG3LD/claude-session-restore and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Session Restore does
Efficiently restore context from previous Claude Code sessions by analyzing session files and git history.
Alternatives in Data
- Claude Code Usage Monitor — by Maciek-roboblog - A real-time terminal-based tool for monitoring Claude Code token usage 7k ★
- Data Analytics Pack — Data analytics skills collection 1.6k ★
- AI Data Extraction — extract all your personal data history from cursor, codex, claude-code, windsurf, and trae 1.3k ★
README
Claude Session Restore
Efficiently restore context from previous Claude Code sessions by analyzing session files and git history.
Features
- Multi-Vector Data Collection: Extracts tasks, user messages, tool operations, bash activities, and web searches
- Time-Based Filtering: Filter sessions by last modification time (12-24 hours)
- Efficient Parsing: Tail-based reverse parsing for large session files (2GB+)
- Claude Code Integration: Works seamlessly with Claude Code skill system
Components
1. Session Summary CLI
A command-line tool for analyzing Claude Code session files.
**Commands:**
list- List recent sessions with multi-vector summariesload- Load full context from a selected session
**Example:**
# List sessions from last 12 hours
session-summary list
# Extend to 24 hours
session-summary list --max-age-hours 24
# Load full context
session-summary load "/path/to/session-id.jsonl"
2. Claude Code Skill
A skill for Claude Code that enables automatic session restoration.
**Usage:** Simply say "restore session" or "восстанови сессию" and Claude will:
- List recent sessions with multi-vector data
- Let you select which session to restore
- Analyze the session data and provide context summary
- Search git history for related commits
Installation
Prerequisites
- Rust 1.70+ (for building from source)
- Claude Code CLI
Build from Source
git clone https://github.com/ZENG3LD/claude-session-restore
cd claude-session-restore
cargo build --release --workspace
The binary will be at `target/release/session-summary` (or `session-summary.exe` on Windows).
Install to PATH
Linux/macOS
cargo install --path session-summary
Windows (Git Bash/MSYS2)
cargo build --release
cp target/release/session-summary.exe ~/.local/bin/
Install Claude Code Skill
# Copy skill to Claude Code skills directory
mkdir -p ~/.claude/skills/restore-session
...
Related Skills
/improve
looks at your recent git history, session data, and current CLAUDE.md to figure out what instructions are miss
Memory Commands
Commands for viewing, updating, and managing the entrepreneur's persistent context — identity, company profile
Agentic Project Workflow
Phased, human-gated pipeline for taking multi-repo changes through AI coding agents — context → analysis → tas
BnhassinAgent Database
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, comp
Social Leaker
Self-hosted social media OSINT and data collection panel built with Python, FastAPI, and SQLite. Features obje
Analyzing Loci Of Identity Definition 20260709
Analyzing identity not by accumulated data or history, but by identifying current commitments and directional
Related Agents
Conversation Historian
Use when analyzing Claude Code conversation history, finding past sessions by topic, tracing how implementatio
Entire Search
Search Entire checkpoint history and transcripts with entire search --json. Use proactively when the user asks
Sub-Agent New Feature Command
Orchestrates multiple specialized sub-agents to implement new features efficiently by analyzing existing patte