搜索

PythonReactSEOPDF
GitHub Skill

session-info

Get current Claude Code session UUID and registry info. TRIGGERS - current session, session uuid, session id, what session, which session.

terrylica☆ 9 仓库 Stars1 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Session Info Skill

Returns the current Claude Code session UUID and registry information.

When to Use

  • Need to know the current session UUID for debugging
  • Want to check the session chain history
  • Verify the session registry is working
  • Find correlation between sessions and transcripts

Implementation

Run the session info script:

bun $HOME/.claude/plugins/marketplaces/cc-skills/plugins/statusline-tools/scripts/get-session-info.ts

Output Format

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
Managed By: session-registry-plugin@1.0.0

Metadata:
  Repo: cc-skills
  Hash: a1b2c3d4e5f6
  Branch: main
  Model: opus-4
  Cost: $0.42

Recent Sessions (last 5):
  1. 8e017a43 (2026-01-15T10:00:00.000Z)
  2. a2b3c4d5 (2026-01-15T14:00:00.000Z)
  3. c1c1c149 (2026-01-15T21:30:00.000Z)

Registry Location

The session registry follows Claude Code's native path encoding:

~/.claude/projects/{encoded-path}/.session-chain-cache.json

Where encoded-path replaces / with -:

  • /Users/terryli/eon/cc-skills → -Users-terryli-eon-cc-skills

References

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-02-02
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!