Basic Commands
This guide covers the essential Crucible commands you’ll use daily.
Overview
Section titled “Overview”| Command | Purpose |
|---|---|
cru | Start interactive chat |
cru process | Index notes |
cru stats | View kiln statistics |
cru chat | Chat with context |
cru mcp | Start MCP server |
cru (Default)
Section titled “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 act mode) modify your notes.
Chat Modes
Section titled “Chat Modes”Plan Mode (default): Read-only, agent explores but doesn’t modify
/planAct Mode: Agent can create and modify notes
/actUseful Commands in Chat
Section titled “Useful Commands in Chat”/help- Show available commands/plan- Switch to read-only mode/act- Enable write mode/clear- Clear conversation historyShift+Tab- Cycle modesCtrl+C- Cancel (double to exit)
cru process
Section titled “cru process”Index your notes for search and AI features:
cru processOptions
Section titled “Options”Force full reprocessing:
cru process --forceWatch for changes:
cru process --watchPreview without processing:
cru process --dry-runWhen to Run
Section titled “When to Run”- After adding many new notes
- After major reorganization
- Before important searches
- First time setup
See process for full documentation.
cru stats
Section titled “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
Section titled “cru chat”Start chat with a specific message:
cru chat "What do I know about Rust?"Options
Section titled “Options”Use internal agent:
cru chat --internal --provider ollama "Summarize my notes on testing"Specify model:
cru chat --internal --provider openai --model gpt-4o "Help me plan"cru config
Section titled “cru config”Manage configuration:
# Show current configcru config show
# Show config file locationcru config path
# Initialize default configcru config initcru mcp
Section titled “cru mcp”Start the MCP server for external tool integration:
cru mcp --stdioThis exposes your kiln to AI tools like Claude Code.
cru status
Section titled “cru status”Check storage status:
cru statusShows database connection info and storage statistics.
Command Patterns
Section titled “Command Patterns”Daily Workflow
Section titled “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
Section titled “Finding Information”All search happens through the chat interface or MCP tools:
# Interactive explorationcru chat "Help me find notes about project planning"
# Or use MCP with external toolscru mcp --stdioMaintenance
Section titled “Maintenance”# Full reindex after changescru process --force
# Check for issuescru stats
# View current configurationcru config showGlobal Options
Section titled “Global 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
Section titled “Getting Help”# General helpcru --help
# Command-specific helpcru process --helpcru chat --helpNext Steps
Section titled “Next Steps”- Getting Started - Full setup guide
- Your First Kiln - Create a kiln from scratch
- Index - Full CLI reference
- process - Processing options
See Also
Section titled “See Also”:h cli- CLI reference:h process- Processing reference:h config- Configuration options