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.

Memory

CommandAction
/memoryList this project’s memory, yours, and your team’s; add, import, or export, and press Enter on an entry to edit, pin, move, or delete it
/memory add <text>, /remember <text>Remember something for this project
/remember --me <text>Remember something for all your projects
/memory importReview and import what your other coding agents remember on this computer
/memory import <file>Import one file, such as CLAUDE.md or AGENTS.md
/memory search <words>Search this project’s memory; --all searches your other projects too
/memory export [--me]Write this project’s memory, and with --me yours, into AGENTS.md at the repository root
/memory claude on, /memory claude offUse Claude Code’s memory in this folder, or stop
/memory pause, /memory resumeStop or restart learning from this chat
/memory undoTake back the newest memory change from this chat
/forget <words>Find an entry and delete it after you confirm

See Memory for what each kind of memory is, who can see it, and how pre.dev learns.

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 memory importImport what your other coding agents remember on this computer, then exit. --dry-run shows what would come in. See Import
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