When you’re chatting with an agent, you can use special slash commands to control your session, view information, and configure your agent. All commands start withDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/lvndry/jazz/llms.txt
Use this file to discover all available pages before exploring further.
/ and can be typed at any point during your conversation.
Quick reference
Type/help during any chat session to see the full list of available commands.
Session management
/new
Start a new conversation and clear the context.- Generates a new conversation ID
- Clears all conversation history
- Keeps the system prompt and agent configuration
- Resets token usage tracking
/fork
Fork the conversation into a new branch from the last message.- Creates a new conversation ID
- Keeps only the system prompt and last user message
- Clears all intermediate conversation history
- Allows you to explore a different approach to your most recent question
/clear
Clear the terminal screen./exit
Exit the chat session.Ctrl+C to exit.
Agent management
/agents
List all available agents.- Agent name and ID
- Description (if configured)
- Model and provider
- Reasoning effort level
- Current agent indicator
/switch
Switch to a different agent in the same conversation./switch without arguments to see an interactive agent picker.
Examples:
- Conversation history is preserved
- The new agent can see all previous messages
- Tool availability changes based on the new agent’s configuration
Configuration
/model
Show or change the model and reasoning effort.low- Faster responses, less thoroughmedium- Balanced speed and qualityhigh- Slower responses, more thoroughdisable- No extended reasoning
/config
Show or modify agent configuration./config tools subcommand opens an interactive checkbox interface where you can enable or disable tools for the current agent.
/mode
Switch between tool approval modes.- safe - Require approval for every tool call (default)
- yolo - Auto-approve all tool calls
/mode allow persist only for the current session.
Information and monitoring
/tools
List all tools available to the current agent, organized by category.- Tools grouped by category (File System, Git, Web, etc.)
- Total tool count
- Web search provider (if configured)
/skills
List all available skills.- Built-in - Skills shipped with Jazz
- Global - Skills in
~/.jazz/skills/ - Agents - Skills in
~/.agents/skills/ - Local - Skills in
./skills/
/workflows
List available workflows.- Workflow name and description
- Schedule (if configured)
- Assigned agent (if configured)
- Workflows grouped by source (local, global, built-in)
/workflows create.
/context
Show context window usage and token breakdown.- Visual grid showing context usage
- Model and provider
- Total tokens used vs. available
- Breakdown by category:
- System prompt
- System tools
- Skills
- Messages
- Free space
- Autocompact buffer (16.5% reserved)
Token estimates are approximate and based on the 4-character-per-token heuristic. Actual token counts may vary by model.
/cost
Show token usage and estimated cost for the current conversation.- Input tokens used
- Output tokens used
- Total tokens
- Pricing per million tokens (from models.dev)
- Estimated cost breakdown (input, output, total)
/new command).
/stats
Show session statistics and usage summary.- Current agent name and ID
- Model and provider
- Reasoning effort level
- Tool count
- Working directory
- Session duration
- Message count
- Token usage (input, output, total)
- Estimated cost
/mcp
Show MCP server status and connections.- Connection status (connected/disconnected)
- Enabled/disabled state
- Transport type (stdio/http)
- Command or URL
~/.agents/mcp.json.
Context optimization
/compact
Summarize conversation history to save tokens.- Requires at least 5 messages in history
- Keeps the system prompt
- Summarizes all other messages into a single high-density summary
- Preserves key information while reducing token usage
- Uses the agent’s LLM to generate the summary
- Reads all messages from conversation history
- Analyzes content and extracts key information
- Generates a high-density summary
- Replaces history with system prompt + summary
Jazz automatically compacts context when usage reaches the autocompact buffer threshold (83.5% of context window).
Utilities
/copy
Copy the last agent response to clipboard.pbcopy (macOS) or equivalent clipboard tool.
/help
Show available commands with descriptions.Command conventions
- All commands start with
/ - Commands are case-insensitive (
/NEWworks the same as/new) - Arguments are space-separated
- Multi-word arguments are joined (e.g.,
/switch my agent name) - Unknown commands show an error and suggest
/help
Tips
- Use
/contextto monitor token usage before running expensive operations - Use
/compactwhen approaching context limits to continue long conversations - Use
/forkto explore alternative approaches without losing your main conversation - Use
/mode allow <prefix>to auto-approve repetitive safe commands - Use
/statsto track session duration and costs - Use
/switchto change agents mid-conversation while preserving context