Skip to Content

CLI

v1 status: hand-written from src/main.rs command enum. Will be generated from --help output once a generator script lands. The canonical reference in the upstream repo is docs/commands-reference.md.

Global flags

These work on every subcommand:

FlagEffect
--profile <name>Operate on the named profile (default: default)
--config-dir <path>Override the config directory (overrides RANTAICLAW_CONFIG_DIR)

Top-level commands

CommandPurpose
rantaiclaw onboardOriginal interactive setup wizard (kept for backward compat)
rantaiclaw setupCanonical interactive setup; subcommands setup mcp, setup hardware, etc.
rantaiclaw autonomy <preset>Switch the runtime autonomy preset (writes policy/autonomy.toml)
rantaiclaw agentRun an agent — interactive REPL (no flag) or one-shot (--message)
rantaiclaw chatLaunch the terminal UI (TUI) — requires the tui feature
rantaiclaw daemonProduction daemon — gateway + all channels + scheduler + heartbeat
rantaiclaw gateway [--port P] [--host H]Run only the gateway HTTP server (no channels)
rantaiclaw serviceGenerate / install systemd / launchd / Windows service definitions
rantaiclaw doctorValidate install + config (exit 0 = pass, 1 = fail)
rantaiclaw statusPrint runtime status
rantaiclaw config schemaExport the config JSON Schema (no other subcommands today)
rantaiclaw memory <subcommand>List, get, stats, clear memory entries
rantaiclaw skills <subcommand>List, show, install, remove skills (note: plural skills)
rantaiclaw cron <subcommand>Manage cron jobs
rantaiclaw modelsList models known to the active provider config
rantaiclaw providersList configured providers
rantaiclaw channel <subcommand>Channel management
rantaiclaw integrationsExternal service integrations
rantaiclaw migrateRun profile / config migrations
rantaiclaw auth <subcommand>OAuth flows, device-code logins (Codex, Anthropic subscription, etc.)
rantaiclaw hardwareHardware discovery
rantaiclaw peripheral <subcommand>Hardware peripherals (STM32, RPi GPIO, ESP32, Arduino)
rantaiclaw session <subcommand>Inspect / manage sessions
rantaiclaw insightsShow insights from session data
rantaiclaw personalityManage active persona
rantaiclaw profile <subcommand>Multi-profile management
rantaiclaw updateSelf-update (replace the binary)
rantaiclaw rollbackRestore the previously installed binary from the snapshot saved by update
rantaiclaw uninstallRemove the agent and (optionally) its data
rantaiclaw completions <shell>Print shell completion script

For exact flag names and behavior, run rantaiclaw <command> --help.

Notable absences

You may have seen these documented elsewhere. They do not exist as top-level commands today:

Not a commandWhat you may want instead
rantaiclaw runUse rantaiclaw daemon
rantaiclaw mcpMCP setup goes through rantaiclaw setup mcp
rantaiclaw secretSecrets are managed via rantaiclaw setup (encrypted inline as enc2:<hex> in config.toml)
rantaiclaw skill (singular)The CLI is plural: rantaiclaw skills
rantaiclaw config showNo such verb — open config.toml directly
rantaiclaw config validateUse rantaiclaw doctor
rantaiclaw cron run / cron runsThese are LLM-callable tool names, not CLI verbs

Common usage

# First time rantaiclaw setup rantaiclaw doctor rantaiclaw chat # Production rantaiclaw daemon # Debugging a profile rantaiclaw --profile work doctor rantaiclaw --profile work memory stats # Adding a skill rantaiclaw skills install https://github.com/example/my-skill.git rantaiclaw skills list # Switching profiles rantaiclaw profile list rantaiclaw profile use work

Subcommand surface (selected)

rantaiclaw memory

memory list [--category core|daily|conversation|<custom>] [--session <id>] [--limit N] [--offset N] memory get <key> memory stats memory clear [--category <c>] [--session <id>] [--key <k>] [--yes]

rantaiclaw skills

skills list skills show <name> skills install <git-url-or-local-path> skills install-deps <name> # run the skill's brew / npm / uv / go / download recipes skills update <name> # git-pull a skill installed from a URL skills inspect <name> # dump the parsed SKILL.toml / SKILL.md skills remove <name>

rantaiclaw cron

cron list cron add <name> <cron-expression> <prompt> cron add-at <name> <iso-datetime> <prompt> cron add-every <name> <interval> <prompt> # interval e.g. "30s", "5m", "1h" cron once <prompt> # fire-and-forget one-shot cron remove <id> cron update <id> [--name ...] [--prompt ...] [--schedule ...] cron pause <id> cron resume <id>

cron run and cron runs are tool names (LLM-callable), not CLI subcommands.

rantaiclaw profile

profile list profile current profile create <name> profile use <name> profile clone <src> <dst>

rantaiclaw config

config schema # prints the JSON Schema (powered by schemars derive). No flags.

config show and config validate do not exist. Read config.toml directly, or run rantaiclaw doctor to validate.

rantaiclaw auth

OAuth and subscription-based login flows (Codex device-code, Anthropic Claude.ai subscription, etc.).

auth login [--provider <name>] # browser device-code or auth-URL flow auth paste-redirect <url> # paste redirect URL when the browser can't auto-complete auth paste-token <token> # paste an opaque token (provider-dependent) auth setup-token # generate a long-lived setup token auth refresh # refresh access tokens for the active provider auth use <provider> # set the active auth profile auth list # list all stored auth entries auth status # show currently active auth + expiry auth logout [--provider <name>] # revoke and remove stored credentials
Last updated on