Skip to content

Slash Commands (/) ​

Inside kompile chat (and supported passthrough / web chat sessions), slash commands control models, agents, workflows, loops, memory, policy enforcement, dashboards, and background processes without leaving your terminal.

Type / in the prompt to open interactive tab completion with inline descriptions and sub-arguments.

Interactive Wizards (No Flags Needed) ​

You rarely need to type sub-arguments by hand — Kompile's configuration commands open numbered interactive wizards directly in your terminal:

Run This Bare / CommandInteractive Wizard Opened
/onboard (or kompile onboard)First-run onboarding wizard (harnesses, auth, conversation import, peers)
/setup (or kompile configure)Full chat & project setup wizard (includes Judge profiles via JudgeDefaultsWizard)
/auth (or kompile auth login)Numbered vendor, auth route, credential, and model wizard
/modelInteractive model picker & failover ladder editor (/model failover)
/subagent-configNumbered subagent settings wizard (limits, budgets, bans, routes, tool preload) + /subagent-config failover
/workflow createGuided workflow team builder (participants, inline roles, edges, gates, models)
/rolesInteractive role menu (list, create, edit, delete, assign)
/enforcer (or /judge, kompile configure enforcer)Numbered Enforcer & Judge menu (live toggles, rules, judgements, plus option 1 setup wizard; /enforcer init jumps straight to setup)
/policy-enforce (or /policy-enforce-global)Staged terminal editor for periodic policy items, triggers, and auditor model
/resources setup (or /resources add)Guided resource-admission rule wizard (high vs. low classes)
/ui (or kompile configure ui)Live-preview numbered display wizard (presets, sidebar, content placement, save scope)

All sub-arguments listed in the tables below remain available as direct shortcuts for power users and scripts.

Setup, Auth & Models ​

CommandDescriptionCommon sub-arguments
/helpShow available commands and shortcuts—
/onboardGuided onboarding: detect/download harnesses, subagents, imports, peersstatus, --probe-peers
/explainInspect everything installed and configuredall, install, harnesses, auth, subagents, chat, harness, processes, enforcer, mcp, lsp, federation, sources, commands
/setupRun the interactive chat setup wizard—
/auth (/provider)Choose vendor, auth route, credential, then modelagy, claude-code, openai, openai-codex, anthropic, gemini, github-copilot
/integrations (/integration)Configure external integrations (Google, Microsoft, Notion, Reddit, Atlassian, Slack, Discord, Email, Obsidian/NoteSync, ERP)status, guide <provider>, client <provider>, login <provider>, token <provider>, obsidian [list|set|remove], obsidian-token <name>, erp [list], sync-config, sync-connections <id>, sync-test <id>, sync-trigger <id>
/modelChoose or switch model for the current vendormodel id, picker, failover
/thinkingShow or set reasoning/thinking effort for this sessionstatus, default, off, low, medium, high, xhigh, max
/fastToggle provider fast/priority modeon, off, status
/ultracodeToggle Claude Code ultracode workflows (Claude Code route)on, off, status
/installInstall an external agent harness CLIclaude, codex, opencode, agy
/extensionManage CLI extensions (aliases: /extensions, /plugin, /plugins)list, inspect <id>, install <dir|.zip|url>, remove <id>
/configShow or edit active chat configuration—
/permissionsManage tool approval permissions—
/modeSwitch interaction mode—
/statusShow connection, model, and session infocontext (live context ledger)

Agents, Subagents & Workflows ​

CommandDescriptionCommon sub-arguments
/agentShow or switch the active agentagent name
/agentsList available server/remote agents—
/local-agentSwitch the active local agentagent name
/local-agentsList built-in and custom local agents—
/agent-chatStart direct agent chat—
/subagentsList available subagents and active children—
/subagent-configWizard (bare): subagent concurrency, model bans, budgets, routes, preload, and failover(bare = wizard), failover (wizard), status, max, per-session, ban, budget, cost-budget, ceiling, time, autoresume, route, preload-tools
/subagent-breakdownInspect where a subagent's tokens came from (startup, skills, tools, results)subagent id
/workflowManage workflow teams, gates, and participant models (create opens guided wizard)create (wizard), show, approve [gate], models, model, list, delete
/rolesWizard (bare): interactive menu to list, create, edit, delete, and assign roles(bare = wizard)
/roleShow or assign the active rolerole name
/skillsList available skills (built-in, user, and project)—
/askAsk a one-off questionquestion text
/btwSide question answered outside the conversation (never added to history)question text

