claude-observe
v0.1.0
Published
A terminal UI for observing and analyzing Claude conversation logs
Maintainers
Readme
claude-observe
A terminal UI for observing and analyzing Claude conversation logs.
Features
- Session Browser - View Claude sessions with metadata (project, created/modified dates, number of logs)
- Filter & Search - Filter sessions by project name and search through conversation content
- Message Inspector - Inspect user messages, assistant responses, tool calls, and thinking blocks
- Token Analytics - Track token usage patterns across sessions
- Agent Support - Inspect subagent logs and nested tool calls
- Keyboard Navigation - Fast, vim-inspired keyboard shortcuts for efficient browsing
Installation
npm install --global claude-observeUsage
Launch the TUI:
claude-observeKeyboard Shortcuts
Session Browser: Browse and select a session to explore
↑/↓- Navigate sessionsu/d- Jump 10 sessions up/down/- Filter sessions by projectEnteror→- Open selected session
Session Inspector: View session data and browse logs
↑/↓- Navigate logsu/d- Jump 10 logs up/down←- Return to session browser→- View selected log details/- Search logs (e.g., "type:tool_use")1-5- Hot key log type filteringEnter- Expand content previewEsc- Back to session browser
Log Inspector: View log details
↑/↓- Scroll content←- Return to session viewShifrt + ←/→- Go to previous/next logEsc- Back to session browser
Data Location
Claude conversation logs are stored in:
~/.claude/projects/Each project directory contains .jsonl files with session data.
Development
Clone the repository and install dependencies:
git clone https://github.com/cswaney/claude-observe.git
cd claude-observe
npm installRun locally:
npm run build && node ./dist/cli.jsRun tests:
npm run testRun formatting and linting:
npm run format
npm run lintPrepare to push/publish (format, lint, and test):
npm run checkContributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT © Colin Swaney
