Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
•
IT Security NachrichtenWohin fließt das Geld? – So arbeiten die Cyber-Cops aus Hamm(01.10.2026 um 05:46 Uhr)
•
Malware / Trojaner / VirenIT Security News Hourly Summary 2026-10-01 08h : 8 posts(01.10.2026 um 08:00 Uhr)
•
IT Security NachrichtenProton Easy Switch migriert jetzt aus Microsoft 365(01.10.2026 um 08:03 Uhr)
•
IT Security NachrichtenEin Jahr nach Einführungspflicht: E-Patientenakten füllen sich(01.10.2026 um 08:08 Uhr)
•
IT Security NachrichtenInfineon nimmt neue Fabrik in Thailand in Betrieb(01.10.2026 um 08:17 Uhr)
•
IT Security NachrichtenWenn Maschinen zu Zielen werden(01.10.2026 um 08:00 Uhr)
•••••
IT Security NachrichtenWohin fließt das Geld? – So arbeiten die Cyber-Cops aus Hamm(01.10.2026 um 05:46 Uhr)
•
Malware / Trojaner / VirenIT Security News Hourly Summary 2026-10-01 08h : 8 posts(01.10.2026 um 08:00 Uhr)
•
IT Security NachrichtenProton Easy Switch migriert jetzt aus Microsoft 365(01.10.2026 um 08:03 Uhr)
•
IT Security NachrichtenEin Jahr nach Einführungspflicht: E-Patientenakten füllen sich(01.10.2026 um 08:08 Uhr)
•
IT Security NachrichtenInfineon nimmt neue Fabrik in Thailand in Betrieb(01.10.2026 um 08:17 Uhr)
•
IT Security NachrichtenWenn Maschinen zu Zielen werden(01.10.2026 um 08:00 Uhr)
••••
Intelligence View
⚡ tsecurity.de Intelligence

Built CLI Tools to Browse AI Coding Assistant Logs (Claude Code & Codex CLI)

The Problem If you're using AI coding assistants like Claude Code or OpenAI Codex CLI, you've probably had this experience: "What was that solution Claude…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!




The Problem



If you're using AI coding assistants like Claude Code or OpenAI Codex CLI, you've probably had this experience:




"What was that solution Claude suggested last week?"

"How did I phrase that prompt that worked so well?"




Both tools store conversation logs locally, but finding past sessions is painful:




# Claude Code logs
~/.claude/projects/<project-hash>/*.jsonl

# Codex CLI logs
~/.codex/sessions/YYYY/MM/DD/*.jsonl






Navigating these nested directories manually? No thanks.






The Solution



I built two simple shell scripts that use fzf for interactive log browsing:





Each is a single file (~200 lines), requires only fzf and jq, and works out of the box.






Features



Both tools share the same command structure:
































Command Description
(no args) Interactive mode - browse with fzf
list Show all projects/months
latest View the most recent session
tail Watch active session in real-time
status Check if CLI is running





Quick Demo






Interactive Mode






$ claude-logs
# → Select project with fzf
# → Select session with fzf
# → View formatted conversation









Real-time Monitoring






$ claude-logs tail
# → Watch the active session live (Ctrl+C to exit)









Status Check






$ claude-logs status
Claude Code is running (PID: 12345)

Recent sessions:
2025-12-18 15:30 - my-project
2025-12-18 14:00 - another-project









Output Format



Raw JSONL logs are transformed into readable conversations:




━━━━━━━━━━ USER ━━━━━━━━━━
Fix the bug in this function

━━━━━━━━━━ CLAUDE ━━━━━━━━━━
I found the issue. The problem is...

🔧 [Tool: Edit file]






For Codex CLI, you also get project path and git branch info:




=== rollout-xxx.jsonl ===
Project: /Users/me/my-project | Branch: main









Installation






Prerequisites






brew install fzf jq









Install claude-logs






git clone https://github.com/wondercoms/claude-logs.git
chmod +x claude-logs/claude-logs
cp claude-logs/claude-logs ~/.local/bin/









Install codex-logs






git clone https://github.com/wondercoms/codex-logs.git
chmod +x codex-logs/codex-logs
cp codex-logs/codex-logs ~/.local/bin/







Note: Make sure ~/.local/bin is in your PATH.







How It Works



The tools are straightforward:





  1. Scan the log directory structure


  2. Parse JSONL files with jq to extract messages


  3. Display options with fzf (with preview!)


  4. Format output with ANSI colors



The fzf preview feature is key - you can see conversation snippets before opening:




fzf --preview 'head -20 {} | jq -r "..."'









Use Cases






1. Reference Past Solutions



Find how you solved a similar problem before.






2. Reuse Effective Prompts



Discover prompts that worked well and adapt them.






3. Daily Review



Review what you accomplished with AI assistance today.






4. Debugging



Check logs when the AI CLI behaves unexpectedly.






Current Limitations




  • macOS only (uses stat -f for timestamps)

  • Linux support would need stat --format - PRs welcome!










Wrapping Up



If you're a heavy user of Claude Code or Codex CLI, give these tools a try. They're simple, dependency-light, and solve a real annoyance.



Found a bug? Want Linux support? Issues and PRs are welcome!






What tools do you use to manage your AI coding assistant workflows? Let me know in the comments!

2. Cyber Threat Intelligence & Forensik

CTI Threat Relationship Graph2 Knoten / 1 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Built CLI Tools to Browse AI Coding Assistant Logs (Claude Code & Codex CLI)

Thematisch verwandte Begriffe: Built, Tools, Browse, Coding · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag