Skip to content

Slash Command Reference

All slash commands available in Datus-CLI, grouped by category.

Session

Command Aliases Description
/help Display help for all slash commands
/exit /quit Exit the CLI
/clear Clear console and chat session
/chat_info Show current chat session information
/compact Compact chat session by summarizing history
/resume List and resume a previous chat session
/rewind Rewind current session to a specific turn

Metadata

Command Description
/databases List all databases
/database Switch the current database
/tables List all tables
/schemas List all schemas or show schema details
/schema Switch the current schema
/table_schema Show table field details
/indexes Show indexes for a table

Context

Command Description
/catalog Display database catalog explorer
/subject Display semantic models, metrics, and references

Agents

Command Description
/agent Open the unified agent manager (built-in overrides / default). /agent <name> still sets the default directly.
/subagent Open the unified agent manager, seeded on the Custom tab
/datasource Switch the current datasource
/language Pin the response language for every agentic node (Language Command)

System

Command Aliases Description Details
/model /models Switch LLM provider/model at runtime Model Command
/effort Set reasoning effort level (off/minimal/low/medium/high) Effort Command
/init Generate AGENTS.md for the current project (uses the active LLM) Init Command
/mcp Manage MCP servers (list/add/remove/check/call/filter) MCP Extensions
/skill Manage skills and marketplace Skill Command
/bootstrap-bi Extract BI dashboard assets for sub-agent context
/services List configured service platforms and their read-only methods
/profile Switch the active CLI / agent profile