This page lists what the CLI accepts. dcode --help prints the same list in your terminal, and /help <command> explains a slash command in the workspace. For everyday use, see DCode CLI; for runs without the workspace, see Scripting and CI.
shell
dcode [command] [options]
With no command, dcode opens the full-screen workspace.
A server that runs on your computer is the command after --; a remote server is its --url, over http (the default) or sse. User servers are saved in ~/.dcode/cli/config.json and project servers in .dcode/config.json in the project folder. A new server is there in your next session, or after /mcp connect <server>.
dcode schedule add "<when>" "<prompt>" [--cwd <dir>] [--mode <mode>]dcode schedule list [--json]dcode schedule remove <id>dcode schedule run <id>
<when> is a five-field cron expression in local time (minute, hour, day, month, weekday) or words such as "every day at 9:00", "every monday at 8:30", "every weekday at 9:00" or "every 2 hours". Each run is dcode -p "<prompt>" in that folder (the current one unless you pass --cwd), in the auto mode unless you pass --mode. Your computer's own scheduler starts the runs, and each run's output is added to a log under ~/.dcode/cli/schedules. run runs one now.
--worktree starts a session in a new git worktree on the branch dcode/<name>; without a name, the date and time are the name. When the session ends, DCode prints how to merge it back and how to remove it. --force removes a worktree that has uncommitted changes, and those changes are lost.
Type these in the workspace. /help <command> explains one.
Command
What it does
/help [command]
Show the slash command help.
/login
Sign in to your Dipole ML Inc. account.
/logout
Sign out of your Dipole ML Inc. account.
/setup
Run the first-run setup again: theme, folder trust, browser and macOS permission checks, sign-in.
/model [list]
Show or switch the model of the session.
/effort [list|<level>]
Show or switch the thinking level of the session. Also /variant.
/mode [mode]
Show or switch the permission mode.
/plan [task]
Switch to plan mode, and send a task if you give one.
/usage
Show your 6-hour and weekly use and when each resets.
/status
Show the account, model, version, folder, MCP servers and plugins.
/context
Show what fills the context window.
/compact [instructions]
Compress the conversation, with instructions if you give them.
/new
Start a fresh session. Also /clear.
/resume [sessionId]
Resume a saved session. /continue resumes the latest one in this folder.
/rename <name>
Give this session a name.
/fork [latest|checkpointId]
Start a new session from a checkpoint of the project.
/rewind [latest|checkpointId]
See or restore checkpoints of the project.
/diff
List the files DCode changed in this session and show their diffs. /diff --git adds the git diff of the working tree.
/review [branch|--staged]
Review local changes or a branch for bugs, risks and missing tests. DCode only reports.
/security-review [branch|--staged]
Review local changes or a branch for security problems, with severity, file and line, and a fix for each.
/btw <question>
Ask a side question without disturbing the running task.
/goal [objective]
Show or set the session's goal; pause, resume, clear and replace manage it. Also /target.
/crew [mode|agents]
Show what an agent of the latest crew did. /crew mode auto|always|off sets when DCode starts a crew, and /crew agents auto or a number from 1 to 24 sets how many work at once.
/agents
See helper agents and background tasks, and manage custom agents.
/bg <task>
Run a task as a background helper, so the prompt stays free.
/expert [status|resume|stop|<task>]
Run or manage the expert workflow.
/workflow [task]
Design and start a dynamic workflow for a task, after you confirm its script. Needs dynamic workflows on (--workflow-mode).
/dwf [list|cancel|resume]
List, cancel or resume dynamic workflow runs.
/init [notes]
Create or update the project's AGENTS.md instructions.
/memory
See the memory files DCode loads and open one.
/skill [name [task]]
List skills, or make the next prompt load one.
/mcp [list|status|connect|disconnect]
Show or manage the configured MCP servers.
/plugins [list|enable|disable]
Open the plugin manager. Also /plugin.
/add-dir <folder>
Let the agent work in another folder for the rest of the session.
Sign in with an API key for one run, without a browser. It is taken out of the environment before anything runs, so the agent's commands never see it (Scripting and CI).
NO_COLOR
Turn colour off. Wins over FORCE_COLOR.
FORCE_COLOR
Force colour on.
CI
When true or 1, the CLI does not check for updates.
DCODE_SKIP_UPDATE_CHECK
When 1, the CLI does not check for updates.
DCODE_LOG_CONSOLE
When 1, a -p run prints its full debug output, like --verbose.
DCODE_STORAGE_DIR
Keep the CLI's files in this folder instead of ~/.dcode.