Skip to content
titah

Using Titah

Commands & palette

Built-in slash commands, your own templates, and the rule that stops a pasted path being read as a command.

Built-in commands

CommandWhat it does
/modelSwitch the model for this session (TUI only)
/agentSwitch the agent for this session (TUI only)
/sessionList saved sessions, newest first, current one marked (TUI only)
/newStart a fresh session in the same directory (TUI only)
/skillInsert a skill into your prompt (TUI only)
/consensus <prompt>Fan one question out to every available external agent
/tim <task>Split work across your configured sub-agents
/compact [focus]Summarise the conversation now
/skillsThe skill catalogue, per namespace, with conflicts and unresolved ids
/agentsEvery configured agent and its mode
/commandsEvery command, built-in and custom
/loginSign in to your Titah account in the browser
/logoutSign out this machine
/accountShow which account this machine is signed in as
/exitQuit Titah

These cannot be overridden, because they change the execution flow rather than merely expanding a prompt.

!!! note “There is no /undo” Undo is a key and a CLI command, not a slash command: Ctrl+X U in the TUI, or titah undo from a shell. See Permissions & undo.

Custom commands

{
  "command": {
    "review": {
      "template": "Review the code in {{.Input}} and suggest improvements",
      "description": "Quick code review",
      "agent": "explore"
    },
    "commitmsg": {
      "template": "Write a conventional-commit message for the staged diff. $ARGUMENTS",
      "description": "Draft a commit message"
    }
  }
}

Call it with /review src/core/agent.ts.

  • template — the prompt. {{.Input}} is the placeholder, following opencode; Claude Code’s $ARGUMENTS is accepted too.
  • description — what shows in the palette and in /commands.
  • agent — optionally run this command as a specific agent.

A custom command is a prompt expansion. It cannot add a tool, change a permission, or reach anything the model could not already reach.

Pasted paths are not commands

A command name must be followed by whitespace or the end of the line. Pasting an absolute path like /home/user/notes.md into a prompt is therefore never misread as a command — and the / popup only triggers at the start of a word, for the same reason.

The palette

Ctrl+P opens it with nothing typed. Commands that need no arguments run immediately on selection; ones with sub-options drill into a second menu; ones that take free-text arguments are inserted into your prompt so you can type the argument.

See The TUI for the full key list.