VCode home

Your own system prompt

Agents: claude, codex, opencode, devin, copilot, muse · On: phone, desktop

Write standing instructions once, and every new Claude, Codex, OpenCode, Devin, Copilot or Muse thread starts with them. VCode's own instructions come first, then yours.

Why you would use it

You tell every agent the same things: the language to answer in, to run the tests before it says a change works, how you like commit messages. Put them in the system prompt and you stop typing them at the start of each thread.

How to use it

  1. Tap the cog (#settings-open).
  2. Under System prompt, tap Edit system prompt (#system-prompt-open). The settings close and the file system-prompt.md opens in the file viewer, ready to type in.

The System prompt group in settings: the lines "Synced to every workstation on your account" and "All harnesses read this prompt before starting." above the Edit system prompt button.

  1. Write your instructions.
  2. Tap Save (#viewer-save), or press Ctrl+S. Then close the viewer.

The file viewer's editor on system-prompt.md, two lines of instructions typed in and the dot after the name that marks them unsaved.

The next thread you start, or the next time a parked thread's agent starts again, gets the new text. A thread already running keeps the prompt it started with.

What you see

Under the group's title, the first line (#system-prompt-hint) says where the prompt lives, and the second says All harnesses read this prompt before starting.

Line Meaning
Only on this workstation This workstation is not linked to a VCode account, or it was removed from the account. The prompt stays here.
Synced to every workstation on your account The account's copy matches this workstation's.
Waiting to sync A change is not on the account yet. It goes when the workstation reaches the site.
Too long to sync: keep it under 32,000 characters The prompt or the settings are too long to send. This workstation still uses the prompt.
Not synced: <reason> The site refused the last change, or sent a copy this workstation does not accept.

The System prompt group on a workstation linked to an account: the line "Synced to every workstation on your account".

When the site this workstation links through has no settings sync, the first line is blank. The line is read when the settings open. A change that arrives from another workstation while they are open shows the next time you open them.

Options and settings

Option Default What it changes
system-prompt.md empty The text added after VCode's own instructions. Empty, or only spaces and blank lines, adds nothing
Length 32,000 characters at most A longer file is left out of every thread, and VCode's own instructions go alone

An agent reads the prompt with v-code settings get and replaces it with v-code settings set systemPrompt "<text>", on another workstation with --box (see agent-commands). That writes the file the way the viewer does, so it syncs like a save from the viewer.

Limits and known gaps