/search-sessions:search-sessions runs instead · from search-sessions
Searches Claude Code and OpenClaw session history by content, date range, or project, plus Obsidian vaults. Resume past sessions by UUID.
This skill never runs in Claude Code
It ships in search-sessions at SKILL.md, but /search-sessions:search-sessions (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
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."
# Homebrew (macOS/Linux)
brew install sinzin91/tap/search-sessions
# Cargo (Rust)
cargo install search-sessions
Searches session metadata — summaries, first prompts, project paths. Start here.
search-sessions "kubernetes RBAC"
search-sessions "auth migration" --project myapp
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
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"
search-sessions "security audit" --openclaw
search-sessions "deploy review" --openclaw --agent main
Search markdown notes in an Obsidian vault with --obsidian.
search-sessions "meeting notes" --obsidian /path/to/vault
Results include the session UUID. Resume with:
claude --resume <session-uuid>
| 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) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
session-search, history-search, obsidian-search, claude-code
npx claudepluginhub sinzin91/search-sessions --plugin search-sessionsOther plugins' skills for the same job