Skip to content

WeijianQ/second-brain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Second Brain

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.

What it does

  1. Scans your activity — Claude Code .jsonl logs, Codex history, tmux pane commands
  2. Summarizes with Claude — raw activity becomes 1-4 natural language bullet points
  3. 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.

Requirements

  • macOS (menu bar app uses rumps)
  • Python 3.11+
  • Claude Code CLI (claude command in PATH)
  • tmux (for shell command scanning)

Setup

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
claude

Claude 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.

About

Auto-diary that turns your terminal activity into daily markdown notes. Setup via Claude Code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors