CASS Session Log Search
Operating doctrine for using the `cass` CLI to search past agent session logs and return cited prior prompts, decisions, and failures.
UtilitiesAdvanced★ 435⑂ 40AI score 8/10Last updated: Sep 12, 2026
What it does
- Searches your archived AI agent conversation logs through the
cassCLI and returns evidence with source path + line number. - Enforces a fixed discovery workflow:
search→pack(cited excerpts) →view/expand(verify the raw record) →context(find related sessions). - Distinguishes three index states — healthy, stale, missing — so a merely stale index is searched immediately instead of triggering a wasteful full rebuild.
- Encodes interpretation rules: zero hits means "no match within these query limits", not global absence; a repeated prompt is not proof it worked; failure sessions outweigh success sessions when mining prior art.
- Ships an anti-pattern table from real incidents: never run bare
cass(blocking TUI), never--limit 0, never pipecass exportintohead, don't treat subagent logs as parent sessions.
Who it's for
- Developers with a long history of agent harness sessions (Claude Code and similar) worth mining.
- Anyone who regularly asks "what did I ask last time?" or "when did we decide not to do X?".
- Users recovering working context after a crash or context loss.
- CLI-comfortable users willing to install the external
cassbinary andjq.
Examples
- Prior-art check: before adopting an approach, run
cass search "retry backoff" --mode lexical --json --fields minimal --limit 20, deliberately hunting for failure strings like "reverted" or "didn't work" first. - Decision archaeology: search for when a scope decision was made, then open the exact record with
cass view PATH -n LINE -C 5to confirm speaker role and actual outcome. - Post-crash recovery: run
timeout 15 cass status --json, confirm the index is usable, and re-find the keywords you were chasing before the session died.
Note: this skill is doctrine, not the tool. It requires the external
cassbinary (>= 0.3.6 recommended) andjq; semantic mode additionally needs a ~90MB model bundle.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/boshu2/agentops/HEAD/images/gemini/skills/cass/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the images/gemini/skills/cass folder from the GitHub repo boshu2/agentops into my ~/.claude/skills/cass/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/boshu2/agentops.git && mkdir -p ~/.claude/skills && cp -r agentops/images/gemini/skills/cass ~/.claude/skills/cass⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Install the prerequisites first: the upstream
cassbinary (Dicklesworthstone project) — verify withcass --version— andjqfor JSON parsing (brew install jqon macOS,sudo apt install jqon Ubuntu). - Clone the repository:
git clone https://github.com/boshu2/agentops.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r agentops/images/gemini/skills/cass ~/.claude/skills/cass - Confirm the
references/andscripts/subfolders came along — the skill body links to them heavily. - Restart Claude Code and trigger it with a request like "search my past sessions for what I asked about X".
- Validate the setup by running
~/.claude/skills/cass/scripts/validate.sh. - Warning: never launch bare
cassinside an agent loop — it opens a blocking TUI. Always pass--json.
View source on GitHub ↗License: Apache-2.0