the full / command reference
Slash commands
#Type / after a space anywhere in the composer to open the live command palette; filter as you type, ↑/↓ to select, Enter to run. This is the complete discoverable full-screen TUI surface; classic and editor clients advertise only the commands they can execute.
- /help — list available commands. Aliases:
/?,/commands. - /keys — keyboard shortcuts cheatsheet. Aliases:
/shortcuts,/cheatsheet. - /docs — in-app how-to guides. Aliases:
/doc,/guide. - /new — start a new session. Aliases:
/session. - /branch [NAME] — continue in a new chat, leaving this one as it stands. Aliases:
/fork. - /resume — reopen a past session · ^D deletes one.
- /history — search & recall a past prompt. Aliases:
/hist. - /jump — jump the transcript to a past turn.
- /rewind — restore code + conversation to a past turn.
- /model [NAME] — switch the model.
- /connect [ENGINE|PRESET|URL] — pick a subscription, a provider, or a custom host.
- /subagent [SETTING…] — configure sub-agent model, host, transport, or inheritance.
- /mode [MODE] — permission mode: default · acceptEdits · plan · auto.
- /plan [TASK] — enter read-only mode and plan a task.
- /review [OPTIONS] [FOCUS] — review changes for bugs and regressions.
- /view-plan — reopen the plan saved in plan mode. Aliases:
/plan-view,/viewplan. - /think [LEVEL] — how hard the model reasons: off · low · medium · high · xhigh.
- /ultra [on|off] — extended reasoning + proactive bounded parallel agents.
- /thoughts — show or hide the model's thinking in the transcript. Aliases:
/reasoning,/reason. - /preserve-thinking [on|off] — keep prior-turn reasoning in context (compatible hosts). Aliases:
/preserve-reasoning. - /code-action [on|off] — persistent
pythonpower tool: run code across calls. Aliases:/codeaction,/python-tool. - /autonomous-gate [CMD|off] — a check command a native turn must pass (exit 0) before it may stop. Aliases:
/auto-gate. - /expand — expand the last collapsed tool output.
- /recall — read the earlier conversation a compaction summarised away. Aliases:
/earlier. - /expandall — expand every collapsed tool output.
- /files [PATH] — browse, pick, and manage files in the focus pane while the agent works.
- /diff [PATH] — every changed file with its line counts and diff, live; select lines for your next prompt.
- /eta [stats] — how long the running turn still needs · /eta stats shows calibration.
- /notify [on|off] — ping when this turn finishes · /notify on|off keeps it on.
- /monitors [stop ID|all · wake on|off · show ID] — list, stop, or pause wake-ups from background monitors.
- /copy [all|code|N] — copy the last reply to your clipboard (all · code · N).
- /select — drag-select mode — releases the mouse to your terminal. Aliases:
/selection. - /mouse [on|off] — remember whether DGC captures the mouse (on · off).
- /export [FILE] — save this conversation as Markdown.
- /worktree [NAME] — list or switch to a named git worktree.
- /tasks [ACTION…] — list, show, apply, or drop retained sub-agent work.
- /sandbox — confine bash with the supported host OS boundary.
- /bg [auto|dark|light|inherit] — terminal background: auto · dark · light · inherit. Aliases:
/background. - /theme [NAME] — colour theme: auto · dark · light.
- /context — context-window usage.
- /usage [today|7d|30d|month|all] — tokens counted on this machine, by model and day.
- /artifact [stop ID] — open / stop localhost artifact previews. Aliases:
/artifacts. - /compact — summarise the older turns now.
- /status — model · host · mode · context.
- /dashboard — session roster — open, switch, start, or delete sessions. Aliases:
/dash,/home. - /name [NAME] — name this session.
- /goal [--tokens N] [TEXT|STATE] — start, review, pause, resume, or clear the goal.
- /set [KEY [VALUE]] — tune a scalar setting live.
- /settings — browse & edit all settings. Aliases:
/config,/prefs,/preferences. - /handoff — generate a complete continuation handoff. Aliases:
/handover. - /export-training [FILE] — export this project's sessions as scrubbed fine-tuning JSONL. Aliases:
/export-jsonl. - /hooks — inspect configured lifecycle hooks. Aliases:
/hook. - /mcp [ACTION…] — inspect and manage MCP servers.
- /agents — sub-agent configuration.
- /skills [ACTION…] — browse and manage installed skills. Aliases:
/extensions,/ext. - /memory [ACTION…] — show or add project/user memory.
- /permissions [RULE…] — list or add allow · ask · deny rules.
- /notes [QUERY|on|off] — what this project already learned · search it.
- /trust [revoke N|PATH|here] — list the folders the trust gate skips · revoke one.
- /init [FOCUS] — inspect the project and prepare its DGC.md guide.
- /bug — report a bug / request a feature. Aliases:
/feedback,/report,/issue. - /update — update DGC to the latest version.
- /todo clear — drop the session checklist the model left behind.
- /clear — clear the transcript.
- /quit — exit dgc. Aliases:
/exit,/q.
Project commands
#Add a custom prompt command at .dgc/commands/<name>.md (or ~/.dgc/commands/<name>.md). Use $ARGUMENTS or {{args}} in the template, then run /name optional arguments. Project commands override personal commands and appear in the classic/TUI/editor/ACP catalogs automatically. Names begin with a lowercase letter or digit, then use lowercase letters, digits, ., _, or - (1–64 characters). Built-in names and aliases are reserved. DGC bounds the catalog and each template, and rejects symlinked command directories or files.