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 / Command | Interactive 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 |
/model | Interactive model picker & failover ladder editor (/model failover) |
/subagent-config | Numbered subagent settings wizard (limits, budgets, bans, routes, tool preload) + /subagent-config failover |
/workflow create | Guided workflow team builder (participants, inline roles, edges, gates, models) |
/roles | Interactive 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
| Command | Description | Common sub-arguments |
|---|---|---|
/help | Show available commands and shortcuts | — |
/onboard | Guided onboarding: detect/download harnesses, subagents, imports, peers | status, --probe-peers |
/explain | Inspect everything installed and configured | all, install, harnesses, auth, subagents, chat, harness, processes, enforcer, mcp, lsp, federation, sources, commands |
/setup | Run the interactive chat setup wizard | — |
/auth (/provider) | Choose vendor, auth route, credential, then model | agy, 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> |
/model | Choose or switch model for the current vendor | model id, picker, failover |
/thinking | Show or set reasoning/thinking effort for this session | status, default, off, low, medium, high, xhigh, max |
/fast | Toggle provider fast/priority mode | on, off, status |
/ultracode | Toggle Claude Code ultracode workflows (Claude Code route) | on, off, status |
/install | Install an external agent harness CLI | claude, codex, opencode, agy |
/extension | Manage CLI extensions (aliases: /extensions, /plugin, /plugins) | list, inspect <id>, install <dir|.zip|url>, remove <id> |
/config | Show or edit active chat configuration | — |
/permissions | Manage tool approval permissions | — |
/mode | Switch interaction mode | — |
/status | Show connection, model, and session info | context (live context ledger) |
Agents, Subagents & Workflows
| Command | Description | Common sub-arguments |
|---|---|---|
/agent | Show or switch the active agent | agent name |
/agents | List available server/remote agents | — |
/local-agent | Switch the active local agent | agent name |
/local-agents | List built-in and custom local agents | — |
/agent-chat | Start direct agent chat | — |
/subagents | List available subagents and active children | — |
/subagent-config | Wizard (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-breakdown | Inspect where a subagent's tokens came from (startup, skills, tools, results) | subagent id |
/workflow | Manage workflow teams, gates, and participant models (create opens guided wizard) | create (wizard), show, approve [gate], models, model, list, delete |
/roles | Wizard (bare): interactive menu to list, create, edit, delete, and assign roles | (bare = wizard) |
/role | Show or assign the active role | role name |
/skills | List available skills (built-in, user, and project) | — |
/ask | Ask a one-off question | question text |
/btw | Side question answered outside the conversation (never added to history) | question text |
Context, Memory, Recovery & Stores
| Command | Description | Common sub-arguments |
|---|---|---|
/history | Show conversation history | — |
/diffs | Recent session file diffs, newest first | [count] (default 20, range 1–100) |
/clear | Start a new conversation in the current process | — |
/reset (/restart) | Restart this session in a fresh process on the same terminal | — |
/reset-all | Restart every active CLI chat session | — |
/recover | Recover conversation journal: reload from disk, fork, or inspect | status, reload, fork |
/compact | Summarize conversation context to free tokens (guide) | [focus instruction], reviewed [prepare|<json>] (explicit scope retirement) |
/auto-compact | Configure automatic model-aware compaction (guide) | status, on, off, threshold <50%-95%>, reserve|context|output <tokens|auto> |
/memory | Inspect, search, or compact persistent memory | list, search, compact, status |
/recall | Recall matching entries from persistent memory | query |
/transcript | View the current session transcript | — |
/copy | Copy the latest assistant response to clipboard | — |
/conversations | List saved conversations | — |
/sessions | List active and recent sessions | — |
/title | Show or change the current session title | new title |
/resume | Browse and resume a previous session | session id |
/resume-all | Restore recent exited or crashed sessions | — |
/gc | Garbage-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-store | Manage remote archive/transcript blob stores (s3, filesystem, kompile-http) | status, setup, list, add, config, remove, test, sync |
Loops, Queues & Automation
| Command | Description | Common sub-arguments |
|---|---|---|
/loop | Schedule recurring prompts for this session | add, list, remove, pause, resume, clear |
/loop-global | Schedule recurring prompts across the project | add, list, remove, pause, resume, clear |
/loop-bounded | Recurring prompt that stops automatically after a count or duration bound | count/duration + prompt |
/loop-broadcast | Recurring message sent to every other active agent | interval + message |
/message-broadcast | Queue a one-shot message for every other active agent | message |
/continue | Auto-reply when an agent asks follow-up questions | on, off, status, text, reset |
/continue-trigger | Manage trigger keywords for /continue | list, add, remove, reset |
/reminder | Manage session-scoped prompt reminders (guide) | <text>, list, add, clear, interval <n|every n|off|reset> |
/reminder-global | Manage project-global prompt reminders (guide) | <text>, list, add, clear, interval <n|every n|off|reset> |
/queue | Add a message to the session's FIFO queue | <text> |
/queues | List queued messages with positions and 8-char IDs | — |
/queue-send | Send the next queued message (or a specific ID) when idle | [id] |
/queue-send-all | Drain all queued messages sequentially in order | — |
/queue-edit | Edit a queued message in place (or press ↑ on a blank prompt) | <id> <new text> |
/queue-move | Reorder a queued message to a 1-based position | <id> <position> |
/queue-remove | Remove one message from the queue | <id> |
/queue-clear | Clear all pending queued messages | — |
/queue-status | Show queue depth and auto-dequeue state | — |
/auto-dequeue | Toggle automatic draining of queued messages between turns | — |
Judge, Policy Enforcement & Hooks
| Command | Description | Common sub-arguments |
|---|---|---|
/judge | Wizard (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-global | Persistent master judge switch across sessions | on, off, status |
/rules | Show active judge policy rules | — |
/policy-enforce | Wizard (bare): staged editor for session policy items, audit trigger, and auditor | (bare = wizard), status, add, remove, on, off, run |
/policy-enforce-global | Wizard (bare): staged editor starting in project-wide scope | (bare = wizard), status, add, remove, on, off, trigger, auditor |
/hooks | Manage Claude-style tool hooks (.kompile/hooks.json / ~/.kompile/hooks.json) | list, add, edit, enable, disable, delete |
/gateway | Tool Gateway & Command Guardrails status, rules, hot-reload, and setup wizard (alias: /guardrails) | status, rules, reload, setup (wizard) |
/archive | List archived enforced turns | — |
/rollback | Roll back archived enforced turns | turn id |
/diff | Show an archived turn diff | turn id |
/purge | Purge session diff archive | — |
Dashboards, Cost, Resources & Processes
| Command | Description | Common sub-arguments |
|---|---|---|
/dashboard | Session 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, timeline | session:ID, topic filters |
/timeline | Session activity timeline (alias for /dashboard-timeline) | next, inspect:EVENT_ID, follow, stop |
/stats | Session metrics and token drill-down | tools [tool:NAME session:ID call:ID offset:N] |
/cost | Model requests, dollar cost, and quota windows (default 24h) | session, 24h, 7d, all, subagents, main, models, agents, vendors |
/usage | Vendor account credits, usage windows, and reset times | — |
/progress-reports | Print the last n agent progress reports (default 1) | [n] |
/progress-reports-subagents | Print the last n subagent progress reports | [n] |
/test-milestones | Recent session test milestones (auto-captured + agent-recorded) | — |
/eval | Inspect, 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> |
/perf | Model/agent performance harness leaderboard and recommendations (guide) | report [task], recommend [task], config, stats, reset --yes |
/activity | Show local work or live project-agent dashboard | clear, close |
/processes | Show managed background processes & subagents | — |
/process-monitors | List or cancel process exit monitors | list, cancel <id> |
/process-config | Background process timeouts and concurrency limits | show, enable, disable, set, unset, reset, exclude, test-pattern, global |
/process-logs (/process-log) | Browse, tail, page, search, or grep managed process & runtime logs | list, tail <id> [N], read <id> [offset] [limit], search <id> <text>, grep <id> <pattern>, project, global, runtime, subprocess, lsp |
/process-output | View output of a background process | process id |
/process-status | Show process or watcher status | process id |
/process-kill | Kill a running managed process | process id |
/jobs | List background jobs | — |
/jobs-remove | Remove a background job | job id |
/jobs-clear | Clear all background jobs | — |
/resources | Configure 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-monitor | Live per-chat CPU/RSS/GPU and managed subprocess controls | show, status, stop, kill <id> confirm, embeddings stop confirm |
Tools, RAG, Planning, UI & Passthrough
| Command | Description | Common sub-arguments |
|---|---|---|
/tool / /tools | Invoke or list MCP / server tools | tool name |
/local-tool / /local-tools | Invoke or list local CLI tools | tool name |
/mcp | Show or reconnect this session's MCP servers (Claude Code route) | status, reconnect |
/acp | Connect to and control external ACP v1 coding agents (guide) | status, presets, connect <preset|cmd>, mode [id], config [id val], sessions, disconnect |
/rag | Toggle or configure RAG retrieval | on, off, status |
/plan | Toggle plan mode (read-only exploration before edits) | on, off, status |
/todos | Inspect or mutate the session task list | done|cancel|reopen|start <id> |
/todos-ongoing | Show pending and in-progress tasks | — |
/todos-completed | Show completed tasks | — |
/todos-canceled | Show cancelled tasks | — |
/ui | Display wizard: layout, sidebar, and inline content routing | — |
/redraw | Repaint the entire TUI without clearing conversation history | — |
/statusbar | Toggle the bottom status bar | — |
/passthrough | Toggle passthrough mode | — |
/keys | Forward keystrokes directly to the wrapped agent | — |
/render | Show or set managed terminal render mode | — |
/forward | Forward a command directly to the wrapped agent | command |
/menu | Show interactive menu | — |
/image, /file, /attach | Attach an image or file to the next turn | file path |
/attachments | List 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.