Skip to Content
GuidesCommands

Commands Reference

Coqui provides two interfaces: an interactive REPL with slash commands, and a CLI with subcommands. This document covers both.

REPL Commands

All REPL commands start with /. Type /help during a session to see a quick reference.

Session Management

CommandDescription
/newStart a new session. When a profile is active, Coqui warns that it will summarize the current chat, store memories, archive and close the current conversation, then start a fresh session for that same profile (resets role to orchestrator)
/sessionsList active surfaced interactive sessions. Internal hidden background sessions are excluded
/resume ‹id›Resume a specific active surfaced session by ID. Hidden internal sessions cannot be resumed from the REPL
/historyShow conversation history for the current session

Agent & Roles

CommandDescription
/roleShow the current active role
/role ‹name›Switch to a different role (e.g. /role coder)
/role edit ‹name›Open a role file in $EDITOR for editing
/rolesList all roles with template, update, and ignore status
/roles update [name]Apply pending built-in role updates
/roles ignore ‹name›Ignore future built-in updates for a role
/roles unignore ‹name›Resume receiving built-in updates for a role
/profileShow the current active personality profile
/profile ‹name›Switch to a personality profile. Coqui reuses the most recent active session for that profile, archives older duplicate active sessions if any exist, and creates a new one only when none remain active
/profile defaultShow the configured default startup profile
`/profile default ‹namenone›`
/profile resetClear profile, revert to default identity (resumes the last unprofiled session or creates one)
/profilesList all available personality profiles
/groupShow help, or show the current group session when the active session is group-enabled
/group statusShow the active group session’s members, round cap, and orchestrator role
/group start ‹member1,member2,...› [--rounds=N]Start or resume an orchestrator-managed group session for the requested member set
/group add ‹profile›Add one member to the current group session
/group remove ‹profile›Remove one member from the current group session
/group replace ‹member1,member2,...› [--rounds=N]Replace the current group membership, optionally updating the round cap
/group rounds ‹n›Update the maximum per-turn coordination rounds for the current group session
/model [role]Show model configuration (optionally for a specific role)

Group sessions stay orchestrator-managed and clear any single active profile scope. Starting or reshaping a group session reuses the same membership validation and duplicate-composition rules as the HTTP API.

When the active session is group-enabled, the REPL prompt shows the current member list, for example You (group session with @alex-hormozi, @trinity). Prompts without explicit member mentions fan out to all members in stored order. Use @name to narrow the responder set or @everyone / @group to force a full-team reply. During a turn, streamed start, iteration, and reasoning output is labeled with the active member so you can see who is speaking and why that responder set was chosen.

Configuration & System

CommandDescription
/configShow current configuration
/config showShow the raw openclaw.json file
/config editReconfigure via setup wizard, then restart
/restartRestart the current Coqui REPL process (re-reads config, re-discovers toolkits)
/updateCheck for and apply dependency updates, then restart
/helpShow the command reference table
/quitExit Coqui
/exitExit Coqui (alias)
/qExit Coqui (alias)

Tool & Toolkit Management

CommandDescription
/toolkitsList all packages and tools with current visibility
/toolkits enable ‹pkg›Set a package to enabled (full schema in LLM context)
/toolkits stub ‹pkg›Set a package to stub (minimal schema, discover via tool_search)
/toolkits disable ‹pkg›Set a package to disabled (invisible to the LLM)
/toolkits enable tool:‹name›Set an individual tool to enabled
/toolkits stub tool:‹name›Set an individual tool to stub
/toolkits disable tool:‹name›Set an individual tool to disabled
/toolkits promote ‹ToolkitClass›Force a toolkit to load eagerly regardless of budget
/toolkits demote ‹ToolkitClass›Force a toolkit to stay deferred regardless of budget
/toolkits auto ‹ToolkitClass›Return a toolkit to automatic budget-gated loading
/budget [role]Show prompt-budget telemetry and toolkit loading decisions
/promptPrint the fully rendered system prompt with tool/toolkit/token counts plus file and folder breakdowns
/prompt exportExport system prompt and tool schemas to a file in the workspace

Backstory Generator

CommandDescription
/backstoryShow backstory generation status, file and folder summaries, skipped unsupported files, and current issue summary
/backstory generateForce regeneration of backstory.md from source files
/backstory failedShow files that failed extraction or were skipped as unsupported

Images

