Slash Commands

All built-in slash commands available in the Hanzo Dev TUI.

Hanzo Dev supports slash commands in the TUI composer. Commands are shown in the slash popup; the order below matches the UI. Commands marked "prompt-expanding" transform your input into a full prompt and typically kick off multi-agent flows.

  • /browser: open internal browser.
  • /chrome: connect to your Chrome browser.
  • /new: start a new chat during a conversation.
  • /resume: resume a past session for this folder.
  • /rename <name>: rename the current session (shown in the resume list).
  • /quit: exit Hanzo Dev.
  • /logout: log out.
  • /login: manage sign-ins (select, add, or disconnect accounts).
  • /settings [section]: open the settings panel. Optional section argument jumps directly to model, theme, agents, skills, auto, review, validation, limits, chrome, mcp, or notifications.

Workspace and Git

  • /init: create an AGENTS.md file with instructions for Hanzo Dev.
  • /diff: show git diff (including untracked files).
  • /undo: open a snapshot picker so you can restore workspace files to a previous snapshot and optionally rewind the conversation.
  • /branch [task]: create a worktree branch and switch to it. If a task/description is provided, it is used when naming the branch. Must be run from the repository root (not inside another branch worktree). Set CODE_BRANCH_COPY_CACHES=1 to mirror node_modules and Rust build caches into the worktree.
  • /merge: merge the current worktree branch back into the default branch and remove the worktree. Run this from inside the worktree created by /branch.
  • /push: tell Hanzo Dev to commit, push, and monitor workflows with guarded instructions. If no workflows appear right away, it waits briefly before concluding none were triggered. Skips cleanup or GitHub monitoring steps automatically when the workspace is already clean or required tooling/files are missing.
  • /review [focus]: without arguments, opens a review picker so you can audit the workspace, a specific commit, compare against another branch, or enter custom instructions. With a focus argument, skips the picker and uses your text directly. Configure Auto Resolve and max re-reviews (defaults to 5) from /settings review.
  • /cloud: browse Cloud tasks, view details, apply patches, and create new tasks from the TUI.
  • /cmd <name>: run a project command defined for the current workspace.

UX and Display

  • /theme: customize the app theme.
  • /verbosity (high|medium|low): change text verbosity.
  • /model [name]: choose your active model (or pass a model slug such as /model zen5 or /model enso-auto directly).
  • /fast [on|off|status]: toggle Fast mode (priority service tier) for the active model (enso-auto fast in the status bar). Supported across all Hanzo catalog models.
  • /feedback: send a bug report, bad result, or other feedback directly to Hanzo telemetry (POST /v1/event), optionally including session logs.
  • /reasoning (minimal|low|medium|high): change reasoning effort.
  • /prompts: manage custom prompts.
  • /skills: manage skills.
  • /status: show current session configuration and token usage.
  • /limits: adjust session limits and visualize hourly and weekly rate-limit usage.
  • /update: check the installed version, detect available upgrades, and open a guided upgrade terminal.
  • /notifications [status|on|off]: manage notification settings. Without arguments, shows the notifications panel. status shows current config, on enables all, off disables all.
  • /mcp [status|on|off <name>|add]: manage MCP servers. Without arguments, shows all servers with toggle controls. status lists servers, on <name> enables, off <name> disables, add starts the new server workflow.
  • /validation [status|on|off|<tool> (on|off)]: inspect or toggle validation harness settings.

Search and Mentions

  • /mention: mention a file (opens the file search for quick insertion).

Performance and Agents

  • /perf (on|off|show|reset): performance tracing controls.
  • /agents: configure agents and subagent commands (including autonomous follow-ups and observer status; available in dev, dev-fast, and perf builds).
  • /auto [goal]: start the maintainer-style auto coordinator. If no goal is provided, it defaults to "review the git log for recent changes and come up with sensible follow up work".

Prompt-Expanding (Multi-Agent)

These commands expand into full prompts and start multiple agents. They require a task/problem description.

  • /plan <task>: create a comprehensive plan (multiple agents). Prompt-expanding.
  • /solve <problem>: solve a challenging problem (multiple agents). Prompt-expanding.
  • /code <task>: perform a coding task (multiple agents). Prompt-expanding.

Development-Only

  • /demo: populate the chat history with assorted sample cells (available in dev and perf builds for UI testing).
  • /demo auto drive card: render the Auto Drive card once for each ANSI-16 background color so you can compare theme contrast.
  • /test-approval: test approval request (available in debug builds only).

Configuration Notes

When no custom [[agents]] are configured, multi-agent commands (/plan, /solve, /code) route through Hanzo's model catalog (enso-auto, zen5, zen5-pro, zen5-max, zen5-ultra, zen5-mini, and frontier models served on https://api.hanzo.ai/v1). You can pin specific models via [[agents]] or per-command [[subagents.commands]].agents in ~/.hanzo/dev/config.toml.

Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.
Last updated Nov 23, 2026