search-sessions

Index and deep-search Claude Code and OpenClaw session histories.

37|5|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/sinzin91/search-sessions --skill search-sessions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-sessions
Source: https://github.com/sinzin91/search-sessions/tree/main
Command: npx skills add https://github.com/sinzin91/search-sessions --skill search-sessions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Claude Code and OpenClaw session histories can be large and noisy, making it hard to locate relevant context, decisions, or code snippets. This Skill provides fast, focused search across both sources to surface precise matches.

Core Features & Use Cases

  • Metadata index search for quick discovery by summary, first prompts, branch, and project
  • Deep search across full message text (OpenClaw and Claude Code) with optional date and project filters
  • Obsidian vault support for popular knowledge bases with multi-term conjunctions

Quick Start

Search Claude Code and OpenClaw history for Kubernetes RBAC.

Frequently Asked Questions about search-sessions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search Claude Code session history for a specific past decision?

To search Claude Code session history, you can use metadata index search to quickly filter by summary, first prompts, branch, and project. For deeper text matching, a ripgrep-accelerated deep search locates precise decisions and context.

Can I filter OpenClaw session searches by date range and project?

Yes, you can filter OpenClaw session searches by specific date ranges and projects. The deep search functionality supports these optional filters to narrow down full message text matches across large session histories.

Does the session search tool work with Obsidian vaults?

Yes, the session search tool integrates directly with Obsidian vaults. It supports popular knowledge bases by enabling multi-term conjunctions to locate relevant context within your vault files.

What is the best way to find old code snippets in Claude Code history?

The best way to find old code snippets is using the deep search across full message text. It scans Claude Code sessions for precise matches and surfaces relevant code snippets using ripgrep acceleration.

Do I need ripgrep installed to search Claude Code sessions?

You do not need ripgrep installed to search Claude Code sessions. The search uses an index-based method by default for metadata, and automatically falls back to a Rust implementation for deep searching if ripgrep is unavailable.