| name | cass-search |
| description | Search past AI sessions with CASS. Use when looking for past solutions, searching session history, finding how something was done before, or when the user mentions "cass", "history", or "past sessions". Use when this capability is needed. |
| metadata | {"author":"eaasxt"} |
CASS (Cross-Agent Session Search)
Search and retrieve content from past AI coding sessions.
When This Applies
| Signal | Action |
|---|
| "How did we do this before?" | cass search |
| "Find past solutions" | cass search |
| Looking for patterns | cass search |
| View specific session | cass view |
| Today's activity | cass timeline |
CRITICAL RULE
Always use --robot or --json. Never run bare cass.
Bare cass launches a TUI that will hang AI agents.
Search
cass search "query" --robot --limit 5
cass search "query" --robot --fields minimal
cass search "query" --robot --fields summary
cass search "query" --robot --max-tokens 2000
cass search "auth*" --robot
cass search "query" --workspace "/path/to/project" --robot
View & Expand
cass view /path/to/session.jsonl --json
cass expand /path -n 42 -C 3 --json
Timeline
cass timeline --today --json
cass timeline --since 7d --json
cass timeline --days 7 --json --limit 10
Export
cass export /path/session.jsonl --format markdown
cass export /path/session.jsonl --format json
Indexing
cass index --full
cass health
Output Formats
--robot-format jsonl
--robot-format compact
Query Tips
| Query Type | Example |
|---|
| Exact phrase | "error handling" |
| Wildcard | auth* |
| Multiple terms | database migration |
| Recent | Add --since 7d |
Quick Reference
cass search "query" --robot --limit 5
cass search "query" --robot --fields minimal
cass view /path.jsonl --json
cass expand /path -n 42 -C 3 --json
cass timeline --today --json
cass index --full
When to Use CASS vs Other Tools
| Need | Use |
|---|
| Past session content | CASS |
| Learned patterns/rules | cass-memory (cm) |
| Current codebase | Warp-Grep or Grep |
| Web documentation | Exa |
| Task graph | bv |
See Also
cass-memory/ — Cross-agent learning with cm
project-memory/ — Session context retrieval
Converted and distributed by TomeVault — claim your Tome and manage your conversions.