Claude Code session

CC Session Reader

Read Claude Code session transcripts and emit a compact summary — 80%+ token reduction, no LLM, pure static extraction.

66 stars 11 forksSessions & history Source

Install

From source
git clone https://github.com/Mapleeeeeeeeeee/cc-session-reader.git

From the README

cc-session-reader

English | 繁體中文

A CLI tool that reads Claude Code session transcripts and emits a compact summary.
Every tool call is collapsed into a single line (tool name + key arguments + result status), while conversation text is preserved in full.
Purely static extraction — no LLM involved.

Token reduction depends on what the session is made of: tool-I/O-heavy sessions typically reach 80–88%;
sessions dominated by large plan documents or plain conversation reduce less (measured around 40–65%), because user/assistant text is kept verbatim and never compressed.

Installation

macOS / Linux

The script downloads the binary for your platform into ~/.local/bin/cc-session (override with the INSTALL_DIR environment variable)
and installs the Claude Code Skill by default. Pass --no-skill if you don't want the Skill.

Windows (PowerShell)

Installs into $env:LOCALAPPDATA\cc-session\; in interactive mode it asks whether to add the directory to PATH and install the Skill.

Other installation methods

- Download a binary: grab the archive for your platform from GitHub Releases, extract it, and put it on your PATH.
- go install: go install github.com/Mapleeeeeeeeeee/cc-session-reader/cmd/cc-session@latest (binary lands in $GOPATH/bin).
- Skill only: mkdir -p ~/.claude/skills/cc-session && curl -o ~/.claude/skills/cc-session/SKILL.md https://raw.githubusercontent.com/Mapleeeeeeeeeee/cc-session-reader/main/SKILL.md

Subcommands

Session IDs support prefix matching — the first 8 characters are usually enough. read and context truncate at 200 lines by default (-max-lines adjusts it); when truncated they print the total line count and the suggested offset for the next chunk.

list reads from session metadata (~/.claude/usage-data/session-meta/), so it shows fewer entries than…
Read the full README on GitHub

Details

Language
Go
License
Apache-2.0
Last updated
28 September 2026

FAQ

What is CC Session Reader?

Read Claude Code session transcripts and emit a compact summary — 80%+ token reduction, no LLM, pure static extraction. It is a session for Claude Code, from Mapleeeeeeeeeee/cc-session-reader on GitHub.

How do I install CC Session Reader?

Clone Mapleeeeeeeeeee/cc-session-reader from GitHub and follow the setup steps in its README.

Is CC Session Reader popular?

Mapleeeeeeeeeee/cc-session-reader has 66 GitHub stars and 11 forks. It was last updated on 28 September 2026.

More sessions & history

Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.