# TUI slash commands

All 49 slash commands and the key bindings of the Belai terminal UI.

Slash commands you type in the Belai terminal UI. Type `/` to see them with completion; `/help` lists them in the app.

| Command | What it does | Explained in |
|---|---|---|
| <span id="add-dir"></span>`/add-dir` | add a directory to the current workspace | [Built-in tools](/software-factory/belai/tools.md) |
| <span id="agent"></span>`/agent` | pick an agent profile or manage background agents | [Agents and agent profiles](/software-factory/workforce/agents.md) |
| <span id="agents"></span>`/agents` | live agents, workers, profiles and the audit trail | [Agents and agent profiles](/software-factory/workforce/agents.md) |
| <span id="budgets"></span>`/budgets` | manage token budgets per provider and model | [Token budgets and session intelligence](/software-factory/belai/token-budgets.md) |
| <span id="clear"></span>`/clear` | start a new session | [Sessions: resume, export, compact and rename](/software-factory/belai/sessions.md) |
| <span id="commands"></span>`/commands` | list custom slash commands; /<name> runs one | [The library: skills, prompts, commands, processes, repos and more](/software-factory/workforce/library.md) |
| <span id="compact"></span>`/compact` | summarise the session into a new one | [Sessions: resume, export, compact and rename](/software-factory/belai/sessions.md) |
| <span id="crew"></span>`/crew` | the crew control room: a crew run's workers, cards, providers, scope, faults and audit | [Crews](/software-factory/workforce/crews.md) |
| <span id="diff"></span>`/diff` | read-only pane of the working tree's changes: staged, unstaged and untracked, per-file hunks | [Built-in tools](/software-factory/belai/tools.md) |
| <span id="execute"></span>`/execute` | leave plan mode and execute the plan | [Modes, plan mode and goals](/software-factory/belai/modes-and-plans.md) |
| <span id="exit"></span>`/exit` | quit and print the resume card | [Sessions: resume, export, compact and rename](/software-factory/belai/sessions.md) |
| <span id="export"></span>`/export` | export this session (or one by id) as Markdown | [Sessions: resume, export, compact and rename](/software-factory/belai/sessions.md) |
| <span id="firewall"></span>`/firewall` | configure the AI Firewall | [Package and AI firewalls on factory work](/software-factory/evidence/firewalls.md) |
| <span id="fleet"></span>`/fleet` | kanban worker agents: start, stop and watch them | [Hosts and placement](/software-factory/workforce/hosts-and-placement.md) |
| <span id="gitsync"></span>`/gitsync` | rebase the branch onto origin's default branch before turns: on, off, or global on\|off | [Git sync and repository info](/software-factory/belai/git.md) |
| <span id="handoff"></span>`/handoff` | execute a plan file directly: /handoff <plan file path> [extra direction] | [Modes, plan mode and goals](/software-factory/belai/modes-and-plans.md) |
| <span id="help"></span>`/help` | browse commands and keyboard shortcuts in a scrollable screen | [The terminal UI](/software-factory/belai/tui.md) |
| <span id="inbox"></span>`/inbox` | cards waiting on you: flow checkpoints, cards assigned to a person, blocked cards | [Agent questions, answers and permission offers](/software-factory/workforce/questions-and-permissions.md) |
| <span id="intel"></span>`/intel` | session intelligence: plan limits, pace, trend, runway and usage over time (f12 opens the pane) | [Token budgets and session intelligence](/software-factory/belai/token-budgets.md) |
| <span id="kanban"></span>`/kanban` | view and manage the global kanban board; /kanban K-xxxxxx opens on one item | [The board](/software-factory/workforce/board.md) |
| <span id="knowledge"></span>`/knowledge` | browse and search indexed knowledge: this project, every project, the agents | [Knowledge](/software-factory/workforce/knowledge.md) |
| <span id="locate"></span>`/locate` | list the files explore locate may look at and where it would send its questions (/locate --dry-run) | [Built-in tools](/software-factory/belai/tools.md) |
| <span id="lsp"></span>`/lsp` | manage language-server diagnostics; /lsp on\|off [language] switches this session | [Language servers](/software-factory/belai/lsp.md) |
| <span id="mcp"></span>`/mcp` | manage MCP servers (built-in switches, local and remote servers, secrets); /mcp list, /mcp restart <name> | [MCP servers](/software-factory/belai/mcp.md) |
| <span id="mode"></span>`/mode` | show or set operating mode | [Modes, plan mode and goals](/software-factory/belai/modes-and-plans.md) |
| <span id="model"></span>`/model` | pick provider and model for each role; /model <provider> <model> [effort] switches this session | [Choosing providers and models](/software-factory/belai/models.md) |
| <span id="paste-image"></span>`/paste-image` | attach the image on the clipboard | [Built-in tools](/software-factory/belai/tools.md) |
| <span id="permissions"></span>`/permissions` | edit tool permissions | [Agent questions, answers and permission offers](/software-factory/workforce/questions-and-permissions.md) |
| <span id="plugin"></span>`/plugin` | list, enable, disable or remove plugins (install with belai plugin install) | [Plugins](/software-factory/belai/plugins.md) |
| <span id="processes"></span>`/processes` | manage the process library | [The library: skills, prompts, commands, processes, repos and more](/software-factory/workforce/library.md) |
| <span id="profile"></span>`/profile` | switch agent profile | [Agents and agent profiles](/software-factory/workforce/agents.md) |
| <span id="prompts"></span>`/prompts` | manage the prompt library | [The library: skills, prompts, commands, processes, repos and more](/software-factory/workforce/library.md) |
| <span id="providers"></span>`/providers` | manage providers, credentials and local models | [Providers, keys and secrets](/software-factory/workforce/providers-and-keys.md) |
| <span id="rc"></span>`/rc` | remote control: let the Vulnesis website start and drive Belai sessions on this machine | [Remote control and connected hosts](/software-factory/workforce/remote-control.md) |
| <span id="refine"></span>`/refine` | refine the extracted plan | [Modes, plan mode and goals](/software-factory/belai/modes-and-plans.md) |
| <span id="rename"></span>`/rename` | rename this session | [Sessions: resume, export, compact and rename](/software-factory/belai/sessions.md) |
| <span id="resume"></span>`/resume` | resume a session by id or browse sessions on disk | [Sessions: resume, export, compact and rename](/software-factory/belai/sessions.md) |
| <span id="sandbox"></span>`/sandbox` | show the OS sandbox status and policy for commands | [Guardrails, classifier, sandbox and trust](/software-factory/belai/guardrails.md) |
| <span id="settings"></span>`/settings` | view and edit settings | [The terminal UI](/software-factory/belai/tui.md) |
| <span id="skills"></span>`/skills` | list installed skills | [The library: skills, prompts, commands, processes, repos and more](/software-factory/workforce/library.md) |
| <span id="sync"></span>`/sync` | show or change session sync to the Vulnesis website | [Session sync and object storage](/software-factory/workforce/session-sync.md) |
| <span id="todos"></span>`/todos` | show plan progress | [The board](/software-factory/workforce/board.md) |
| <span id="tree"></span>`/tree` | browse the session as a tree, continue from an earlier point or fork a branch | [Sessions: resume, export, compact and rename](/software-factory/belai/sessions.md) |
| <span id="trusted"></span>`/trusted` | manage trusted directories, the ones remote control offers | [Guardrails, classifier, sandbox and trust](/software-factory/belai/guardrails.md) |
| <span id="tts"></span>`/tts` | read replies aloud: on, off, stop, voice, speed, cache | [Voice input and speech](/software-factory/belai/voice-and-tts.md) |
| <span id="voice"></span>`/voice` | speech input: dictate into the composer with a hold-to-talk key or always listening | [Voice input and speech](/software-factory/belai/voice-and-tts.md) |
| <span id="vulnetix"></span>`/vulnetix` | Vulnesis code review and firewall | [Vulnesis scanning inside sessions](/software-factory/belai/vulnetix.md) |
| <span id="welcome"></span>`/welcome` | reopen the Getting started guide | [The terminal UI](/software-factory/belai/tui.md) |
| <span id="yolo"></span>`/yolo` | toggle guardrails and ask together | [Modes, plan mode and goals](/software-factory/belai/modes-and-plans.md) |

## Keys

Key bindings the TUI handles. What each one does depends on the view; see [The terminal UI](/software-factory/belai/tui.md).

`ctrl+b`, `ctrl+c`, `ctrl+d`, `ctrl+end`, `ctrl+g`, `ctrl+home`, `ctrl+j`, `ctrl+l`, `ctrl+o`, `ctrl+p`, `ctrl+q`, `ctrl+r`, `ctrl+s`, `ctrl+space`, `ctrl+t`, `ctrl+u`, `ctrl+v`, `ctrl+x`, `ctrl+y`, `f1`, `f10`, `f11`, `f12`, `f2`, `f3`, `f4`, `f5`, `f6`, `f7`, `f8`, `f9`, `shift+down`, `shift+left`, `shift+right`, `shift+tab`, `shift+up`
