Skip to main content
Drift CLI accepts two kinds of input: natural language prompts and slash commands. Natural language prompts are interpreted by the AI agent. Slash commands execute immediately, without the agent.

Slash Commands

/skill add also works in plain English at the prompt — add this skill: ./team-docs/ekf-tuning.md does the same thing as /skill add ./team-docs/ekf-tuning.md.

CLI Flags

These flags are used when launching Drift from your shell (not from the drift> prompt):

drift init

Run in an empty directory to scaffold a new project — workspace structure plus an initial DRIFT.md so the agent has context from prompt #1.

drift simulate

Launch a simulation from the command line without entering the interactive drift> shell. Useful for scripting or CI scenarios where you want to start a pre-built simulation non-interactively.
If no project is found in the current directory, Drift will prompt you to run drift init first.

drift -c "<prompt>"

Run a single prompt non-interactively — Drift executes the task, auto-approves all steps, and exits cleanly when done. Useful for CI pipelines, batch testing, or quick one-offs from a script.

Natural Language Commands

At the drift> prompt, you can type any request in plain English. Common categories:

Create

Modify

Launch & Inspect

Build

Debug

Quick Reference

Execution Control

Pausing mid-execution

Press ESC at any point during a multi-step execution to pause. Drift remembers exactly what’s been completed and what’s still pending — nothing is lost. When paused, you’ll be prompted to choose how to proceed: This gives you full control — step through carefully when trying something new, or let Drift run freely once you’re confident.

Auto-Update

When a new version is available, Drift shows a notification on startup:
Run /update to install the latest version. If you see “Mandatory update required”, your version is too old to work with current services — /update (or re-install) is required before continuing.