From statusline-tools
Get current Claude Code session UUID and registry info. TRIGGERS - current session, session uuid, session id, what session, which session.
How this skill is triggered — by the user, by Claude, or both
Slash command
/statusline-tools:session-infoThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Navigation**: [Plugin CLAUDE.md](../../CLAUDE.md) | [Root CLAUDE.md](../../../../CLAUDE.md)
Navigation: Plugin CLAUDE.md | Root CLAUDE.md
Returns the current Claude Code session UUID and registry information.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Use this skill when:
Run the session info script:
bun $HOME/.claude/plugins/marketplaces/cc-skills/plugins/statusline-tools/scripts/get-session-info.ts
The script outputs structured session information:
Current Session: c1c1c149-1abe-45f3-8572-fd77aa046232
Short ID: c1c1c149
Project: ~/.claude
Registry: ~/.claude/projects/-Users-terryli--claude/.session-chain-cache.json
Chain Length: 3 session(s)
Last Updated: 2026-01-15T21:30:00.000Z
Note: The
Managed By,Metadata(Repo, Hash, Branch, Model, Cost), andRecent Sessionssections shown in earlier versions of this doc are not yet implemented inget-session-info.ts. The script currently outputs only the 6 fields above.
The session registry follows Claude Code's native path encoding:
~/.claude/projects/{encoded-path}/.session-chain-cache.json
Where encoded-path replaces / with -:
/Users/username/eon/cc-skills → -Users-username-eon-cc-skills| Issue | Cause | Solution |
|---|---|---|
| Script not found | Plugin not installed | Run claude plugin list to verify installation |
| JSONL ID undefined | No active session | Start Claude Code session first |
| Registry file not found | First session in project | Registry created automatically on first session |
| Chain length is 0 | Fresh project | Normal for new projects, chain grows over time |
| Path encoding looks wrong | Special characters in path | Claude Code uses - to replace / in paths |
| Bun not found | Bun not installed | Install with brew install oven-sh/bun/bun |
| Permission denied | Registry file permissions | Check ~/.claude permissions (should be readable) |
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.
npx claudepluginhub terrylica/cc-skills --plugin statusline-toolsDiagnose and recover Claude Code session issues including missing conversations, corrupted sessions, and session file problems. Use whenever the.
Retrieves previous Claude Code or Codex CLI session transcripts, printing recent turns and metadata to resume work. Supports UUID lookup and automatic detection of most recent session.
Manages Claude Code sessions: lists active sessions, checks inbox, and broadcasts messages. Invoked via /session for session management tasks.