A new way to extract detailed transcripts from Claude Code
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Developers using Claude Code now have a shareable, detailed record of coding-agent sessions, replacing ad-hoc copy-paste workflows for preserving project context.
Simon Willison has released a free Python tool called claude-code-transcripts. It takes the conversation logs from Claude Code, a popular AI coding assistant, and turns them into clean, shareable web pages that show everything the AI did, including its hidden reasoning. Users run one command, pick a session, and get an HTML file they can host anywhere or share via a GitHub Gist. This helps anyone whose project decisions now live inside AI chat logs rather than traditional issue trackers.
Simon Willison's new claude-code-transcripts tool converts Claude Code session logs into shareable HTML pages, and can also pull sessions from Claude Code for web by using a reverse-engineered private API. The business relevance: project context and decision records are migrating from issue trackers into AI chat logs, and teams without such tooling lack an auditable trail of agent work. The web API dependency could break if Anthropic changes it.
claude-code-transcripts is a Python CLI (click, Jinja2, httpx, questionary) that renders local Claude Code session JSON into paginated HTML with thinking traces, runnable via 'uvx claude-code-transcripts' and shareable via '--gist'. For Claude Code for web, it fetches session JSON through a reverse-engineered API, extracting the OAuth token from the macOS Keychain via 'security find-generic-password' - a trick reverse-engineered using OpenAI Codex CLI, not Claude. The web endpoint is unofficial and may break; HTML generation is protected by syrupy snapshot tests.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Claude Code claude-code-transcripts uv GitHub Gist Codex CLI macOS Keychain
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.