Claude Code Context – Auto-resume Claude Code sessions per Git branch
Branch-aware session resuming that Claude Code should've built in.
Auto-generated session titles + per-session colors in the Claude Code statusline.
Auto-titles from Haiku in ~10ms so parallel Claude sessions stay visually distinct.
Developers running multiple Claude Code sessions
which-claude-code is a small plugin that adds a title and color to each Claude Code, so you know right away which Claude Code session does what.
1. On every prompt submit, a UserPromptSubmit hook forks a background claude -p --model haiku call that reads the last few transcript turns and writes a 3-6 word title to ~/.claude/which-claude-code/titles/<session_id>.txt. The hook returns in ~10ms so the prompt isn't delayed.
2. A statusline script prints ● <title> · <model> · <cwd> (<branch>) on every render. The dot and title are tinted from a 20-color palette hashed off the session ID.
Enjoy!
Branch-aware session resuming that Claude Code should've built in.
LLM-generated daily digests of Claude Code activity is a clever observability twist.
Git worktrees meet parallel AI sessions in a native macOS window.
Branch-aware session resume beats starting fresh every checkout.
GitHub Issues beat Notion for session history because they link directly to PRs.
Elegant tmux wrapper for Claude Code multi-tasking; solves real friction only power users face.