Skip to main content

Work locally

CLI commands

Terminal commands, keys, and launch flags.

Type / to open the command palette. Use the arrow keys to select, Enter to run, and Escape to dismiss. Commands that take text keep the composer open for the rest of the request. /help lists every command and key.

Work and models

CommandAction
/modelChoose one model for every phase, a model per phase, or reset to automatic
/effortChoose auto, low, medium, or high sprint effort
/sprint <feature>Launch a dedicated sprint in a new session
/fork <prompt>Start a task in a new isolated session
/planPlan mode: each message changes the plan (flows, spec, roadmap, architecture) and no code runs. It stays on until /auto
/autoAuto mode, the default: the agent decides whether to answer, plan, or build

A message that starts with >> also forks a task. Separate sessions use separate Git worktrees. Review their changes and integration result, particularly when tasks change related files.

/fork add tests for the invoice date formatter

Project

CommandAction
/projectMake a chat-only project a full project: Plan, Code, and Preview, with its code, keys, and data in step with the cloud
/reverseAnalyze an existing codebase and produce architecture context
/initHave the agent write or refresh CLAUDE.md for this repository
/shareOpen the project’s sharing controls in your browser
/publish [what changed]Publish the app to its permanent address, or ship your latest changes there
/unpublishTake the published app down; its address shows your latest draft again
/kanban, /roadmap, /archOpen the Kanban, roadmap, or architecture view

Escape returns from project views to chat. Views require the corresponding project data.

Session

CommandAction
/clearClear the visible chat feed; stored history is kept
/rename <name>Rename the current session tab
/undoPut the files back the way they were before your last message or sprint
/redoBring back what the last /undo removed
/cloudSync this folder up and hand the session to the cloud
/localPull the session’s latest files into this folder and run it here
/statusShow where the session runs and which local processes are up
/helpShow all commands and keys

Integrations

CommandAction
/integrationsShow your connected accounts, MCP servers, and skills
/skillsList, toggle, or remove your agent skills
/skills add <name> <instructions>Add an agent skill
/mcpList, toggle, or remove your MCP servers
/mcp add <name> <url or command>Add an MCP server, for example /mcp add linear https://mcp.linear.app/sse
/chromeLet the agent use your own Chrome: your open tabs, every profile, and the sites you are signed in to. See Browser Agents Local
/chrome offStop the agent from using your Chrome

In the Skills and MCP panels, press Enter or Space to toggle an entry, d to remove it, and o to open workspace Integrations in the browser. Connecting provider accounts happens on the web. These panels show your personal entries; use Project setup on the web for project entries and team settings.

Account and billing

CommandAction
/balanceShow remaining credits
/usageShow what this project’s credits went on, turn by turn
/topupOpen credit purchasing in the browser
/upgradeOpen plan selection in the browser
/loginSign in or switch accounts through the browser
/logoutSign this machine out and quit; every session is saved first

Keys

KeyAction
/Open the command palette
EnterSend your message
EscStop the running agent, or cancel
Ctrl+N / Ctrl+PNext or previous session tab
Ctrl+TNew session tab
Ctrl+XClose a session tab (merge or discard)
Shift+TabCycle views: chat, Kanban, roadmap, architecture
Ctrl+CQuit; every session is saved

Launch flags

InvocationEffect
predev "<prompt>"Start with an opening prompt
predev open <project link or id>Bring an existing pre.dev project into this folder and run it here; a chat-only project opens in the folder it last ran in
predev --new or predev -nCreate a fresh project for this directory
predev --version or predev -vPrint the installed version and exit
predev --help or predev -hPrint launch help and exit
predev run "<prompt>"Run one request without the app, then exit. See Run one task without the app
predev logoutForget the saved login on this computer; with PREDEV_API_KEY set, the CLI then signs in with the key
predev mcp setupAdd the pre.dev MCP server to your other coding agents, such as Claude Code, Codex, and Cursor. Needs Node.js 22 or later
Was this page helpful?

On this page