companion-capture: Tool saves Claude Code's ephemeral speech bubbles

What companion-capture does
If you use Claude Code in the terminal, you've probably noticed the companion character that pops up with speech bubbles while you work. These messages are ephemeral—the TUI redraws and they're gone. Some contain useful observations about your code, warnings about bugs, or funny commentary. companion-capture watches terminal output, extracts those bubble messages, and saves them to markdown files (and optionally SQLite for search).
How it works
- A shell wrapper launches Claude Code through
script -q -Fto capture raw terminal output - A Python parser runs a VT100 screen buffer (not ANSI stripping—actual cursor position tracking) to figure out where text is actually rendered
- Messages require two consecutive scans before being written, so you don't get half-rendered garbage
- A PostToolUse hook surfaces new captures back to Claude mid-session, so it can actually see what the companion said
Features
- Zero runtime dependencies (stdlib Python only)
- Full-text search across captures (
companion-capture search "auth bug") - Privacy controls—exclude patterns, project blocklists, retroactive redaction
- Opt-in contextual recall that feeds recent captures back to Claude automatically
companion-capture doctorfor health checking the whole setup- 400+ pytest cases
What the developer found using it
The companion actually catches things. It flagged a migration script that had no test coverage. It noticed a race condition in a multi-session setup. Most of the time it's vibes and reactions, but every few sessions it drops something genuinely worth reading back.
Current limitations
MacOS + Claude Code only for now. No external dependencies, MIT licensed.
GitHub: github.com/jaywadhwa/companion-capture
📖 Read the full source: r/ClaudeAI
👀 See Also

RunAnywhere RCLI: On-Device Voice AI Pipeline for Apple Silicon
RunAnywhere has released RCLI, an open-source voice AI pipeline for macOS that runs STT, LLM, and TTS entirely on Apple Silicon devices. The tool uses their proprietary MetalRT inference engine and claims significant performance improvements over existing solutions.

Measuring Claude Code MCP Stack: Cache Friendliness vs. Byte Savings, and a 2-Line Fix for Prompt Cache
Greg Shevchenko benchmarks MCP compressors and retrieval layers on two axes: byte savings and cache friendliness. A 2-line fix (sort rg hits, sort map entries) boosts cache from ~0% to 100% with no byte-savings loss. Open-source harness included.

Open-source AI job search system built with Claude Code evaluates offers, generates tailored resumes
A developer open-sourced a Claude Code project that turns your terminal into a job search command center. The system evaluates job offers across 10 dimensions, generates ATS-optimized PDF resumes, scans 45+ company career pages, and includes 14 skill modes.

Open-Source Article 12 Logging Library for EU AI Act Compliance
A free, open-source TypeScript library for Node.js apps using Vercel AI SDK that implements Article 12 logging requirements with append-only JSONL logs, SHA-256 hash chaining for tamper detection, and 180-day retention enforcement.