Hacker News

Show HN: CLI tools to browse Claude Code and Codex CLI logs interactively

I've been using Claude Code and OpenAI Codex CLI daily, and found myself constantly digging through nested directories to find past sessions.

Claude Code stores logs in ~/.claude/projects/<hash>/.jsonl Codex CLI stores logs in ~/.codex/sessions/YYYY/MM/DD/.jsonl

Browsing these manually is tedious, so I built two simple shell scripts that use fzf for interactive selection with previews.

*claude-logs*: https://github.com/wondercoms/claude-logs *codex-logs*: https://github.com/wondercoms/codex-logs

Features: - Interactive project/session selection with fzf - Preview conversations before opening - Real-time monitoring with `tail` command - Status check (is the CLI running?) - Formatted output with colors

Requirements: fzf, jq (macOS only for now)

Usage is simple: