What problem does it solve? Your best prompts and key decisions are buried in thousands of past agent session logs. This Skill lets you search, filter, and mine Claude Code, Codex, and Gemini session history to recover working prompts, trace scope decisions, and identify repeated workflow rituals. ## Core Features & Use Cases - Session Search: Query indexed session logs with lexical, semantic, or hybrid modes, using token-efficient flags like --fields minimal and aggregations by agent, date, or workspace. - Prompt Mining: Extract user prompts (lines 1-3 of sessions) and detect ritual prompts repeated 10+ times using jq patterns or the bundled prompt_miner.py script. - Context Recovery: Follow hits with cass view and cass expand, then discover related work clusters with cass context. - Use Case: You remember writing a great extraction prompt weeks ago but can't recall the wording. Run a keyword search filtered to user prompts, view the hit, and copy the exact prompt from the session log. ## Quick Start Ask the agent to search your past sessions for a prompt you used before, for example: find the prompt I used for comprehensive deep dives in this project.