list-recent-sessions

List recent Claude Code sessions with metadata in an ASCII table.

1|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/KangOxford/auto-quant-research --skill list-recent-sessions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: list-recent-sessions
Source: https://github.com/KangOxford/auto-quant-research/tree/main/execution-layer/skills/list-recent-sessions
Command: npx skills add https://github.com/KangOxford/auto-quant-research --skill list-recent-sessions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill consolidates and presents metadata about Claude Code sessions across all project directories, enabling quick visibility into recent work and workload distribution.

Core Features & Use Cases

  • Cross-project discovery: find the N most recent sessions from all workspaces and compile standardized metadata.
  • Structured output: render a deterministic ASCII table with columns: #, Session ID, Size, Started, Last Active, CWD, Topic, Resume.
  • Actionable insights: sort by session size to identify substantive activity and provide ready-to-run resume commands for quick reattachment.

Quick Start

List recent sessions for the last 24 hours by invoking the skill, and it will return a formatted table ready for review.

Frequently Asked Questions about list-recent-sessions

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

FAQPage Schema
How do I list recent Claude Code sessions across all my project directories?

To list recent Claude Code sessions across all project directories, this Skill aggregates metadata including size, timestamps, and working directory, then outputs a sorted ASCII table for easy review and prioritization.

Can I filter Claude Code session metadata by a specific timeframe?

Yes, you can filter Claude Code session metadata by timeframe. The Skill accepts a timeframe parameter to narrow down the aggregated session data and display only the activities within your specified window.

How do I quickly resume a previous Claude Code session from the command line?

To quickly resume a previous Claude Code session, the Skill provides ready-to-run full 'claude --resume <UUID>' commands for each listed session, allowing immediate reattachment to your desired workspace.

What is the best way to track workload distribution across multiple Claude Code projects?

Tracking workload distribution across multiple Claude Code projects is done by sorting aggregated session metadata by size, which helps identify substantive activity and prioritize reattachment to the most active workspaces.

Does this session management tool require any external dependencies or components?

No, this session management tool requires no external dependencies or components to function. It independently scans your directories and compiles the session metadata into a deterministic ASCII table.

Why are my Claude Code session sizes used as the sorting metric in the output table?

Claude Code session sizes are used as the sorting metric to help you identify substantive activity. Sorting by size allows you to prioritize larger sessions and quickly reattach to the most significant workspaces.