Skip to content

Saved Prompts

Create a saved prompt when:

  • you repeat the same agent workflow often
  • you want more consistency than freeform chat gives you
  • you want the same instructions to be reusable from different pages

Stay with freeform chat when the request is one-off or still evolving.

Each saved prompt has:

  • a stable key
  • a name
  • a short description
  • the prompt body
  • an optional OpenCode model override

The key is fixed after creation. The rest can be updated later.

  1. Open Agents.
  2. Click Create prompt.
  3. Enter a key using lowercase letters, numbers, dashes, or underscores.
  4. Add a clear name and description.
  5. Write the reusable prompt instructions.
  6. Optionally set a model override.
  7. Save the prompt.

When you start a session from a saved prompt, you can also add Additional notes.

Use notes for run-specific detail such as:

  • a narrower angle
  • a temporary constraint
  • a reminder about tone or output

Keep the base prompt stable. Put short-lived specifics in the notes field.

Saved prompts and page context are different things:

  • the prompt defines the reusable workflow
  • page context carries the current business or selection data

This separation lets you reuse one prompt across many businesses or workflows.

Open a saved prompt from Agents to:

  • update its description
  • revise the instructions
  • change or remove the model override
  • delete it if it is no longer useful