跳到正文
TakoAPI
返回技能列表

session-history

由 amor71 提供

Search & Research
453下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Run search_sessions.py with 'gclid pipeline error' as the query

  2. 2

    Review matching results and identify the relevant session key

  3. 3

    Pull full context using sessions_history tool with the matched sessionKey

  4. 4

    Fall back to reading the JSONL file directly if sessions_history is unavailable

  5. 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 或你在用的任意编程智能体里。

链接