Saved Prompts
When to use a saved prompt
Section titled “When to use a saved prompt”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.
What a saved prompt contains
Section titled “What a saved prompt contains”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.
Creating a prompt
Section titled “Creating a prompt”- Open
Agents. - Click
Create prompt. - Enter a key using lowercase letters, numbers, dashes, or underscores.
- Add a clear name and description.
- Write the reusable prompt instructions.
- Optionally set a model override.
- Save the prompt.
Starting from a prompt
Section titled “Starting from a 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.
Prompt vs context
Section titled “Prompt vs context”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.
Editing and deleting
Section titled “Editing and deleting”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