Claude Code session
Cchistory
Like the shell history command but for your Claude Code sessions.
Install
npx cchistory --helpFound in the project README. Check it for setup steps after installing.
git clone https://github.com/eckardt/cchistory.gitFrom the README
cchistory Like the shell history command but for your Claude Code sessions. Why cchistory? When Claude Code runs shell commands, they don't appear in your shell history. This makes it hard to: - Re-run useful commands from past sessions - Build on previous work - Learn from command patterns Claude uses - Copy command sequences for documentation 📦 Installation npm (recommended) npx (try without installing) From source Usage Follow mode -f / --follow works like tail -f: cchistory prints the existing history and then stays open, printing new commands as Claude Code writes them. It keeps following across newly started sessions, and combines with the other flags and with pipes: Press Ctrl-C to stop. While following, the live commands are printed in the order they arrive (matching tail -f file1 file2), rather than re-sorted by timestamp. ✨ Features - 🔍 Extract all Bash commands Claude executed across projects - 🗂️ Filter by specific project or search globally - 📊 Standard Unix tool compatibility (grep, awk, sort) - ⚡ Fast streaming parser for large conversation logs - 🚀 Zero-config - works with existing Claude Code setup How It Works Claude Code stores conversation history in ~/.claude/projects/. This tool: 1. Finds your Claude projects 2. Streams through conversation logs 3. Extracts shell commands Claude executed 4. Formats them like traditional shell history 📋 Example Output Advanced Usage Command Sources Extracts commands from: - Bash tool usage: Commands Claude executes via the Bash tool - User "!" commands: Commands you run with ! command in Claude Requirements - Node.js 20+ - Claude Code with conversation history in ~/.claude/projects/ Note: Claude Code automatically cleans up conversation transcripts based on the cleanupPeriodDays setting…
Details
- Repository
- eckardt/cchistory
- Language
- TypeScript
- License
- MIT
- Last updated
- 10 June 2026
- Topics
- bashclaudeclaude-codeclishellshell-historyterminal
- Listed in
- awesome-claude-code (extra)
FAQ
What is Cchistory?
Like the shell history command but for your Claude Code sessions. It is a session for Claude Code, from eckardt/cchistory on GitHub.
How do I install Cchistory?
Run npx cchistory --help, then follow the setup in the README.
Is Cchistory popular?
eckardt/cchistory has 140 GitHub stars and 7 forks, and is included in 1 curated Claude Code list. It was last updated on 10 June 2026.
More sessions & history
MemoSync
206SLEEPYBQ/MemoSync
Co-manage memory with your coding agent across sessions. A local workbench for Claude Code, Codex and Pi.
Session Migrate
169xhluca/session-migrate
Migrate coding agent sessions across 18 harnesses (Claude Code, Codex, Pi, OpenCode, Copilot, Antigravity, Vibe, Muse, Qwen, Kimi, Cursor, etc.)
Dsh Rewind
237SiriLee/dsh-rewind
DSH 插件:便捷无感的同窗口内对话回退,从不新建分支;自带轻量工作区备份,可一并还原文件(Claude Code /rewind 语义)。 · DSH plugin: effortless in-window conversation rewind — never forking a new session; ships a lightweight workspace backup that restores files together with the rewind (Claude Code /rewind semantics).
Cortex
173hjertefolger/cortex
Persistent local memory for Claude Code. Longer sessions. Cross-session recall. Zero cloud.
Claude Remember
207Digital-Process-Tools/claude-remember
Persistent memory for Claude Code — identity, context, and continuity across sessions
GUI Anything
217YurunChen/GUI-Anything
GUI-Anything is a dual-pane Flow Observer for Claude Code. It watches live JSONL sessions, visualizes exploration as timelines and flowcharts, and curates on-demand project wiki knowledge without interrupting the coding flow.
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.