कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

mh-session-logs

mohdalhashemi98-hue द्वारा

Search & Research
242clawskills.sh द्वारा बताए गए डाउनलोड
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Search and analyze your own session logs (older/parent conversations) using jq.

विवरण

यह स्किल क्या करती है

Searches and analyzes conversation history stored in OpenClaw session JSONL files using jq and ripgrep. Useful when a user references prior chats or needs context from older conversations not held in memory files.

Querying raw JSONL with jq gives precise, scriptable access to full conversation history without loading entire sessions into memory.

इसे कब इस्तेमाल करें

  • Find what was discussed in a session from a specific date
  • Search all past sessions for a keyword or phrase
  • Calculate total API cost for a session or day
  • Count messages and token usage across a conversation
  • Identify which tools were used most in a session

उदाहरण वर्कफ़्लो

इनपुट

User asks: what did we decide about the database schema last week?

एजेंट
  1. 1

    Locate the agent ID from the system prompt Runtime line

  2. 2

    List sessions from the relevant date range using the date-sorting loop

  3. 3

    Search assistant messages across those sessions for 'schema' using rg

  4. 4

    Extract matching text blocks with jq select filters

  5. 5

    Return the relevant excerpts to the user

आउटपुट

Relevant assistant message excerpts referencing the database schema decision

इंस्टॉलेशन

clawhub install mohdalhashemi98-hue/mh-session-logs

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक