jerrywu001/cc-sessions-viewer
support cc/codex/grok build/kimicode/pi/antigravity cli/opencode sessions viewer, skills manage, token usage statistics, global search, resume, and export to html
Sessions Viewer – Quick Overview
What it is – A native, cross‑platform desktop application (built with Tauri) that lets you browse, search, and manage local transcript files generated by several AI coding assistants (Claude Code, Codex, Grok Build, Kimi Code, Pi, Antigravity CLI, and opencode). It also lets you resume those sessions in a terminal or start new chats directly from the UI.
Why you might care – If you use any of the supported agents you end up with a lot of JSONL‑style logs on disk. Sessions Viewer turns those raw files into a searchable workspace, shows tool calls, images, and diffs, and even estimates token usage and cost.
Core Features
| Feature | What it does |
|---|---|
| Read & Search | View recorded thinking blocks, tool calls, and images; global search (⌘⇧F) across titles and user prompts; jump to any prompt in a compact list. |
| Resume Work | One‑click launch of a saved session in an embedded terminal or your preferred terminal app (iTerm2, Warp, etc.). Built‑in chat for Claude Code and Codex with model/effort controls. |
| Tool Management | New page that aggregates skills, MCP servers, hooks, and instruction files from all agents; detects duplicates, dead links, and lets you preview or dry‑run hook scripts. |
| Workspace Layout | Split panes, draggable tabs, and persistent pane configurations; cmux integration for smart split directions and tab naming. |
| Organization | Bookmarks, rename‑sync with CLI, soft‑delete with restore, shared trash. |
| Analytics | Token‑count and cost estimates per project, model, or tool (using cached models.dev prices); menu‑bar stats for today/7‑day/30‑day totals. |
| Export | Export any session as Markdown, HTML, or raw JSON; images stay linked unless you keep the original files. |
| Cross‑Platform | Binaries for macOS (Intel & Apple Silicon), Windows x64, and Linux (deb & AppImage). |
How it works (high‑level)
- Locate transcripts – The app reads the local storage format each agent uses (documented on the website). No network traffic is required for browsing.
- Parse & index – It extracts user prompts, assistant replies, tool calls, and any attached images or diffs, then builds a local search index.
- Display – UI shows a sidebar of projects, a session list, and a chat‑style pane that can replay the conversation faithfully.
- Resume – When you click Resume, the app launches the original CLI with the same flags (e.g.,
--dangerously-skip-permissions) in the selected terminal. - Tool management – A separate view scans the filesystem for skill files, MCP server configs, and hook scripts, highlighting duplicates or broken references.
Getting Started
- Download – Grab the appropriate installer from the Releases page.
- macOS:
.dmg(Apple Silicon & Intel) – note it is not notarized; follow the guide to bypass Gatekeeper. - Windows:
-setup.exeor.msi. - Linux:
.debor portable.AppImage.
- macOS:
- Install – Run the installer (or
sudo apt install ./cc‑sessions‑viewer_*.debfor Debian‑based Linux). No additional runtime is needed. - Open – The app starts with a sidebar. Click Open Project and point it at the folder where your agent stores its transcripts.
- Explore – Use the search shortcut (
⌘⇧F/Ctrl+Shift+F) to find prompts, click a session to view the replay, or hit Resume to continue in a terminal. - Tool page – Visit Tools → Manage to see all detected skills, hooks, and MCP servers; fix duplicates or broken links directly.
Who should use it
- Developers who regularly work with Claude Code, Codex, or the other listed coding agents and need a convenient way to revisit past runs.
- Teams that want to audit token usage and estimate costs across multiple projects.
- Anyone who wants a single UI to manage the assorted “skill” files and hook scripts that many agents rely on.
Contributing & Support
- The repo uses npm + Rust (Tauri) –
npm install && npm run tauri devfor local development. - Contributions follow Conventional Commits.
- Sponsorship options (GitHub Sponsors, Alipay, WeChat) are listed for users who want to help sustain development.
License: MIT – free to use, modify, and redistribute.
Related
- Project
- Project
- Project
- Project