Context, Memory, Recovery & Stores ​

CommandDescriptionCommon sub-arguments
/historyShow conversation history—
/diffsRecent session file diffs, newest first[count] (default 20, range 1–100)
/clearStart a new conversation in the current process—
/reset (/restart)Restart this session in a fresh process on the same terminal—
/reset-allRestart every active CLI chat session—
/recoverRecover conversation journal: reload from disk, fork, or inspectstatus, reload, fork
/compactSummarize conversation context to free tokens (guide)[focus instruction], reviewed [prepare|<json>] (explicit scope retirement)
/auto-compactConfigure automatic model-aware compaction (guide)status, on, off, threshold <50%-95%>, reserve|context|output <tokens|auto>
/memoryInspect, search, or compact persistent memorylist, search, compact, status
/recallRecall matching entries from persistent memoryquery
/transcriptView the current session transcript—
/copyCopy the latest assistant response to clipboard—
/conversationsList saved conversations—
/sessionsList active and recent sessions—
/titleShow or change the current session titlenew title
/resumeBrowse and resume a previous sessionsession id
/resume-allRestore recent exited or crashed sessions—
/gcGarbage-collect Kompile home stores, dry-run by default (guide)report, run [targets] [--yes], compress [--yes], chats [--older-than N] [--yes], purge [targets] [--grace N] [--yes], memory [apply], pin|unpin|restore <id>
/sources (/source)Unified harness sources (peers, blob stores, local dirs, harnesses)list, status, search, sync
/blob-storeManage remote archive/transcript blob stores (s3, filesystem, kompile-http)status, setup, list, add, config, remove, test, sync

Loops, Queues & Automation ​

CommandDescriptionCommon sub-arguments
/loopSchedule recurring prompts for this sessionadd, list, remove, pause, resume, clear
/loop-globalSchedule recurring prompts across the projectadd, list, remove, pause, resume, clear
/loop-boundedRecurring prompt that stops automatically after a count or duration boundcount/duration + prompt
/loop-broadcastRecurring message sent to every other active agentinterval + message
/message-broadcastQueue a one-shot message for every other active agentmessage
/continueAuto-reply when an agent asks follow-up questionson, off, status, text, reset
/continue-triggerManage trigger keywords for /continuelist, add, remove, reset
/reminderManage session-scoped prompt reminders (guide)<text>, list, add, clear, interval <n|every n|off|reset>
/reminder-globalManage project-global prompt reminders (guide)<text>, list, add, clear, interval <n|every n|off|reset>
/queueAdd a message to the session's FIFO queue<text>
/queuesList queued messages with positions and 8-char IDs—
/queue-sendSend the next queued message (or a specific ID) when idle[id]
/queue-send-allDrain all queued messages sequentially in order—
/queue-editEdit a queued message in place (or press ↑ on a blank prompt)<id> <new text>
/queue-moveReorder a queued message to a 1-based position<id> <position>
/queue-removeRemove one message from the queue<id>
/queue-clearClear all pending queued messages—
/queue-statusShow queue depth and auto-dequeue state—
/auto-dequeueToggle automatic draining of queued messages between turns—

Judge, Policy Enforcement & Hooks ​

CommandDescriptionCommon sub-arguments
/judgeWizard (bare): unified judge & enforcer menu (aliases: /enforcer, /enforce; init jumps straight to setup wizard)(bare = menu), init (wizard), status, on, off, global, workflow, judgements, config, rules, delete, reload, direction, memory on|off, chat, cost, feedback
/judge-globalPersistent master judge switch across sessionson, off, status
/rulesShow active judge policy rules—
/policy-enforceWizard (bare): staged editor for session policy items, audit trigger, and auditor(bare = wizard), status, add, remove, on, off, run
/policy-enforce-globalWizard (bare): staged editor starting in project-wide scope(bare = wizard), status, add, remove, on, off, trigger, auditor
/hooksManage Claude-style tool hooks (.kompile/hooks.json / ~/.kompile/hooks.json)list, add, edit, enable, disable, delete
/gatewayTool Gateway & Command Guardrails status, rules, hot-reload, and setup wizard (alias: /guardrails)status, rules, reload, setup (wizard)
/archiveList archived enforced turns—
/rollbackRoll back archived enforced turnsturn id
/diffShow an archived turn diffturn id
/purgePurge session diff archive—

