Skip to content
TakoAPI
Back to skills

session-history

by amor71

Search & Research
453Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Search and browse past conversation history across all sessions.

Description

What This Skill Does

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.

When to Use It

  • 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

Example Workflow

INPUT

User asks: find that conversation where we discussed the gclid pipeline error

AGENT
  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

OUTPUT

A summary of the gclid pipeline error discussion, including what was tried and what conclusions were reached

Installation

clawhub install amor71/session-history

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links