DSCC
home / guides / slash-commands

Slash Commands

Slash commands are typed into the REPL starting with /. The full registry is a compile-time static array SLASH_COMMAND_SPECS at crates/commands/src/lib.rs:73–300, parsed by SlashCommand::parse() (commands/lib.rs:376–462).

Categories

Defined at crates/commands/src/lib.rs:43–60.

Category Examples
Core /help, /model, /vim, /clear
Workspace /permissions, /add-dir
Session /session, /resume, /export, /compact
Git /branch, /worktree
Automation /plugin, custom hooks

Discovery

Method Action
/help List all commands grouped by category
Tab in REPL Cycle completion over known commands (input.rs:689–746)
docs/reference/slash-commands.md Full table with arguments

Argument styles

Aliases

Both /plugins and /marketplace map to /plugin. Other commands have no aliases.

See also