roost-session
仓库创建 2026年2月16日最近提交 22 天前SkillHot 收录 21 天前
▸ 精选理由
便于构建 resume/引用命令或在日志中标注会话来源。
▸ 风险提示
会泄露会话 UUID,可能暴露与会话关联的敏感上下文。
这个 Skill 做什么
通过 roost-session CLI 获取当前 Claude Code 会话的 UUID 与标题。
通过 roost-session 命令行读取当前 Claude Code 会话的 UUID 和自动生成的标题,方便用来构建 resume 命令、给日志打标签或在脚本里引用会话。碰到要恢复会话、交叉引用对话来源或回答“我的会话 ID/名称是什么”时就用它。它会返回可复用的 id 和人类可读的标题,便于在多窗格或自动化场景中安全标记会话。
0
Stars
0
Forks
6
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/moiri-gamboni/roost/main/files/skills/roost-session/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/moiri-gamboni/roost/main/files/skills/roost-session/SKILL.md"SKILL.MD 节选查看完整文件 ↗
--- name: roost-session description: Get the CURRENT Claude Code session's id and auto-generated title via the `roost-session` CLI. Use when you need this session's UUID or name — e.g. to build a `claude --resume <id>` / `agent <dir> -r <id>` resume command, cross-reference or label which conversation produced some output or log line, or answer "what's my session id / name". Pane-safe: it reports the session actually invoking it, so it stays correct even with many concurrent Claude sessions running in different tmux panes. --- # roost-session — current session id + title Prints the id and auto-generated title of the Claude Code session that runs it. ``` $ roost-session id: 67e817f6-5ffc
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有