Skip to content

Commands

ClaudeControl provides a command input for sending Claude Code slash commands directly to agents.

Using Commands

  1. Click the Terminal icon (>_) in the chat toolbar
  2. A command input appears with autocomplete suggestions
  3. Type or select a command
  4. Press Enter to send, Esc to cancel

Keyboard Shortcuts

KeyAction
TabComplete selected suggestion
Arrow Up/DownNavigate suggestions
EnterSend command
EscClose command input

Available Commands

CommandDescription
/compactCompress conversation context (SDK native)
/costShow session cost summary
/modelChange the AI model
/effortChange effort level
/memoryManage AI memories
/reviewReview code changes
/clearClear conversation
/statusShow session status
/helpShow available commands
/initInitialize project context
/configShow configuration

Compact Shortcut

The compress icon (next to the Terminal button) triggers /compact with a single click — no need to open the command input.

How It Works

Commands are sent via POST /api/agents/:id/command:

json
{ "command": "/compact" }

The backend sends the command as a prompt to the Claude Code SDK using resume: sessionId, so the command executes within the agent's existing session context.

Custom Commands

Any text starting with / is accepted. If Claude Code recognizes it as a slash command, it executes. Otherwise, it's treated as a regular prompt.

Released under the MIT License.