DSCC
home / reference / slash-commands

Slash Commands Reference

All 31 slash commands. Registry: crates/commands/src/lib.rs:73–300. Parser: SlashCommand::parse() at commands/lib.rs:376–462. “Resume” means safe to run inside a resumed session without a live model turn.

Name Aliases Args Category Resume Purpose Cite
/help — — Core ✓ List commands commands/lib.rs:75
/status — — Core ✓ Session context, cost summary commands/lib.rs:82
/compact — — Core ✓ Compact history (handler at 1756) commands/lib.rs:91
/model — [model] Core ✗ Show or switch model commands/lib.rs:99
/permissions — [mode] Core ✗ Show or switch permission mode commands/lib.rs:107
/clear — [--confirm] Session ✓ Erase local session commands/lib.rs:115
/cost — — Core ✓ Token usage summary commands/lib.rs:123
/resume — <path> Session ✗ Load a saved session commands/lib.rs:131
/config — [env|hooks|model|plugins] Workspace ✓ Inspect loaded config commands/lib.rs:139
/memory — — Workspace ✓ List instruction memory files commands/lib.rs:147
/init — — Workspace ✓ Create starter DSCC.md commands/lib.rs:155
/diff — — Workspace ✓ Git diff commands/lib.rs:163
/version — — Workspace ✓ Version info commands/lib.rs:171
/bughunter — [scope] Automation ✗ Scan for bugs commands/lib.rs:179
/branch — [list|create NAME|switch NAME] Git ✗ Manage branches commands/lib.rs:187
/worktree — [list|add PATH [BRANCH]|remove PATH|prune] Git ✗ Manage worktrees commands/lib.rs:195
/commit — — Git ✗ Generate and create commit commands/lib.rs:203
/commit-push-pr — [context] Git ✗ Commit, push, open PR commands/lib.rs:211
/pr — [context] Git ✗ Draft PR commands/lib.rs:219
/issue — [context] Git ✗ Draft GitHub issue commands/lib.rs:227
/ultraplan — [task] Automation ✗ Deep planning commands/lib.rs:235
/teleport — <symbol-or-path> Workspace ✗ Jump to symbol or file commands/lib.rs:243
/debug-tool-call — — Automation ✗ Replay last tool call commands/lib.rs:251
/export — [file] Session ✓ Export conversation commands/lib.rs:259
/session — [list|switch <id>] Session ✗ Manage saved sessions commands/lib.rs:267
/plugin /plugins, /marketplace [list|install PATH|enable NAME|disable NAME|uninstall ID|update ID] Automation ✗ Plugin lifecycle commands/lib.rs:275
/agents — — Automation ✓ List agents commands/lib.rs:285
/skills — — Automation ✓ List skills commands/lib.rs:293

Handler location

Handler lives in Commands
crates/commands/src/lib.rs (in-library) /compact, /help, /plugin (692–801), /branch (835–872), /worktree (874–927), /commit (929–954), /commit-push-pr (955–1060), /agents (803–814), /skills (815–825)
CLI / client (command returns None, dispatcher handles it) all others