Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

read-claude-code-history

БесплатноЗапускает вложенные скриптыНе проверен

Reads, searches and exports local Claude Code, Kimi CLI, and Antigravity (agy) history without resuming work: timelines, verbatim user input, keyword or fuzzy…

daymadeот daymade★ 1 556 звёзд на GitHub

Об этом скилле

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 Indexed metadata only; the bundled list_local_history.py currently reads all candidate bodies before date/limit filtering, so do not use it for a broad inventory
One known Session reconstructed as a chronological evidence briefing scripts/read_claude_session.py --session <ID>
Original tool input and paired result from one exact Session, selected by tool name, literal text, ordinal or time scripts/read_claude_session.py --session <ID> --tool-evidence --contains '<literal>'; see Original tool call/result evidence below
The exact command behind a hook audit row that records a Session ID and a command SHA-256 instead of the text scripts/read_claude_session.py --session <ID> --find-command-sha256 <HEX>; see Command behind a hook audit row below
Every Agent/Task tool_use in one Session, quoted verbatim (e.g. the exact prompt handed to an independent reviewer agent) scripts/read_claude_session.py --session <ID> --agent-prompts (optionally --agent-description-prefix TEXT); a prompt dispatched twice is listed twice
Which session launched a program in a known time window, across sessions scripts/analyze_sessions.py tool-calls --from <ISO> --to <ISO> --pattern <REGEX> [--tool NAME]; candidates are selected by filesystem metadata before any body is read, then grouped by session; Codex rollouts are out of scope and the gap is stated in the output
When hook runs happened across sessions — outcome, duration, exit code per run (e.g. "why was session startup slow", "did this guard fire today") scripts/analyze_sessions.py hook-events --from <ISO> --to <ISO> [--pattern <REGEX>] [--event NAME]; same candidate-first narrowing as tool-calls; forked-session copies of a run collapse to one; Codex rollouts are out of scope and the gap is stated in the output
The user's recent words, including human queued prompts scripts/extract_user_messages.py
A conversation or quote by keyword scripts/history_index.py recall --mode bm25, then the exact-session reader
Prior work whose wording may have changed scripts/history_index.py recall after checking index status
A topic with no known Session ID scripts/history_index.py status, then recall; state index coverage and freshness
The latest conversation about a topic, including a newer continuation Use recall to locate relevant project(s); for Codex, continue with read-codex-history's Latest topic across continuations route instead of treating relevance top-K as latest. Claude/Kimi have no indexed recent-session inventory here, so keep unverified continuation coverage unknown
How identified sessions or a physically bounded project ended Follow Inspect session endings in references/workflow_examples.md
A deleted/overwritten file preserved in Claude file-history records scripts/recover_content.py
An old HTML page whose images, media, data or temporary paths may also be gone Recover its checkpoint first, then follow page and attachment recovery
How often each Skill ran and who started it (user command, model after the user named it, model unprompted), e.g. to decide model-visible vs user-invocable-only scripts/skill_usage_ledger.py index, then report (Claude and Codex together); see Skill usage ledger below
Kimi CLI sessions history_index.py recall --provider kimi, then read the named session's wire.jsonl; see Kimi CLI below
Antigravity (agy) conversations, FTS5 search, or exact-session briefing / verbatim inputs / subagents / tool evidence scripts/read_antigravity_session.py --list | --query '<text>' | --session <ID>; see Antigravity (agy) below
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. 恢复出的版本 ≠ 最终版。从 session jsonl 恢复文件(取 Write 的 content)只拿到某次全量写,后续增量 Edit 不会自动合入——恢复产物可能只有真实文件的零头(实测:28KB 恢复片段 vs 2.45MB 完整版)。打开/渲染后觉得「不像目标」时,先怀疑「我拿到的不是完整版」(原路径文件还在不在、session 里还有没有后续 Edit),不要直接排除目标。

战例(2026-09-18):找「之前做的聚类网页」,十几轮全库关键词搜索无果;目标一直在 9-13 的 session scratchpad(favorites-ledger.html,2.45MB),恢复的 28KB 片段渲染成裸样式被误判排除,用户给出精确路径后才定位。

The requested output wins over the ba

Полный SKILL.md на GitHub

Установить read-claude-code-history в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.INTEGRATION_SUMMARY.mdevals/evals.jsonreferences/cc-behavior-claims.jsonreferences/claude_session_format.mdreferences/hybrid_history_recall.mdreferences/large-session-briefing.mdreferences/legacy_cross_provider_workflow.mdreferences/page-and-attachment-recovery.mdreferences/session_file_format.mdreferences/workflow_examples.mdscripts/_core/__init__.pyscripts/_core/claude.pyscripts/_core/codex.pyscripts/_core/homes.pyscripts/_core/kimi.pyscripts/_core/model.pyscripts/_core/native_output.pyscripts/_core/parse.pyscripts/_core/sources.pyscripts/_core/text.pyscripts/analyze_sessions.pyscripts/extract_user_messages.pyscripts/history_index.pyscripts/list_local_history.pyscripts/read_antigravity_session.pyscripts/read_claude_session.pyscripts/recover_content.pyscripts/skill_usage_ledger.pyscripts/surface_version.pyscripts/verify_cc_claims.py

FAQ

Что делает скилл read-claude-code-history?

Reads, searches and exports local Claude Code, Kimi CLI, and Antigravity (agy) history without resuming work: timelines, verbatim user input, keyword or fuzzy recall, file recovery from transcripts, and which session ran a given command in a known time window. Use when the user asks what was said, wants a session ID or original context, needs proof of what a session contained, or needs past-session runtime evidence about commands, tool calls and hook runs — query this index instead of raw-scanning transcript files. Not for Codex (use read-codex-history); with no platform or several named, start at local-conversation-history.

Как установить скилл read-claude-code-history?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл read-claude-code-history запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить read-claude-code-history с