Commands
ClaudeControl provides a command input for sending Claude Code slash commands directly to agents.
Using Commands
- Click the Terminal icon (
>_) in the chat toolbar - A command input appears with autocomplete suggestions
- Type or select a command
- Press Enter to send, Esc to cancel
Keyboard Shortcuts
| Key | Action |
|---|---|
| Tab | Complete selected suggestion |
| Arrow Up/Down | Navigate suggestions |
| Enter | Send command |
| Esc | Close command input |
Available Commands
| Command | Description |
|---|---|
/compact | Compress conversation context (SDK native) |
/cost | Show session cost summary |
/model | Change the AI model |
/effort | Change effort level |
/memory | Manage AI memories |
/review | Review code changes |
/clear | Clear conversation |
/status | Show session status |
/help | Show available commands |
/init | Initialize project context |
/config | Show 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.