Basic Commands
This guide covers the essential Crucible commands you’ll use daily.
Overview
| Command | Purpose |
|---|---|
cru | Start interactive chat |
cru process | Index notes |
cru search | Search notes (text + semantic) |
cru stats | View kiln statistics |
cru chat | Chat with context |
cru mcp | Start MCP server |
cru (Default)
Running cru with no arguments starts interactive chat:
cruThis is the primary way to interact with your kiln. The AI agent can search, read, and (in auto mode) modify your notes.
Chat Modes
Normal Mode (default): Agent reads freely; asks permission before writes or commands
/defaultPlan Mode: Read-only; agent explores but doesn’t modify
/planAuto Mode: Agent can create and modify notes without prompting
/autoUseful Commands in Chat
/default- Switch to normal (ask-for-writes) mode/plan- Switch to read-only mode/auto- Enable full-access mode/mode- Cycle through modes/undo- Undo the last exchange/help- Show helpShift+Tab- Cycle modesCtrl+C- Cancel (double to exit)
Any other /command is forwarded to the agent as chat text. To resume a
previous session, use cru chat --resume <id> or cru session open <id>; to
switch models, use :model.
cru process
Index your notes for search and AI features:
cru processOptions
Force full reprocessing:
cru process --forceWatch for changes:
cru process --watchPreview without processing:
cru process --dry-runWhen to Run
- After adding many new notes
- After major reorganization
- Before important searches
- First time setup
See process for full documentation.
cru stats
View kiln statistics:
cru statsOutput shows:
- Total files
- Markdown file count
- Total size
- Kiln path
Useful for:
- Verifying kiln configuration
- Monitoring growth
- Quick health check
See stats for full documentation.
cru chat
Start chat with a specific message:
cru chat "What do I know about Rust?"Options
Choose a provider (internal agent):
cru chat --provider ollama "Summarize my notes on testing"Specify model:
cru chat --provider openai --set model=gpt-4o "Help me plan"There is no --model flag — model selection uses the same --set syntax as
the TUI :set command.
cru config
Manage configuration:
# Show current configcru config show
# Show where each value came from (file, env, cli, default)cru config show --sources
# Initialize default configcru config initcru mcp
Start the MCP server for external tool integration:
# Default: SSE transport on port 3847cru mcp
# Stdio transport (for clients like Claude Desktop)cru mcp --stdioThis exposes your kiln to AI tools like Claude Code. The server is hosted by
the background daemon; pass the global --standalone flag to run it in-process
instead.
cru status
Check storage status:
cru statusShows database connection info and storage statistics.
Command Patterns
Daily Workflow
# Morning: Check what's therecru stats
# Working: Search and explore via chatcru chat "What are my open tasks?"
# Adding notes: Keep index freshcru process --watchFinding Information
Search directly, through chat, or via MCP tools:
# Direct search (text + semantic)cru search "project planning"
# Interactive explorationcru chat "Help me find notes about project planning"
# Or use MCP with external toolscru mcp --stdioMaintenance
# Full reindex after changescru process --force
# Check for issuescru stats
# View current configurationcru config showGlobal Options
These work with any command:
# Specify config filecru -C /path/to/config.toml stats
# Verbose outputcru --verbose process
# JSON output (where supported)cru stats --format jsonGetting Help
# General helpcru --help
# Command-specific helpcru process --helpcru chat --helpNext Steps
- Getting Started - Full setup guide
- Your First Kiln - Create a kiln from scratch
- Index - Full CLI reference
- process - Processing options
See Also
:h cli- CLI reference:h process- Processing reference:h config- Configuration options