DocsThe terminal UI
Bookmark System
On this page
Bookmarks are a CLI feature: cass bookmarks add|list|remove|search|export|import manages user-authored annotations on search results (a source path, optional line number, note, and tags). In the TUI, Alt+E bookmarks the selected hit into the same store.
bash
# Bookmark a search hit (source_path + line_number from search output)
cass bookmarks add /path/to/session.jsonl -n 42 --title "JWT refresh fix" \
--note "Good explanation of the refresh flow" --tags "auth,jwt" --json
# List (optionally by tag), search notes/titles/snippets, remove by id
cass bookmarks list --tag auth --json
cass bookmarks search "refresh" --json
cass bookmarks remove 1 --json # exit 13 (`bookmark-not-found`) if the id is unknown
# Back up and restore
cass bookmarks export -o bookmarks.json --json
cass bookmarks import bookmarks.json --json
Features#
- Persistent storage: Bookmarks saved to
bookmarks.db(SQLite), separate from the search index and never pruned by doctor/cleanup flows - Notes: Add annotations explaining why you bookmarked something
- Tags: Organize with comma-separated tags (e.g., "rust, important, auth");
listcan filter by tag - Search: Find bookmarks by title, note, or snippet content
- Export/Import: JSON format for backup and sharing
Bookmark Structure#
json
{
"id": 1,
"title": "Auth bug fix discussion",
"source_path": "/path/to/session.jsonl",
"line_number": 42,
"agent": "claude_code",
"workspace": "/projects/myapp",
"note": "Good explanation of JWT refresh flow",
"tags": "auth, jwt, important",
"snippet": "The token refresh logic should..."
}
Storage Location#
Bookmarks are stored separately from the main index:
- Linux:
~/.local/share/coding-agent-search/bookmarks.db - macOS:
~/Library/Application Support/coding-agent-search/bookmarks.db - Windows:
%APPDATA%\coding-agent-search\bookmarks.db