Skip to content

Basic Commands

This guide covers the essential Crucible commands you’ll use daily.

CommandPurpose
cruStart interactive chat
cru processIndex notes
cru statsView kiln statistics
cru chatChat with context
cru mcpStart MCP server

Running cru with no arguments starts interactive chat:

Terminal window
cru

This is the primary way to interact with your kiln. The AI agent can search, read, and (in act mode) modify your notes.

Plan Mode (default): Read-only, agent explores but doesn’t modify

/plan

Act Mode: Agent can create and modify notes

/act
  • /help - Show available commands
  • /plan - Switch to read-only mode
  • /act - Enable write mode
  • /clear - Clear conversation history
  • Shift+Tab - Cycle modes
  • Ctrl+C - Cancel (double to exit)

Index your notes for search and AI features:

Terminal window
cru process

Force full reprocessing:

Terminal window
cru process --force

Watch for changes:

Terminal window
cru process --watch

Preview without processing:

Terminal window
cru process --dry-run
  • After adding many new notes
  • After major reorganization
  • Before important searches
  • First time setup

See process for full documentation.

View kiln statistics:

Terminal window
cru stats

Output 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.

Start chat with a specific message:

Terminal window
cru chat "What do I know about Rust?"

Use internal agent:

Terminal window
cru chat --internal --provider ollama "Summarize my notes on testing"

Specify model:

Terminal window
cru chat --internal --provider openai --model gpt-4o "Help me plan"

Manage configuration:

Terminal window
# Show current config
cru config show
# Show config file location
cru config path
# Initialize default config
cru config init

Start the MCP server for external tool integration:

Terminal window
cru mcp --stdio

This exposes your kiln to AI tools like Claude Code.

Check storage status:

Terminal window
cru status

Shows database connection info and storage statistics.

Terminal window
# Morning: Check what's there
cru stats
# Working: Search and explore via chat
cru chat "What are my open tasks?"
# Adding notes: Keep index fresh
cru process --watch

All search happens through the chat interface or MCP tools:

Terminal window
# Interactive exploration
cru chat "Help me find notes about project planning"
# Or use MCP with external tools
cru mcp --stdio
Terminal window
# Full reindex after changes
cru process --force
# Check for issues
cru stats
# View current configuration
cru config show

These work with any command:

Terminal window
# Specify config file
cru -C /path/to/config.toml stats
# Verbose output
cru --verbose process
# JSON output (where supported)
cru stats --format json
Terminal window
# General help
cru --help
# Command-specific help
cru process --help
cru chat --help
  • :h cli - CLI reference
  • :h process - Processing reference
  • :h config - Configuration options