Claude Code session
Cc2md
Convert Claude Code session logs into clean, readable markdown — with an interactive picker, terminal rendering, and GFM export.
Install
brew install magarcia/tap/cc2mdFound in the project README. Check it for setup steps after installing.
git clone https://github.com/magarcia/cc2md.gitFrom the README
cc2md Convert Claude Code session logs into clean, shareable markdown. Claude Code stores session logs as JSONL files in ~/.claude/projects/. cc2md reads those logs and renders them in the terminal with glamour, or exports raw markdown to files. When invoked with no arguments in a TTY, it launches an interactive session picker. Installation Homebrew Go Binary Download a pre-built binary from GitHub Releases. Quick Start Usage Commands Flags Output Rendering Formatting List subcommand Environment Variables Markdown Flavors By default, cc2md uses CommonMark for terminal rendering and GFM when writing to a file (--output) or emitting raw markdown (--raw). Use --markdown to override: - gfm — GitHub Flavored Markdown: > [!NOTE] alerts, tags - commonmark — Portable markdown: > Note: blockquotes, expanded sections Examples Archiving Your Conversations in Git Claude Code deletes session logs after 30 days. You can use cc2md to build a permanent, version-controlled archive of every AI conversation — searchable with grep, reviewable in any editor, and backed up to a remote. Set up a log repository: Export all sessions: Commit and push: Run this on a schedule (cron, launchd) to keep the archive growing automatically. Over time you get a complete record of how you work with AI — which patterns you return to, how your prompting evolves, and which approaches work across projects. Building from Source Requires Go 1.25+ and just. License MIT
Details
- Repository
- magarcia/cc2md
- Language
- Go
- Last updated
- 2 March 2026
FAQ
What is Cc2md?
Convert Claude Code session logs into clean, readable markdown — with an interactive picker, terminal rendering, and GFM export. It is a session for Claude Code, from magarcia/cc2md on GitHub.
How do I install Cc2md?
Run brew install magarcia/tap/cc2md, then follow the setup in the README.
Is Cc2md popular?
magarcia/cc2md has 39 GitHub stars and 8 forks. It was last updated on 2 March 2026.
More sessions & history
Claude Code Iterm2 Tab Status
39JasperSui/claude-code-iterm2-tab-status
Claude Code plugin that shows live session status ( running / idle / attention) in your iTerm2 tab title — no config needed, just install and go.
AI Memory
41Hidden-History/ai-memory
Persistent semantic memory for Claude Code via Qdrant. Store, search, and retrieve context across sessions.
Superbrain
43m3talux/superbrain
Session memory for Claude Code. Auto-captures every session into a plain Obsidian markdown vault. Zero config. MIT. macOS + Linux.
Clawy
40marcvermeeren/clawy
A cute pixel companion for Claude Code sessions.
AI Memory
44hyxnj666-creator/ai-memory
Extract structured knowledge from Cursor & Claude Code conversations into git-trackable Markdown files
Agent Hub
45Aley3567/Agent-Hub
Local runtime for Claude Code and Codex — provider management, isolated sessions, routing and protocol translation.
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.