library — CLI cheatsheet
Scope
library show-scope
library show-scope --search 'tags:"=cybersecurity"'
Index
library index
library index --dry-run
library index --no-progress
library index --include-tag agent-reference
library index --search 'tags:"=agent-reference" and formats:epub'
Search
library search "defense in depth for APIs"
library search "MFA patterns" --limit 3
MCP
Config resolution
- Environment variables (
LIBRARY_DB, LIBRARY_CALIBRE_LIBRARY, …)
tool-chest.toml [library] section (when running inside tool-chest)
~/.config/library/config.toml
- Built-in defaults
Calibre scope examples
scope_all = true
include_tags = ["agent-reference"]
exclude_tags = ["Fantasy", "Fiction"]
include_query = 'vl:"Technical Reference"'
include_query = 'tags:"=security" and formats:epub'