Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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:

FlagShortDescription
--profile-pProfile to use (quick/balanced/deep/paranoid)
--format-fOutput format (pretty/json/markdown)
--timeout-tMaximum execution time in seconds
--verbose-vShow detailed progress
--quiet-qMinimal output
--providerLLM provider (anthropic/openai/openrouter/ollama)
--model-mSpecific 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:

FlagDescription
--help, -hShow help
--version, -VShow version
--configUse specific config file
--no-colorDisable colored output
--debugEnable debug output

Environment Variables

VariableDescription
ANTHROPIC_API_KEYAnthropic API key
OPENAI_API_KEYOpenAI API key
OPENROUTER_API_KEYOpenRouter API key
RK_PROVIDERDefault provider
RK_MODELDefault model
RK_PROFILEDefault profile
RK_OUTPUT_FORMATDefault output format
RK_LOG_LEVELLogging level

Exit Codes

CodeMeaning
0Success
1General error
2Invalid arguments
3Configuration error
4API error
5Timeout

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