Skip to content

spec-session-inventory

发现 Claude Code 和 Codex 会话文件,并抽取时间、cwd、branch、平台等元数据。

基本信息

字段内容
Skillspec-session-inventory
类型internal-only
研发链路位置Knowledge
入口internal_only
Sourceskills/spec-session-inventory/SKILL.md

描述

Discover session files for a repo across Claude Code and Codex, and extract session metadata (timestamps, branch, cwd, size, platform). Invoked by session-research agents — not intended for direct user queries.

何时使用

  • 需要先定位哪些历史会话相关。
  • spec-sessions 或 session historian 需要候选列表。

工作步骤

  • 读取已完成工作、历史会话、Slack、release 记录或 docs/solutions。
  • 抽取可复用经验、已验证解法、上下文决策和过期知识。
  • 写入或刷新团队知识,并保留证据限制。
  • 让下一次 Codebase、Spec、Plan 或 Review 能复用这些知识。

输出

  • solution docs、refresh report、session digest、Slack research digest 或 release notes。
  • 对重复、过期或冲突知识给出合并、替换、删除或保留判断。

Agent 调度

  • 可使用 session historian、Slack researcher、learnings researcher、related docs finder 等研究型能力。
  • 知识写入由 orchestrator 负责,研究 agents 返回证据而不是直接写最终文档。

边界

  • internal-only,不直接暴露。
  • 只做 inventory,不替代深度分析。