CommandDescription
/imageShow the standardized image toolkit command reference
/image helpShow the same standardized image toolkit command reference
/image generate ‹prompt›Generate an image through the installed image toolkit and save it into the workspace image library
/image preview ‹path›Render an existing workspace image as a low-fidelity terminal preview
/image listBrowse saved image records; interactive REPL opens a fullscreen browser and --profile, --vendor, --category, --tag, and --sort narrow the result set
/image search ‹query›Search saved image records by prompt, tags, owner, profile, model, vendor, or path
/image get ‹record-id›Show one saved image record
/image tag ‹record-id› ‹tag1,tag2›Update tags and optional category for a saved image record
/image delete ‹record-id›Delete a saved image record from the workspace image library
/image configShow resolved image-generation defaults, workspace paths, and vendor settings

/image generate accepts option flags such as --model=vendor/model, --vendor=openai|ollama, --tags=a,b, --category=name, --file-hint=name, --save-dir=images/custom, --size=1024x1024, and --quality=standard|hd.

Toolkit commands now use the same shared help formatting conventions as the built-in REPL commands. When a toolkit implements structured help metadata, /command and /command help render that metadata through Coqui’s standard formatter; otherwise Coqui generates the page from the command registration data.

When the resolved model is an Ollama image model that is not installed locally, Coqui now asks for confirmation before running ollama pull and shows a controlled download status instead of dumping the raw pull stream into the REPL.

In the interactive REPL, Coqui now auto-renders one low-fidelity ANSI image preview per turn when a successful tool result returns a workspace-local image path, such as a browser_capture screenshot or an image-toolkit output. Streamed assistant markdown also previews one workspace-local markdown image per response. This v1 behavior is intentionally narrow: local workspace files only, first preview only, and graceful fallback when ext-gd is unavailable.

Background Tasks

CommandDescription
/tasks [status]List background tasks, optionally filtered by status
/task ‹id›Show a background task’s status and recent events
/task-cancel ‹id›Cancel a pending or running background task

Planning & Todos

CommandDescription
/todos [status]Show session todos with progress stats. Filter by pending, in_progress, completed, or cancelled
/todos delete ‹id|all›Delete one todo by ID prefix, or all todos in the current session
/todos complete ‹id|all›Mark one todo, or all actionable todos, as completed
/todos cancel ‹id›Mark a todo as cancelled
/todos clearRemove completed and cancelled todos

Projects & Sprints

CommandDescription
/projectsList all projects and mark the active project
/projects activeList only active projects
/projects completedList only completed projects
/projects archivedList only archived projects
/projects ‹slug|id›Switch the active project for the current session
/projects clearClear the active project for the current session
/sprints [project_slug]List sprints for active projects, or one project when a slug is provided

Scheduling & Automation

Inspection commands in this section are user-facing. Mutation and lifecycle controls are still available, but they are best treated as advanced automation or operator workflows rather than routine chat interaction.

