← ClaudeAtlas

session-searchlisted

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.
techwolf-ai/ai-first-toolkit · ★ 82 · AI & Automation · score 85
Install: claude install-skill techwolf-ai/ai-first-toolkit
# 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_