session-searchlisted
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_