list-sessions

List Claude Code sessions with summary data in a markdown table.

2|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/enkira-ai/claude-plugins --skill list-sessions-enkira-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: list-sessions
Source: https://github.com/enkira-ai/claude-plugins/tree/main/plugins/session-manager/skills/list-sessions
Command: npx skills add https://github.com/enkira-ai/claude-plugins --skill list-sessions-enkira-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Listing Claude Code sessions manually is tedious and error-prone; this skill provides a quick, readable overview of all sessions on the local machine.

Core Features & Use Cases

  • Displays Last Access, Session ID (short and full), Project, Name, and Last Message for each session.
  • Reads the history.jsonl file to aggregate session metadata across all sessions for fast reference.
  • Enables resuming a session with claude --resume <session-id> using the captured IDs.

Quick Start

Use the list-sessions script to display a markdown table of all Claude Code sessions.

Frequently Asked Questions about list-sessions

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

FAQPage Schema
How do I list all Claude Code sessions on my local machine?▼

You can list Claude Code sessions by running a Python script that reads the history.jsonl file and renders a markdown table showing last access, session ID, project, and last message.

What is the best way to view Claude Code session history quickly?▼

Viewing Claude Code session history is done by aggregating metadata from history.jsonl into a sortable markdown table, providing a quick reference for last access times, project names, and last messages.

Can I resume a specific Claude Code session directly from a list?▼

Yes, you can resume a session directly by capturing its session ID from the generated list and executing the claude --resume <session-id> command in your CLI.

Does viewing session history require any external dependencies?▼

Viewing session history requires no external dependencies, as it uses a deterministic Python script to read the local history.jsonl file and extract session metadata.

What data is displayed when I aggregate Claude Code session metadata?▼

Aggregating Claude Code session metadata displays the Last Access time, short and full Session ID, Project name, Name, and Last Message for each session in a markdown table.