claude-code-sessions-cli

Query and analyze local Claude Code session transcripts for project-specific summaries, tool calls, and subagent activity.

3|1|Updated May 19, 2026
One-click install
npx skills add https://github.com/adbertram/cli-tools --skill claude-code-sessions-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-code-sessions-cli
Source: https://github.com/adbertram/cli-tools/tree/main/_repo/skills/claude-code-sessions-cli
Command: npx skills add https://github.com/adbertram/cli-tools --skill claude-code-sessions-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a structured interface to query and analyze local Claude Code session transcripts, allowing users to extract insights from past development activity without manual file browsing.

Core Features & Use Cases

  • Session Intelligence: Search across all project transcripts to find specific tool calls, subagent activity, or past implementation decisions.
  • Project Auditing: List and filter project sessions to track progress, review subagent launches, and identify todo items captured in update plans.
  • Use Case: If you need to recall how a specific bug was resolved in a previous session, use this skill to search for the error message across all project transcripts and retrieve the relevant conversation history.

Quick Start

Use the claude-code-sessions skill to list the ten most recent sessions for the current project.

Frequently Asked Questions about claude-code-sessions-cli

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

FAQPage Schema
How do I search across Claude Code session transcripts to find a past implementation decision?

To search Claude Code session transcripts, you can query the local session history stored in your home directory. This skill performs cross-session keyword searches to retrieve specific tool calls, subagent activity, and chronological event streams from past development activity.

Can I list and filter project sessions to track subagent launches and update plan todos?

Yes, you can list and filter project sessions to track progress and review subagent launches. The skill queries local transcripts to identify todo items captured in update plans and reconstructs the chronological event stream for project auditing.

Does querying local Claude Code session history require access to the ~/.claude directory?

Yes, querying local Claude Code session history requires access to the ~/.claude directory. The skill reads session transcripts directly from the user home directory to perform cross-session keyword searches and retrieve project-specific session summaries.

What is the best way to retrieve a specific bug fix from previous Claude Code development sessions?

The best way to retrieve a specific bug fix is to search for the error message across all project transcripts. This skill queries local session transcripts to find matching conversation history and retrieve the relevant past implementation decisions without manual file browsing.

How do I extract insights from past Claude Code development activity without manual file browsing?

You extract insights from past Claude Code development activity by using a structured query interface. This skill searches local session transcripts to retrieve project-specific summaries, tool call logs, and subagent activity, eliminating the need to manually browse transcript files.