← Back to Skills Marketplace
1yihui

Session Logs (YiHui)

by 辉哥 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
50
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install yihui-session-logs
Description
Search and analyze your own session logs (older/parent conversations) using jq.
Usage Guidance
This skill appears to do what it says: it runs jq and rg on your local OpenClaw session JSONL files. Before installing or invoking it, confirm you are comfortable with it reading conversation history in $OPENCLAW_STATE_DIR (default ~/.openclaw). Note the SKILL.md references OPENCLAW_STATE_DIR but the manifest doesn't declare that env var — nothing malicious, but double-check the path it will read. Installing will add jq and ripgrep via brew. If your sessions contain sensitive data you don't want accessible, either don't install the skill or run the provided commands manually in a controlled shell instead of granting the agent autonomous access.
Capability Assessment
Purpose & Capability
Name/description match the requested binaries (jq, rg) and the SKILL.md contains concrete jq/rg commands for searching session JSONL files under the agent state directory; installing jq and ripgrep via brew is proportional to the task.
Instruction Scope
The instructions explicitly read session files under $OPENCLAW_STATE_DIR/agents/<agentId>/sessions and use the agent id from the runtime system prompt. This is in-scope for a session-log searcher, but the SKILL.md references the OPENCLAW_STATE_DIR environment variable (and the Runtime agent=<id> value) without declaring them in the skill manifest — a minor mismatch that should be documented. Also, reading those files will surface potentially sensitive past conversation content.
Install Mechanism
Install spec uses Homebrew formulas for jq and ripgrep (ripgrep provides rg). These are well-known package sources and appropriate for a CLI-focused, instruction-only skill; no arbitrary downloads or extract operations are present.
Credentials
The skill does not request credentials or config paths, which is appropriate. However it relies on OPENCLAW_STATE_DIR (not declared) and on filesystem access to the agent's sessions directory; while expected for its purpose, that access exposes private conversation history and should be considered sensitive.
Persistence & Privilege
always:false and no requests to modify other skills or system-wide configuration. The skill does not require persistent privileges beyond reading local session files and installing optional binaries.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install yihui-session-logs
  3. After installation, invoke the skill by name or use /yihui-session-logs
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug yihui-session-logs
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Session Logs (YiHui)?

Search and analyze your own session logs (older/parent conversations) using jq. It is an AI Agent Skill for Claude Code / OpenClaw, with 50 downloads so far.

How do I install Session Logs (YiHui)?

Run "/install yihui-session-logs" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Session Logs (YiHui) free?

Yes, Session Logs (YiHui) is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Session Logs (YiHui) support?

Session Logs (YiHui) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Session Logs (YiHui)?

It is built and maintained by 辉哥 (@1yihui); the current version is v1.0.0.

💬 Comments