Chat Commands
All interactive slash commands available during a supyagent chat session.
Chat Commands
When chatting with an agent via supyagent chat, you can use slash commands to manage sessions, inspect tools, control debugging, and more. Type /help to see the full list at any time.
Command Reference
| Command | Aliases | Description |
|---|---|---|
/help | /h, /? | Show all available commands |
/image [path] [message] | Send an image with an optional text message | |
/tools | List all available tools with descriptions and sources | |
/creds [action] | Manage credentials: list, set, delete | |
/sessions | List all sessions for the current agent | |
/session [id] | Switch to a different session | |
/new | Start a new session | |
/delete [id] | Delete a session (defaults to current) | |
/rename [title] | Set a display title for the current session | |
/history [n] | Show last n messages (default: 10) | |
/context | Show context window usage and summarization status | |
/tokens | Toggle token usage display on/off | |
/debug [on|off] | Toggle verbose debug mode | |
/summarize | Force context summarization now | |
/export [path] | Export conversation to markdown file | |
/model [name] | Show current model or switch to a new one | |
/reload | Reload tools from supypowers and service | |
/clear | Clear the screen | |
/quit | /q, /exit | Exit the chat |
Command Details
/help
/helpDisplays all available slash commands with brief descriptions. This is the same list shown above.
/image
/image /path/to/screenshot.png What's wrong with this UI?
/image ./diagram.pngSends an image to the agent along with an optional text message. The image is encoded and sent as multimodal content. Supports PNG, JPG, GIF, and WebP formats.
The path argument supports tab completion in the terminal.
/tools
/toolsLists all tools available to the agent, grouped by source:
- supypower -- Tools from Python scripts in
powers/ - remote -- Service tools from connected integrations (Gmail, Slack, etc.)
- native -- Built-in tools (delegation, process management, credentials, memory)
Each tool shows its name and a brief description.
/creds
/creds list # List stored credentials for this agent
/creds set API_KEY # Set a credential value (prompted securely)
/creds delete API_KEY # Remove a stored credentialManages per-agent credentials stored encrypted in .supyagent/credentials/{agent}.enc. Credentials are made available as environment variables to tool execution.
/sessions
/sessionsLists all sessions for the current agent with:
- Session ID
- Creation date
- Message count
- Display title (if set with
/rename)
/session
/session a1b2c3d4Switches to a different session. The conversation history, context summary, and all state are loaded from the target session. The previous session is preserved.
/new
/newStarts a fresh session. The current session is preserved and can be resumed later with /session.
/delete
/delete # Delete the current session
/delete a1b2c3d4 # Delete a specific sessionPermanently removes a session and its associated files (JSONL, summary, media).
/rename
/rename My refactoring projectSets a human-readable title for the current session. Titles appear in the /sessions list for easier identification.
/history
/history # Show last 10 messages
/history 5 # Show last 5 messages
/history 20 # Show last 20 messagesDisplays recent conversation messages with their role (user, assistant, tool) and content. Tool calls show the tool name and a summary of the result.
/context
/contextShows the current state of context management:
- Messages since last summary -- Count and threshold (e.g.,
12 / 30) - Total tokens -- Count and threshold (e.g.,
45,000 / 128,000) - Progress bars -- Visual percentage toward each trigger
- Will trigger -- Whether summarization will trigger on the next turn
This is useful for understanding how close you are to a summarization event and how much of the context window is being used.
/tokens
/tokensToggles the display of token usage after each response. When enabled, you see the input tokens, output tokens, and total for each LLM call.
/debug
/debug # Toggle debug mode
/debug on # Enable debug mode
/debug off # Disable debug modeDebug mode shows verbose output including:
- Raw LLM requests and responses
- Tool call arguments and results
- Context window calculations
- Retry and fallback events
/summarize
/summarizeForces context summarization immediately, regardless of whether the thresholds have been reached. Useful when you know the conversation is about to shift topics and you want to capture the current state.
The generated summary is a structured state snapshot covering files modified, key decisions, important values, current state, and pending tasks.
/export
/export # Export to default filename
/export conversation.md # Export to specific fileExports the current conversation to a Markdown file. The export includes:
- User messages
- Assistant responses (rendered as Markdown)
- Tool calls with names and results
The path argument supports tab completion.
/model
/model # Show current model
/model openai/gpt-4o # Switch to GPT-4o
/model anthropic/claude-sonnet-4-5-20250929 # Switch to ClaudeWithout arguments, shows the current model. With an argument, switches to the specified model for the remainder of the session. This does not modify the YAML config file.
/reload
/reloadReloads tools from supypowers and any connected service integrations. Useful after:
- Creating new tool scripts in
powers/ - Connecting new integrations via
supyagent connect - Modifying existing tool scripts
Displays the new tool count after reloading.
/clear
/clearClears the terminal screen. Does not affect conversation history.
/quit
/quitExits the chat session. The session is automatically saved and can be resumed later.
Tab Completion
The chat input supports tab completion for:
- Slash commands -- Type
/and press Tab to see all commands with descriptions - File paths -- After
/imageor/export, Tab completes file paths - Credential actions -- After
/creds, Tab completeslist,set,delete - Debug options -- After
/debug, Tab completeson,off - @-path references -- Type
@followed by a path fragment and Tab to complete
Input Features
- Command history -- Up/Down arrows navigate through previous inputs
- History search -- Ctrl+R searches through input history
- Syntax highlighting -- Slash commands are highlighted in green, @-paths in blue
- Auto-suggest -- Ghost text from history appears as you type
Related
- Sessions -- Session persistence and context management details
- Quickstart -- Getting started with chat
- Tool Permissions -- What tools are available