Session Management

Tracks and restores session context across Claude Code sessions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/qenex-ai/project-context-manager --skill session-management-qenex-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Session Management
Source: https://github.com/qenex-ai/project-context-manager/tree/main/skills/session-management
Command: npx skills add https://github.com/qenex-ai/project-context-manager --skill session-management-qenex-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

Session work across Claude Code sessions is fragmented, causing context loss when switching projects or re-opening a session. This skill captures and restores essential context such as edited files, todos, phase progress, and plan state to enable seamless resumption.

Core Features & Use Cases

  • Tracks and persists session state (edited files, todos, phase context, plan state) to enable resumption after pauses or between projects.
  • Provides automatic checkpoints and a replayable session history to understand progress and continuity.
  • Integrates with resume workflows and stop hooks to ensure full context restoration with minimal user intervention.

Quick Start

Ask Claude to resume your session with /resume to automatically load edited files and context.

Frequently Asked Questions about Session Management

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

FAQPage Schema
How do I resume a Claude Code session and restore context after closing it?

You can restore session context by running the /resume command, which automatically loads your edited files, todos, phase progress, and plan state from the .claude/.project-state.json store.

Can I save and track edited files and todos across multi-file projects in Claude Code?

Yes, session state tracking persists edited files, todos, phase progress, and plan state across multi-file projects using automatic checkpoints and a replayable session history.

Does session state management require any specific dependencies or tools to work?

Yes, this session state management skill requires the jq dependency to be installed in your environment to execute its restore scripts and process the state persistence logic.

What is the best way to automatically checkpoint my progress during a Claude Code session?

Automatic checkpoints are generated natively through stop hooks and state persistence logic, capturing file edits and phase progress continuously to enable seamless session resumption.

Why does my Claude Code session context get fragmented when switching between projects?

Session context fragments because standard Claude Code lacks state persistence across sessions, but this skill captures and restores essential context via atomic writes to prevent context loss.

Are there limitations to using automatic checkpoints for multi-file project state management?

Automatic checkpoints rely on a .claude/.project-state.json store and recovery hooks, meaning session state is project-specific and requires the jq dependency to execute restore scripts properly.