A developer created a bash script named `claude-sessions` to help manage multiple Claude Code sessions, especially after experiencing data loss when their Mac crashed with seven sessions open. The script leverages the JSON Lines files where Claude Code stores session data, allowing users to select and restore sessions across different projects more efficiently than the default `claude --resume` command. This tool provides a preview of conversations and integrates with iTerm2 or tmux for a smoother workflow, reducing the time to restore sessions from minutes to seconds. AI
IMPACT Streamlines workflow for developers using Claude Code, improving productivity and reducing data loss.
RANK_REASON Developer-created utility script for a specific AI product's workflow.
Read on dev.to — Claude Code tag →
- AppleScript
- Bash
- Claude Code
- Claude Code CLI
- Claude code Desktop app
- claude --resume
- fzf
- iTerm2
- JSON Lines
- Mac
- Python
- Terminal.app
- tmux
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →