Cctrace — Communication skill for Claude Code
Export Claude Code chat sessions into markdown and XML.
How to install Cctrace
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jimmc414/cctrace and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cctrace does
Export and import Claude Code sessions.
Alternatives in Communication
- Lark Coding Agent Bridge — Bot that bridges Feishu/Lark messenger with a local Claude Code or Codex CLI 2.4k ★
- Qiaomu Anything To Notebooklm — Claude Skill: Multi-source content processor for NotebookLM 1.4k ★
- X Article Publisher Skill — Claude Code skill for publishing Markdown articles to X (Twitter) Articles 667 ★
README
cctrace
Export and import Claude Code sessions.
Claude Code stores conversation history in `~/.claude/projects//*.jsonl`. This tool extracts those sessions into portable formats for archival, analysis, or sharing.
What's New
**v2.0** adds portable sessions: export a session to your git repository, push it, and let someone else import it to continue where you left off. The original export functionality remains unchanged.
Two Modes of Operation
Classic Export
Exports to `~/claude_sessions/exports/` with timestamped directories. This is the original behavior and remains the default.
python3 export_claude_session.py
Produces:
~/claude_sessions/exports/2025-07-02_16-45-00_f33cdb42/
├── raw_messages.jsonl # Original session data
├── conversation_full.md # Human-readable markdown
├── conversation_full.xml # Structured XML with full metadata
├── session_info.json # Session metadata
└── summary.txt # Statistics
Portable Export
Exports to `.claude-sessions//` within your repository. Designed to be committed and shared.
python3 export_claude_session.py --in-repo --export-name my-session
Produces:
.claude-sessions/my-session/
├── .cctrace-manifest.json # Required for import
├── RENDERED.md # Renders on GitHub
├── session/
│ ├── main.jsonl # Session transcript
│ ├── file-history/ # File snapshots from undo history
│ ├── todos.json # Todo state
│ └── plan.md # Plan file if present
├── config/
│ ├── commands/ # Slash commands
│ ├── skills/ # Skills
│ └── ... # Other .claude/ config
└── [legacy files] # For backwards compatibility
The portable export includes everything needed to resume the session: conversation history, file snapshots, todos, plans, and project-specific Claude Code configuration.
Importing a Session
...
Related Skills
Claude Chat To Md
Convert Claude Code chat sessions to clean Markdown — including subagent conversations
Wechat Exporter
A Claude Code / Codex skill to export and decrypt WeChat (macOS) chat history into plaintext SQLite databases
Chat History
Search, inspect, and export Claude Code, Cursor & Codex history
Imessage MCP
macOS-only iMessage MCP server for Claude Code. Direct chat.db read, voice-note transcription, FTS5 search, Ap
Devtools Plugins
Claude Code plugins: Obsidian wiki with multi-contributor import and chat log export via Telegram
Do They Love Me Skill
Turn a two-person WeChat chat export into an evidence-based relationship analysis: interaction metrics, local
Related Agents
Skill Refiner
Meta-skill agent. Takes a skill file and evidence of how it has performed in real sessions (commit log, chat t
XML Architect
Dotnet Docs Generator
WHEN generating documentation for a .NET project. Analyzes project structure, recommends doc tooling, generate