Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CLI

The kb binary provides CLI access to all MCP tools. Every MCP tool has a CLI equivalent.

Commands

# List all sections
kb list-sections

# Search
kb search --query "rate limits"
kb search --query "bevy" --collection skills
kb search --query "agents" --scope runtimes
kb search --query "MCP" --max-results 5

# Get full document
kb get-document --path "concepts/mcp-server-pattern.md"

# Token-efficient briefing
kb context --path "concepts/mcp-server-pattern.md"

# Write a note (writable collection only)
kb write --collection notes --title "My Note" --body "Content" --tags "tag1,tag2"

# Rebuild index
kb reindex

Global Options

FlagDescription
--config <path>Path to collections.ron config file

Output

All commands output JSON to stdout. Errors go to stderr.