Skip to content
Agentmart
Submit a tool

cass

Search across all local coding agent history (Claude Code, Codex, Cursor, Gemini, Aider, and more) using cass.

Skill by jamierumbelow

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jamierumbelow-cass

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Search across all local coding agent history (Claude Code, Codex, Cursor, Gemini, Aider, and more) using cass. Use when you need to find how a problem was solved before, recall context from prior sessions, or check what any agent has done in a project.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/cass

What's inside

Skill name
cass
Description
Search across all local coding agent history (Claude Code, Codex, Cursor, Gemini, Aider, and more) using cass. Use when you need to find how a problem was solved before, recall context from prior sessions, or check what any agent has done in a project.
License
MIT
Instructions
137 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# cass: searching agent history

cass indexes conversations from every local coding agent into a single
searchable corpus. Before solving a problem from scratch, check whether any
agent has already solved something similar.

Never run bare `cass` -- it launches an interactive TUI. Always use `--robot`
or `--json`.

## When to use cass

- You are about to tackle a bug or feature and want to know if a previous
  session already dealt with it.
- Jamie asks "have we done this before?" or "what did we try last time?"
- You need context from a prior debugging session, design discussion, or
  decision.
- You want to understand the history of a particular file, module, or concept
  across agents and projects.

Do not use cass for general web search or documentation lookup. It only
searches local agent session history.

## Health check

Before your first search in a session, confirm the index is healthy:

```bash
cass health --json
```

Exit 0 means the index is fine. Non-zero means you should rebuild:

```bash
cass index --full
```

## Searching

The core command:

```bash
cass search "<query>" --robot --limit 5
```

Queries support boolean operators (`AND`, `OR`, `NOT` / `-`), exact phrases
(`"like this"`), and prefix wildcards (`auth*`). Default behaviour is AND
across terms.

### Useful flags

| Flag | What it does |
|------|--------------|
| `--robot` / `--json` | Machine-readable JSON (required) |
| `--limit N` | Cap result count |
| `--fields minimal` | Only `source_path`, `line_number`, `agent` -- saves tokens |
| `--fields summary` | Adds `title` and `score` |
| `--agent NAME` | Filter to one agent (`claude`, `codex`, `cursor`, etc.) |
| `--workspace PATH` | Filter to a specific project directory |
| `--today` / `--week` / `--days N` | Time filters |
| `--since DATE --until DATE` | Date range (flexible formats: ISO, relative like `-7d`) |
| `--aggregate agent,workspace` | Server-side counts instead of full results |
| `--max-tokens N` | Soft token budget for output (~4 chars/token) |
| `--mode lexical\|semantic\|hybrid` | Search mode (default: lexical) |

### Reading results

Search hits include `source_path` and `line_number`. To see the full context
around a hit:

```bash
cass view /path/to/session.jsonl -n 42 --json
cass expand /path/to/session.jsonl -n 42 -C 5 --json
```

`expand` gives you N messages of context either side of the hit.

### Aggregation

When you need an overview rather than specific hits, aggregate server-side:

```bash
cass search "error" --json --aggregate agent
cass search "*" --json --aggregate agent,workspace,date
```

This returns counts per bucket and is dramatically cheaper in tokens than
fetching full results.

## Search strategy

Start broad, then narrow. A good pattern:

1. **Broad search** to see if anything relevant exists:
   `cass search "auth timeout" --robot --limit 3 --fields summary`

2. **Narrow by project or agent** if you get too many results:
   `cass search "auth timeout" --robot --workspace /path/to/project --days 14`

3. **Expand context** around the best hit:
   `cass expand /path/to/session.jsonl -n 42 -C 5 --json`

Use `--fields minimal` when scanning and `--fields summary` or full output
when you have found something worth reading.

Semantic mode (`--mode semantic`) is useful when you are searching by concept
rather than exact terms -- e.g. "how to handle user login" rather than
"authentication". Hybrid mode combines both.

## Output conventions

- stdout is data only (JSON when `--robot` or `--json` is set)
- stderr is diagnostics
- exit 0 means success

Errors include structured JSON with `code`, `message`, `hint`, and `retryable`
fields. If `retryable` is true, try again; otherwise, follow the `hint`.

## What cass knows about

From jamierumbelow/agentfiles, MIT.

More from jamierumbelow/agentfiles

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 22, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jamierumbelow

Cite this page

cass skill. Agent Mart. https://agentmart.dev/skills/jamierumbelow-cass (last updated 2026-10-24)