Auto-diary that turns your terminal activity into daily markdown notes. Every 20 minutes it scans your Claude Code sessions, Codex history, and tmux shell commands, then uses Claude to write a concise summary and appends it to today's diary.
You don't write anything. It writes for you.
- Scans your activity — Claude Code
.jsonllogs, Codex history, tmux pane commands - Summarizes with Claude — raw activity becomes 1-4 natural language bullet points
- Appends to
daily/<project>/YYYY-MM-DD.md— auto-deduplicates, never repeats
A macOS menu bar app (📓) lets you browse recent entries, trigger manual updates, and pause.
- macOS (menu bar app uses rumps)
- Python 3.11+
- Claude Code CLI (
claudecommand in PATH) - tmux (for shell command scanning)
The easiest way: open Claude Code in this directory and it will walk you through setup interactively.
git clone https://github.com/user/second-brain.git
cd second-brain
claudeClaude will ask you a few questions (local vs remote, SSH host, your name) and configure everything.
Manual setup is also possible — see CLAUDE.md for the step-by-step flow.