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, …)
- The private settings:
<data_root>/config/library.toml, [general] (Settings, or library config set)
tool-chest.toml [library] section (shared defaults only; per-user values do not belong there)
- 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'