CommandDescription
/schedulesList scheduled tasks with status, cron expression, next/last run time
/schedules status ‹name|id›Show detailed schedule configuration, runtime state, and prompt text
/schedules enable ‹name|id|all›Advanced operator control: enable a schedule (or all disabled schedules)
/schedules disable ‹name|id|all›Advanced operator control: disable a schedule (or all enabled schedules)
/schedules delete ‹name|id|all›Advanced operator control: delete a schedule (or all schedules)
/schedules trigger ‹name|id|all›Advanced operator control: force-trigger a schedule on the next API tick
/loopsList all loops with status and progress
/loops runningList only running loops
/loops pausedList only paused loops
/loops completedList only completed loops
/loops failedList only failed loops
/loops cancelledList only cancelled loops
/loops start ‹definition› ‹goal›Advanced automation control: start a loop from a discovered definition with a goal
/loops definitionsShow available loop definitions
/loops defsAlias for /loops definitions
/loops status ‹id›Detailed status of a specific loop
/loops pause ‹id|all›Advanced automation control: pause running loop(s)
/loops resume ‹id|all›Advanced automation control: resume paused loop(s)
/loops stop ‹id|all›Advanced automation control: stop/cancel loop(s)
/channelsList configured channels with runtime health and heartbeat state
/channels driversShow registered channel drivers and declared capabilities
/channels status ‹name|id›Show one channel’s configuration and runtime state
/channels health ‹name|id›Show compact health output for one channel
/channels add ‹driver› ‹name› [driver-args...]Advanced operator control: create a channel instance in openclaw.json (for Signal: optional account number as the third argument)
/channels set ‹name|id› ‹field› ‹value›Advanced operator control: update driver, displayName, defaultProfile, boundSessionId, enabled, settings, allowedScopes, or security
/channels enable ‹name|id›Advanced operator control: enable a channel instance
/channels disable ‹name|id›Advanced operator control: disable a channel instance
/channels delete ‹name|id›Advanced operator control: remove a channel instance
/channels links ‹name|id›Show identity links for one channel
/channels link ‹name|id› ‹remote-user-key› ‹profile›Create an identity link for a remote user
/channels unlink ‹name|id› ‹link-id›Remove an identity link
/channels deliveries ‹name|id›Show recent outbound delivery records for one channel
/webhooksList webhook subscriptions with status and trigger counts for monitoring
/webhooks status ‹name|id›Show webhook configuration, secret mask, and trigger state
/webhooks deliveries ‹name|id›Show recent delivery logs for one webhook
/webhooks enable ‹name|id›Advanced operator control: enable a webhook subscription
/webhooks disable ‹name|id›Advanced operator control: disable a webhook subscription
/webhooks delete ‹name|id›Advanced operator control: delete a webhook subscription
/webhooks rotate ‹name|id›Advanced operator control: rotate a webhook signing secret
/evaluations [grade]List session evaluation reports, optionally filtered by grade
/qualityShow quality automation schedules and learner follow-up state
/hintsToggle command hints in the input area
/multilineToggle multiline compose mode (double-Enter submits, bracketed paste auto-detected)
/multiline onEnable multiline compose mode
/multiline offDisable multiline compose mode

Context Management

CommandDescription
/summarizeSummarize conversation history to reclaim token budget
/summarize recent NSummarize but keep the N most recent turns
/summarize focus "topic"Summarize with emphasis on a specific topic

Options can be combined: /summarize recent 5 focus "database schema".

Marketplace

CommandDescription
/spaceShow Coqui Space help
/space statusShow Coqui Space connectivity and installed package counts
/space search ‹query›Search the marketplace for toolkits and skills
/space install ‹package›Install a package from Coqui Space
/space remove ‹package›Remove an installed package
/space installedList installed marketplace packages
/space skillsList available skills from installed packages
/space toolkitsList available toolkits from installed packages
/space update ‹package›Update one installed skill or toolkit

CLI Commands

Coqui is invoked via coqui. By default, coqui starts the launcher-managed app: REPL in the foreground plus the API in the background. coqui-launcher is the explicit equivalent. Advanced console commands such as doctor, benchmark, task:run, and turn:run remain available when explicitly requested.

coqui

Start the full launcher-managed app or use launcher service controls.

coqui # Start REPL + API (default) coqui --api-only # Start only the launcher-managed API coqui --repl-only # Start only the REPL via the launcher coqui --wizard # Run the setup wizard coqui status # Show launcher-managed service status coqui stop # Stop launcher-managed services coqui cleanup # Clean stale/conflicting Coqui processes

coqui run

Compatibility alias for REPL-only mode via the launcher.

coqui run # Start the REPL only coqui run --new # Start a fresh session coqui run --session abc123 # Resume a specific session coqui run --profile caelum # Resume or create the last active session for a profile coqui run --auto-approve # Skip tool confirmation prompts coqui run --continue # Resume last session and auto-send "Continue."
OptionShortDescription
--config ‹path›-cPath to openclaw.json
--newStart a new session
--session ‹id›-sResume a specific session
--continueResume the last session and automatically send “Continue.” as the first prompt
--workdir ‹path›Working directory (project root). Default: current directory
--workspace ‹path›Workspace directory (overrides config and default)
--wizard-wRun the setup wizard (no REPL, no session)
--unsafeDisable PHP script sanitization. Use with caution
--auto-approveAuto-approve all tool executions. Use with caution
--updateCheck for and apply dependency updates, then restart
--no-terminalHeadless mode: run a single prompt without the REPL
--prompt ‹text›-pPrompt to send in headless mode
--format ‹fmt›-fOutput format for headless mode: text (default) or json

Environment variable equivalents: COQUI_UNSAFE=true for --unsafe, COQUI_AUTO_APPROVE=true for --auto-approve.

