CLI Commands
Complete reference for all ReasonKit CLI commands.
Overview
rk-core [COMMAND] [OPTIONS] [ARGUMENTS]
Core Commands
think
Run a full analysis using PowerCombo (all tools in sequence).
rk-core think "Your question or statement" [OPTIONS]
Options:
| Flag | Short | Description |
|---|---|---|
--profile | -p | Profile to use (quick/balanced/deep/paranoid) |
--format | -f | Output format (pretty/json/markdown) |
--timeout | -t | Maximum execution time in seconds |
--verbose | -v | Show detailed progress |
--quiet | -q | Minimal output |
--provider | LLM provider (anthropic/openai/openrouter/ollama) | |
--model | -m | Specific model to use |
Examples:
# Basic usage
rk-core think "Should I take this job?"
# With profile
rk-core think "Should I invest my savings?" --profile paranoid
# With specific model
rk-core think "Is this a good business idea?" --provider anthropic --model claude-3-opus
# Output as JSON
rk-core think "question" --format json > analysis.json
Individual ThinkTools
Run specific tools directly:
# GigaThink - Generate perspectives
rk-core gigathink "question" [OPTIONS]
# LaserLogic - Check reasoning
rk-core laserlogic "claim or argument" [OPTIONS]
# BedRock - First principles
rk-core bedrock "question" [OPTIONS]
# ProofGuard - Verify claims
rk-core proofguard "claim" [OPTIONS]
# BrutalHonesty - Reality check
rk-core brutalhonesty "plan or idea" [OPTIONS]
# PowerCombo - All tools
rk-core powercombo "question" [OPTIONS]
Tool-Specific Options:
# GigaThink
rk-core gigathink "question" --perspectives 15
# LaserLogic
rk-core laserlogic "argument" --depth deep
# ProofGuard
rk-core proofguard "claim" --sources 5
# BrutalHonesty
rk-core brutalhonesty "plan" --severity high
Configuration Commands
config
Manage ReasonKit configuration.
# Validate configuration
rk-core config validate
# Show effective configuration
rk-core config show
# Show config file path
rk-core config path
# Edit config in default editor
rk-core config edit
# Reset to defaults
rk-core config reset
profiles
Manage reasoning profiles.
# List all profiles
rk-core profiles list
# Show profile details
rk-core profiles show balanced
# Export profile
rk-core profiles export career > career.toml
# Import profile
rk-core profiles import career.toml
Provider Commands
providers
Manage LLM providers.
# List available providers
rk-core providers list
# Test provider connection
rk-core providers test anthropic
# Set default provider
rk-core providers default anthropic
# Show provider models
rk-core providers models openrouter
models
Work with models.
# List available models
rk-core models list
# Test model
rk-core models test claude-3-sonnet
# Set default model
rk-core models default claude-3-sonnet
Utility Commands
version
Show version information.
rk-core version
# reasonkit-core 0.1.0 (built 2025-01-15)
help
Get help for any command.
# General help
rk-core help
# Command-specific help
rk-core help think
rk-core help gigathink
update
Update ReasonKit.
# Check for updates
rk-core update check
# Update to latest
rk-core update
Global Options
These options work with any command:
| Flag | Description |
|---|---|
--help, -h | Show help |
--version, -V | Show version |
--config | Use specific config file |
--no-color | Disable colored output |
--debug | Enable debug output |
Environment Variables
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY | Anthropic API key |
OPENAI_API_KEY | OpenAI API key |
OPENROUTER_API_KEY | OpenRouter API key |
RK_PROVIDER | Default provider |
RK_MODEL | Default model |
RK_PROFILE | Default profile |
RK_OUTPUT_FORMAT | Default output format |
RK_LOG_LEVEL | Logging level |
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Invalid arguments |
| 3 | Configuration error |
| 4 | API error |
| 5 | Timeout |
Shell Completions
# Bash
rk-core completions bash > /etc/bash_completion.d/rk-core
# Zsh
rk-core completions zsh > ~/.zfunc/_rk-core
# Fish
rk-core completions fish > ~/.config/fish/completions/rk-core.fish