SkillsGrove
SkillsGrove/生産性向上/sinzin91/search-sessions/search-sessions

search-sessions

インストール

$npx skills add https://github.com/sinzin91/search-sessions --skill search-sessions
$git clone --depth 1 https://github.com/sinzin91/search-sessions.git /tmp/search-sessions && mkdir -p ~/.claude/skills && cp -r /tmp/search-sessions/. ~/.claude/skills/search-sessions
この Agent Skill をインストールしてください:https://github.com/sinzin91/search-sessions/tree/b5c70ebf85c84408ebb269f47da1490b6ca71b3c/ — まず SKILL.md とスクリプトを読み、安全であることを確認してから、私のスキルフォルダにインストールしてください。

概要

原文の説明 · MITSearch across Claude Code and OpenClaw session history, plus Obsidian vaults. Use when you need to find past conversations, query sessions by date range, filter by project, search Obsidian notes, or resume previous sessions by UUID.
以下の SKILL.md は sinzin91/search-sessions(コミット b5c70eb)から MIT ライセンスに基づいて転載しています。本文は変更しておらず、ファイル先頭のメタデータのみ省略し、画像はリンクとして表示し、非常に長いファイルは途中までの表示としています。Copyright 2026 Tenzin Wangdhen。ライセンス:LICENSE。表示しているのは指示ファイルのみです。スクリプト等は元のリポジトリをご覧ください。

search-sessions

Fast CLI to search across all Claude Code and OpenClaw session history, plus Obsidian vaults. Find past decisions, code snippets, and resume any previous session.

Announce at start: "I'm using search-sessions to find that in your session history."

Installation

# Homebrew (macOS/Linux)
brew install sinzin91/tap/search-sessions

# Cargo (Rust)
cargo install search-sessions

Usage

Index Search (default, instant ~18ms)

Searches session metadata — summaries, first prompts, project paths. Start here.

search-sessions "kubernetes RBAC"
search-sessions "auth migration" --project myapp

Deep Search (full-text, ~280ms with ripgrep)

Searches actual message content. Use --deep if index search doesn't find it.

search-sessions "docker compose" --deep
search-sessions "that regex for parsing" --deep

Date Range Filtering

Narrow results by time period with --since, --until, or --date.

search-sessions "deploy" --since "3 days ago"
search-sessions "auth" --since 2026-02-01 --until 2026-02-15
search-sessions "bug" --date today
search-sessions "refactor" --since "last week"

OpenClaw Sessions

search-sessions "security audit" --openclaw
search-sessions "deploy review" --openclaw --agent main

Obsidian Vault Search

Search markdown notes in an Obsidian vault with --obsidian.

search-sessions "meeting notes" --obsidian /path/to/vault

Resume a Session

Results include the session UUID. Resume with:

claude --resume <session-uuid>

Options

Flag Description
--deep Search full message content (slower)
--openclaw Search OpenClaw sessions instead of Claude Code
--obsidian PATH Search an Obsidian vault at the given path
--project FILTER Filter to projects matching substring
--since DATE Show sessions from this date forward (e.g. "3 days ago", "2026-02-01")
--until DATE Show sessions up to this date
--date DATE Show sessions from a single day (e.g. "today")
--limit N Max results (default: 20)
--agent NAME OpenClaw agent to search (default: main)
ライセンス全文を見る(MIT)
MIT License

Copyright (c) 2026 Tenzin Wangdhen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM OF DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.