Headless Mode

Run a single prompt without the interactive REPL:

coqui run --no-terminal --prompt "List all PHP files in src/" coqui run --no-terminal --prompt "Summarize this project" --format json printf '%s' 'Summarize this project with a very large prompt body' | coqui run --no-terminal --format json

For very large prompts, prefer piping via stdin instead of --prompt. Coqui does not truncate headless input, but shell and OS argv limits can prevent very large --prompt values from reaching the process intact.

coqui api

Compatibility alias for launcher-managed API-only mode.

coqui api # Start on 127.0.0.1:3300 coqui api --host 0.0.0.0 --port 8080 # Listen on all interfaces, port 8080
OptionShortDescription
--port ‹port›Port to listen on. Default: 3300
--host ‹host›Host to bind to. Default: 127.0.0.1
--config ‹path›-cPath to openclaw.json
--workdir ‹path›-wWorking directory (project root)
--workspace ‹path›Workspace directory (overrides config and default)
--unsafeDisable PHP script sanitization
--cors-origin ‹origins›Allowed CORS origins, comma-separated. Default: *

Environment variable: COQUI_API_HOST overrides the --host default when the flag is not explicitly passed.

coqui setup

Compatibility alias for the launcher setup wizard.

coqui setup # Configure in current directory coqui setup --workdir /my/project # Configure a specific project
OptionShortDescription
--workdir ‹path›Working directory (project root)
--output ‹path›-oOutput path for openclaw.json. Default: {workdir}/openclaw.json

coqui doctor

Run health checks on your Coqui installation.

coqui doctor # Run all checks coqui doctor --repair # Fix detected issues automatically coqui doctor --json # Output results as JSON
OptionShortDescription
--config ‹path›-cPath to openclaw.json
--workdir ‹path›-wWorking directory (project root)
--workspace ‹path›Workspace directory (overrides config and default)
--repairAutomatically fix detected issues
--jsonOutput results as JSON

coqui benchmark

Run lightweight performance benchmarks against key Coqui subsystems such as boot, token estimation, SQLite setup, and autoloader hot paths.

coqui benchmark coqui benchmark --iterations 250 coqui benchmark --json
OptionShortDescription
--iterations ‹n›-iNumber of iterations per benchmark. Default: 100
--jsonOutput machine-readable JSON instead of console tables
--config ‹path›-cPath to openclaw.json
--workdir ‹path›-wWorking directory used for boot benchmarking

Launcher

coqui-launcher is the explicit launcher name for the same public entrypoint surface exposed through coqui.

Modes

coqui-launcher # Start REPL (foreground) + API (background) coqui-launcher --repl-only # Start REPL only, no API coqui-launcher --api-only # Start API only (foreground) coqui-launcher --wizard # Run setup wizard directly coqui-launcher stop # Stop all background services coqui-launcher stop-api # Stop the background API only coqui-launcher status # Show which services are running

Launcher Flags

FlagDescription
--host ‹host›API bind address (default 127.0.0.1, use 0.0.0.0 for network access)
--port ‹port›API port (default 3300)
--auto-approveForwarded to coqui run
--continueForwarded to coqui run
--unsafeForwarded to the launcher-managed REPL and API processes
--config ‹path›Forwarded to the launcher-managed REPL and API processes
--workdir ‹path›Forwarded to the launcher-managed REPL and API processes
--workspace ‹path›Forwarded to the launcher-managed REPL and API processes
--cors-origin ‹origins›Forwarded to launcher-managed API-only mode
--backgroundBackground all daemon services, return to shell
--verboseEnable detailed logging (COQUI_VERBOSE=1)

Exit Code Behavior

Exit CodeMeaningLauncher Response
0Clean exit (/quit or Ctrl+C)Launcher stops, cleans up services
10Restart requested (/restart)Relaunches the REPL, resets crash counter
OtherCrashRelaunches up to 3 consecutive times

Signal Handling

At the REPL prompt

ActionBehavior
First Ctrl+CPrints (Press Ctrl+C again to quit.)
Second Ctrl+CExits cleanly (exit code 0)

The counter resets after any successful input.

During agent execution

ActionBehavior
First Ctrl+CCooperative cancellation — agent finishes current iteration then stops
Second Ctrl+CImmediate kill (exit code 130)
EscCooperative cancellation via EscCancellationObserver

See Also

Last updated