By gravesxx
Interactive terminal UI for browsing, previewing, and deleting Claude Code sessions
Interactive terminal UI for browsing, previewing, and deleting Claude Code sessions.
Addresses anthropics/claude-code#13514.
If available in the official marketplace:
/plugin install session-manager
claude plugin marketplace add https://github.com/GravesXX/session-manager.git
Then in Claude Code:
/plugin install session-manager@session-manager
git clone https://github.com/GravesXX/session-manager.git
claude plugin marketplace add /path/to/session-manager
After installing, restart Claude Code or run /reload-plugins.
Type /sessions to launch the session manager. Claude will attempt the interactive TUI first. If no terminal is available, Claude mediates with a numbered list — just say "preview #3" or "delete #5".
For the best visual experience, run directly in your terminal:
node /path/to/session-manager/skills/sessions/scripts/session-picker.cjs
Tip: add an alias to your shell profile:
alias sessions='node ~/Desktop/session-manager/skills/sessions/scripts/session-picker.cjs'
Delete all auto-generated local-command sessions (/exit, /clear artifacts) in one shot:
node /path/to/session-manager/skills/sessions/scripts/session-picker.cjs --clean-auto
| Key | Action |
|---|---|
↑ ↓ | Navigate the session list |
Enter | Preview conversation messages |
Backspace | Delete session (with confirmation) |
Tab | Cycle filter: All > By Project > Small > Old |
| Type anything | Search by message or project |
Esc | Clear search / go back / quit |
Ctrl+C | Quit immediately |
Press Tab to cycle through filters:
When no TTY is available (e.g., inside Claude's Bash tool), the script supports subcommands:
# List all sessions as JSON
node session-picker.cjs --list
# Preview a session's messages
node session-picker.cjs --preview <session-id>
# Delete a session
node session-picker.cjs --delete <session-id>
# Delete all auto-generated sessions
node session-picker.cjs --clean-auto
~/.claude/projects/ for .jsonl session files across all projects# Run all tests (32 tests across 3 suites)
node test/test-scanner.cjs && node test/test-cli.cjs && node test/test-utils.cjs
# Test with fixture data
node skills/sessions/scripts/session-picker.cjs --list --projects-dir test/fixtures/projects
# Test with real sessions
node skills/sessions/scripts/session-picker.cjs --list
Issues and PRs welcome at https://github.com/GravesXX/session-manager
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub gravesxx/session-manager --plugin session-managerLive TUI dashboard for monitoring all active Claude Code sessions, status, context usage, tokens, and latest messages at a glance.
Search across Claude Code and OpenClaw session history. Find past conversations, decisions, and code snippets instantly.
qrec session recall engine
Mission Control for Claude Code — auto-starts a web dashboard, provides 90 MCP tools (sessions, stats, live monitoring, projects, teams, insights, coaching, and more), and adds 9 skills including /session-recap, /daily-cost, /standup, /coaching, /insights, and /team-status.
Session transcript timeline viewer for Claude Code and Codex agent sessions
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.