Skip to content

CLI Command Reference

Complete reference for all Crucible CLI commands.

CommandDescription
cru chatInteractive AI chat with session persistence and tool access
cru processProcess markdown files through the pipeline (parse, enrich, store)
cru initInitialize a new kiln (Crucible workspace)
cru statsDisplay kiln statistics
cru statusDisplay storage status and statistics for the knowledge base
cru modelsList available models from configured LLM provider
CommandDescription
cru agentsManage agent cards (list, show, validate)
cru mcpStart MCP server exposing Crucible tools for external AI agents
cru skillsDiscover and manage agent skills (list, show, search)
cru toolsDiscover and manage tools (list, show)
CommandDescription
cru sessionManage chat sessions (create, send, pause, resume, end, list, show, search)
cru configManage Crucible configuration (initialize, view, export)
cru authManage LLM provider credentials (login, logout, list)
cru setConfigure a running session’s settings (same syntax as TUI :set)
CommandDescription
cru daemonManage the Crucible daemon (start, stop, restart, status)
cru storageManage storage operations (migration, verification, backup, cleanup)
cru tasksManage tasks from a TASKS.md file (list, next, pick, done)
cru pluginManage and develop Lua plugins
cru webStart the web UI server for browser-based chat
cru doctorRun installation diagnostics (daemon, config, providers, kiln, embeddings)
cru completionsGenerate shell completion scripts (bash, zsh)
-l, --log-level <LEVEL> Set log level (off, error, warn, info, debug, trace)
-v, --verbose Enable verbose logging (--log-level=debug)
-C, --config <PATH> Config file path (defaults to ~/.config/crucible/config.toml)
-f, --format <FORMAT> Output format: table, json, csv (default: table)
--embedding-url <URL> Embedding service URL (overrides config)
--embedding-model <MODEL> Embedding model name (overrides config)
--standalone Run with in-process daemon (no background server required)
-h, --help Show help
-V, --version Print version

Run bounded installation diagnostics. Performs exactly five checks:

  1. Daemon reachability — connects to the Unix socket to verify the daemon is running
  2. Config validity — loads and validates your config file
  3. Provider connectivity — pings each configured LLM provider endpoint (2s timeout per provider)
  4. Kiln accessibility — checks the kiln path exists, is a directory, and is writable
  5. Embedding backend — confirms FastEmbed or Ollama embeddings are available
cru doctor

Exits with code 0 if all checks pass, code 1 if any check fails. Warnings (e.g., read-only kiln, no providers configured) don’t cause a non-zero exit.

Each failed check prints a suggested fix:

✗ Daemon not running
Try: `cru daemon start`
✗ Config missing at ~/.config/crucible/config.toml
Try: `cru config init`
  • process - Processing pipeline details
  • chat - Chat command reference
  • stats - Statistics command
  • doctor - Installation diagnostics
  • storage - Storage configuration