Skip to main content

Slash Commands

Type / in the chat input to run a command. Slash commands are a fast way to open help, run a saved prompt, invoke a skill, or switch models -- without leaving the keyboard. They are a frontend convenience: /help and /model are UI actions, and /prompt / /skill expand into ordinary, editable message text before you send, so the underlying chat behavior is unchanged.

Built-in commands

CommandWhat it does
/helpOpen a searchable portal of every available command.
/prompt <template> [args...]Expand a Prompt Template into the input.
/skill <skill> [args...]Build an Agent Skill invocation in the input.
/model <name> (alias /m)Switch the active model.

A leading / is treated as a command only when its first word matches a known command. A path such as /Users/me/file.md is sent as a normal message.

Completion

As you type, ChatWalaʻau offers inline ghost text plus a candidate dropdown:

  • Type / for command suggestions.
  • After /model it completes model names; after /skill it completes skill names.
  • Type @ anywhere to reference a workspace file -- completions come from your coding workspace.

Press Tab (or the Right-arrow) to accept the highlighted suggestion, Up/Down to move through the list, and Esc to dismiss it.

@file references

@file completion lists files inside your configured coding workspace. It is available only when CODING_ENABLED is on, and every path is confined to CODING_WORKSPACE_DIR -- the same boundary the coding tools enforce.

Dynamic arguments

Prompt Templates and Skills can use placeholders, filled from the text you type after the command:

  • $1, $2, ${N} -- positional arguments. Wrap a value in "double quotes" to keep spaces together.
  • $ARGUMENTS -- everything you typed after the command word, verbatim.
  • $$ or \$ -- a literal dollar sign. A missing positional becomes empty.

Example -- a template whose body is:

Summarize $1 in $2 words. Context: $ARGUMENTS

run as /<template> "Q3 report" 100 expands to:

Summarize Q3 report in 100 words. Context: "Q3 report" 100

Templates as commands

Any Prompt Template can become a command. In the template editor, set the optional Slash command field (leave it blank to use the template's name). The template then appears in /help and is runnable directly as /<your-command>.

Configuration

Slash commands work out of the box -- no setup required. Operators who want to add or relabel commands can provide an optional JSONC registry file via COMMANDS_CONFIG_FILE (default commands.jsonc); it falls back to a bundled default. @file reuses the existing CODING_ENABLED / CODING_WORKSPACE_DIR settings.