Dashboards, Cost, Resources & Processes ​

CommandDescriptionCommon sub-arguments
/dashboardSession summary and on-demand topic reports<topic>, refresh, show, hide, status
/dashboard-<topic>Direct topic report: tools, judge, tests, disk, messages, crawl, graph, tokens, tasks, processes, timelinesession:ID, topic filters
/timelineSession activity timeline (alias for /dashboard-timeline)next, inspect:EVENT_ID, follow, stop
/statsSession metrics and token drill-downtools [tool:NAME session:ID call:ID offset:N]
/costModel requests, dollar cost, and quota windows (default 24h)session, 24h, 7d, all, subagents, main, models, agents, vendors
/usageVendor account credits, usage windows, and reset times—
/progress-reportsPrint the last n agent progress reports (default 1)[n]
/progress-reports-subagentsPrint the last n subagent progress reports[n]
/test-milestonesRecent session test milestones (auto-captured + agent-recorded)—
/evalInspect, create, compare, and trend agent evaluation suites & runs (guide)list, report [suite], show <run-id>, inspect <file>, create <file> [name], compare <a> <b>, trend <suite>, delete <run-id>, run <file>
/perfModel/agent performance harness leaderboard and recommendations (guide)report [task], recommend [task], config, stats, reset --yes
/activityShow local work or live project-agent dashboardclear, close
/processesShow managed background processes & subagents—
/process-monitorsList or cancel process exit monitorslist, cancel <id>
/process-configBackground process timeouts and concurrency limitsshow, enable, disable, set, unset, reset, exclude, test-pattern, global
/process-logs (/process-log)Browse, tail, page, search, or grep managed process & runtime logslist, tail <id> [N], read <id> [offset] [limit], search <id> <text>, grep <id> <pattern>, project, global, runtime, subprocess, lsp
/process-outputView output of a background processprocess id
/process-statusShow process or watcher statusprocess id
/process-killKill a running managed processprocess id
/jobsList background jobs—
/jobs-removeRemove a background jobjob id
/jobs-clearClear all background jobs—
/resourcesConfigure tool-argument resource admission rules (setup/add opens guided wizard)setup (wizard), add (wizard), show, sources, rules, check, rule, remove, default, unknown-shell, inherit, global, json
/resource-monitorLive per-chat CPU/RSS/GPU and managed subprocess controlsshow, status, stop, kill <id> confirm, embeddings stop confirm

Tools, RAG, Planning, UI & Passthrough ​

CommandDescriptionCommon sub-arguments
/tool / /toolsInvoke or list MCP / server toolstool name
/local-tool / /local-toolsInvoke or list local CLI toolstool name
/mcpShow or reconnect this session's MCP servers (Claude Code route)status, reconnect
/acpConnect to and control external ACP v1 coding agents (guide)status, presets, connect <preset|cmd>, mode [id], config [id val], sessions, disconnect
/ragToggle or configure RAG retrievalon, off, status
/planToggle plan mode (read-only exploration before edits)on, off, status
/todosInspect or mutate the session task listdone|cancel|reopen|start <id>
/todos-ongoingShow pending and in-progress tasks—
/todos-completedShow completed tasks—
/todos-canceledShow cancelled tasks—
/uiDisplay wizard: layout, sidebar, and inline content routing—
/redrawRepaint the entire TUI without clearing conversation history—
/statusbarToggle the bottom status bar—
/passthroughToggle passthrough mode—
/keysForward keystrokes directly to the wrapped agent—
/renderShow or set managed terminal render mode—
/forwardForward a command directly to the wrapped agentcommand
/menuShow interactive menu—
/image, /file, /attachAttach an image or file to the next turnfile path
/attachmentsList currently staged attachments—
/quit (/exit)Exit the chat cleanly—

See Workflows for step-by-step guides combining these commands into multi-agent, scheduled, and policy-governed loops.

Released under the Apache-2.0 License.