Agent skill · daymade
read-claude-code-history
Reads, searches, and exports local Claude Code history without resuming work. Covers recent session inventory, exact session timelines, verbatim human input including queued mid-turn prompts, full-event keyword search, hybrid recall when wording changed, end-state triage, and deleted-file recovery across active Claude homes plus registered archives. Use whenever the user asks what they or Claude said, wants a Claude Code session ID or original context, remembers prior work vaguely, needs an old file from a transcript, or must prove what a Claude session contained before continuing it. Also owns the only Kimi CLI surface, via its Kimi inventory and search flags. For Codex history use read-codex-history; when the request names no platform at all or spans providers, start at local-conversation-history.
What it needs
About 10k tokens when loaded.
What this skill does
Read Claude Code History Read Claude Code evidence only. Do not resume the old process, edit its project, or turn a read request into a continuation task. When the user later asks to act, hand the verified evidence to daymade-claude-code:continue-claude-code-work. Route by the requested result User wants Use --- --- Recent Claude Code sessions, titles, dates, or IDs scripts/listlocalhistory.py --source claude One known Session reconstructed as a chronological evidence briefing scripts/readclaudesession.py --session <ID> The user's recent words, including human queued prompts scripts/extractusermessages.py A conversation, quote, file, tool result, or action by keyword scripts/analyzesessions.py search Prior work whose wording may have changed scripts/historyindex.py recall after checking index status A broad keyword sweep with no known Session ID, date, or project scripts/historyindex.py recall first for leads, then analyzesessions.py search scoped by what it returns How sessions in a time window ended scripts/analyzesessions.py triage A deleted/overwritten file preserved in Claude file-history records scripts/recovercontent.py Kimi CLI sessions — this Skill owns the only live Kimi surface inventory (scopes to Kimi): scripts/listlocalhistory.py --source kimi --all-projects; full-text (widens a Claude search, never scopes to Kimi): scripts/analyzesessions.py search --kimi — see Kimi CLI below before trusting either result Continue a verified Claude session Stop reading and invoke daymade-claude-code:continue-claude-code-work 找「我们之前做的那个 X」(产物类目标)的三个判据 按词搜不到时换这三个判据,别扩词硬搜: 1. 时间约束是第一筛子。用户给了时间窗(「前两天」「本周」)→ 先按 mtime 筛文件系统(find <root> -newermt '<日期>' -name '.html'),候选面缩到几十条再按形态排。全库关键词搜索应该在时间筛之后,不是之前。 2. session scratchpad 必须在搜索面内(/private/tmp/claude-$(id -u)//scratchpad/,macOS 单用户通常是 claude-501)。Claude session 的默认产物落点在那,不在 workspace——「我们之前写的 X」有相当概率躺在 scratchpad。找产物类目标时显式包含它。 3. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills daymade/read-claude-code-history