session-search

Solid

Find context from past Claude Code (CLI) and Claude Cowork (desktop) sessions on this Mac. Use when the user wants to recall something they did before but can't find it , phrasings like "where did I work on X", "find that session where I…", "when did I last do Y", "pull up the conversation about Z", "that time I built/tried/discussed …". Searches by kind (code/cowork), time range, title, working directory, or free-text content across all transcripts.

AI & Automation 106 stars 5 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
68
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# session-search > **Platforms: Claude Code / Cowork and Codex.** `find_sessions.py` and `show_session.py` detect the host (via the `platform` stamp `install.sh` writes, or `AI_FIRST_PLATFORM`) and route to the right store: Claude Code (`~/.claude/projects`) + Cowork transcripts, or Codex rollouts (`~/.codex/sessions/**/rollout-*.jsonl`). Both support list, time/cwd/title filters, and full-text `--grep`. **Antigravity is not supported**: its IDE conversations are AEAD-encrypted at rest (`~/.gemini/antigravity/conversations/*.pb`) and its unencrypted CLI store carries no parseable turn content, so the skill prints a clear "not available" message and exits. Two scripts in `scripts/` locate past sessions and dump their content: - `find_sessions.py` , discover + filter sessions (metadata + optional full-text grep). - `show_session.py` , print a single session's conversation (user/assistant turns) in readable form. Both read directly from disk , no API calls, no auth. They resolve paths from `$HOME` so they work for any macOS user: - Claude Code CLI: `~/.claude/projects/*/\*.jsonl` - Claude Cowork: `~/Library/Application Support/Claude/local-agent-mode-sessions/*/*/local_*/audit.jsonl` (sibling `local_*.json` holds title/metadata) ## How to use Start narrow, widen if needed. Prefer `--grep` for content recall; use metadata filters to scope. ### Step 1 , find candidate sessions ```bash scripts/find_sessions.py --grep "recruitee logo api" # content search scripts/find_...

Details

Author
techwolf-ai
Repository
techwolf-ai/ai-first-toolkit
Created
7 months ago
Last Updated
4 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category