session-history
由 amor71 提供
Search & Research简介
Search and browse past conversation history across all sessions.
描述
该技能的功能
Searches OpenClaw session transcripts stored as JSONL files to retrieve past conversations. Finds specific topics, decisions, or code from previous sessions and helps resume dropped threads.
Keyword search across raw JSONL transcripts reaches content that memory files and semantic indexes miss.
何时使用
- Finding a code snippet discussed in a session two weeks ago
- Resuming a debugging thread that was dropped mid-conversation
- Recalling a decision reached in a past session
- Locating an error message from a previous troubleshooting conversation
- Cross-referencing session content against current memory files
示例工作流
User asks: find that conversation where we discussed the gclid pipeline error
- 1
Run search_sessions.py with 'gclid pipeline error' as the query
- 2
Review matching results and identify the relevant session key
- 3
Pull full context using sessions_history tool with the matched sessionKey
- 4
Fall back to reading the JSONL file directly if sessions_history is unavailable
- 5
Summarize the relevant discussion from that session
A summary of the gclid pipeline error discussion, including what was tried and what conclusions were reached
安装
clawhub install amor71/session-history运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。