Skip to main content
The Prompt Library saves you from retyping the same instructions every session. You build a personal collection of prompt templates, organize them into categories, and insert any prompt into the AI input box with a single click. Variables let you write reusable templates where certain values are filled in at send time. Prompt Library — prompt list and categories

Using a prompt

Inserts the prompt text into the AI input box but does not submit. You can review or edit the content before sending.
If the prompt contains variables, a dialog appears first asking you to fill in each value before the text is inserted.

Creating prompts

Click the + Add Prompt button at the bottom of the Prompts tab and fill in the following fields:
FieldDescription
TitleA short label shown in the list
ContentThe full prompt text; variables can be embedded anywhere
CategoryOptional group label to keep related prompts together (e.g., “Writing”, “Coding”)
PinOptional; keeps this prompt at the top of the list
The prompt appears in the list immediately after saving. Hover over a prompt row to use pin, preview, copy, more, edit, or delete.

Variables

Variables let you write a reusable template where certain values are filled in when you use the prompt. The syntax is double curly braces: {{variable_name}}. When you click a prompt containing variables, a dialog pops up with an input for each one. Fill in the values and press Enter or click Confirm to insert the filled text. There are three variable sub-types:
A plain variable name inside double curly braces. The dialog shows an empty text input.
Summarize the following text in {{language}}:

{{content}}
Add a colon (:) after the variable name, followed by the default. The dialog pre-fills the input with that value — press Enter to accept it unchanged.
Translate to {{target_language:English}}:

{{text}}
Add a colon after the variable name, then list options separated by pipe characters (|). The dialog shows a dropdown menu instead of a text field.
Rewrite this in a {{tone:formal|casual|humorous}} tone.
You can list as many options as you need:
Code review for {{language:TypeScript|Python|Go|Rust|Java}}
Variables of any sub-type can be mixed in the same prompt. The variable name is the text before the colon, or the entire content between {{ and }} if there is no colon.

Categories

Assign prompts to categories to keep your library organized. A category sidebar appears on the Prompts tab — click a category name to filter the list to that group. Categories are created automatically when you type a new name while editing a prompt.

Pins

Click the pin icon on any prompt to float it to the top of the list. Pinned prompts always appear before unpinned ones, regardless of the active category filter. Use the search box at the top of the Prompts tab to filter by title or content in real time. Pinned prompts always stay at the top of sorted results. Drag any prompt row to reorder your library. Buttons, inputs, menus, and other interactive controls inside a row remain clickable and do not start a drag.

Import and export

Click the import/export button in the Prompts tab toolbar, then choose Export to save your entire prompt library to a JSON file. This is useful for backup or transferring to another device. Choose Import from the same menu to read a JSON file back and pick one of three merge options:
OptionBehavior
Add newImports only prompts whose title does not already exist — skips duplicates
OverwriteImports all prompts; replaces existing prompts that share the same title
Replace allDeletes your current library and replaces it entirely with the imported file

Prompt Queue

The Prompt Queue lets you line up multiple prompts and send them automatically one after another. Ophel waits for the AI to finish each response before sending the next — you do not have to watch and click each time. This is useful for multi-step workflows, batch tasks, or structured interview sequences.

Enabling the Queue

Go to Settings → Features → Prompts → Prompt Queue and toggle it on. A queue widget appears near the AI input box. Show or hide it at any time with the Toggle Prompt Queue shortcut (default: ).

Adding prompts to the Queue

Type directly in the queue input field and press Enter to add a prompt. The queue displays a numbered list of pending items. You can also add saved prompts from the Prompt Library:
SourceBehavior
Prompt More menu → Add to queueAdds the selected prompt as one queue item
Prompt More menu → Split lines and add to queueSplits the prompt content by line and adds each non-empty line as a separate item
Double-click a prompt while the AI is generatingQueues the prompt automatically when Prompt Queue is enabled
Variable prompts open the variable dialog first when you add them from the prompt row menu. After you confirm the variables, the resolved prompt is added to the queue. For adding many prompts at once, click the Batch Add button in the queue panel. The dialog has two sources:
Select saved prompts directly from your library. Choose Each prompt as one item or Split by line. Prompts that still require variables are disabled in this batch picker; open them from the Prompts tab first so you can fill the variables.
Split modeBehavior
Split by lineEach line becomes one prompt; empty lines are ignored
Split by delimiterEnter a custom separator string (e.g., ---) and the text splits at each occurrence
A preview shows exactly how the text will be divided before you confirm.

Running the Queue

1

Add one or more prompts

Add prompts from the queue input, the prompt row menu, or the Batch Add dialog.
2

Ophel sends prompts automatically

If the AI is idle, Ophel starts with the next queued prompt immediately. If the AI is generating, pending prompts wait in the queue until the page is idle.
3

Manage the queue while it runs

You can edit a pending item, force-send a single item, remove individual items, or clear the queue with Clear Queue.

Prompt Chains

Prompt chains let you select text from any part of the conversation and trigger a sequence of prompts that reference that selection. When you select text on the page, a lightweight popover appears with built-in actions and any custom chains you’ve created.

What are chains?

A chain is a sequence of prompts that run one after another. Each step in the chain can reference the selected text using special variables:
  • {{selection}} — The raw selected text
  • {{quote}} — The selected text formatted as a Markdown blockquote
Chains are useful for multi-step workflows like:
  • Select a passage, summarize it, then ask a follow-up question
  • Select code, explain it, then suggest improvements
  • Select text, translate it, then rewrite in a different tone

Creating a chain

1

Open the Chains view

In the Prompts tab, click Chains at the top to switch from the Prompts list to the Chains view.
2

Click Add Chain

Click the + Add Chain button and fill in:
  • Name — A short label for this chain
  • Description — What the chain does (optional)
  • Icon — Pick from 40+ preset SVG icons, or leave blank
  • Show in selection popover — Toggle whether this chain appears when you select text
3

Add prompt steps

Click Add step to add prompts to the chain. Each step can either:
  • Reference an existing prompt from your library (recommended)
  • Use inline text directly (for one-off chains)
Steps run in order from top to bottom. Drag steps to reorder them.
4

Preview variables

The editor shows which variables your chain uses. Built-in variables like {{selection}} and {{quote}} are filled automatically. Any other variables prompt you for input when you run the chain.
5

Save

Click Save to add the chain to your library.

Using a chain

Select text anywhere in the conversation. A popover appears with Copy, Quote, and your enabled chain icons. Click a chain icon to trigger it. If the chain has variables, a dialog prompts you to fill them in first.
When a chain runs:
  1. All variables are resolved (either automatically from the selection, or by prompting you)
  2. Each step is added to the Prompt Queue in order
  3. The queue sends each prompt one at a time, waiting for the AI to finish before sending the next
Chains require the Prompt Queue feature to be enabled. If you try to run a multi-step chain without it, Ophel will prompt you to turn it on.

Chain management

Chains appear as cards in the Chains view. Each card shows:
  • The chain icon and name
  • Number of steps
  • Whether it’s shown in the selection popover
  • Enable/disable toggle
Click a chain card to execute it. Hover over a chain card to reveal:
ActionDescription
EditOpens the chain editor to modify steps, icon, or settings
DuplicateCreates a copy of the chain
DeleteRemoves the chain permanently
Chains are included in prompt backups and WebDAV sync.

Built-in actions

Two actions are always available in the selection popover:
  • Copy — Copies the selected text to your clipboard
  • Quote — Inserts the selected text as a blockquote into the input box, letting you add context before sending
A default Quote Reply chain is also included, which inserts “Reply based on the quoted text below:” followed by the quoted selection.

Settings

Go to Settings → Features → Prompts to configure:
SettingDescription
Double-click to sendDouble-clicking a prompt inserts and submits it directly
Submit keyKey used to submit to the AI after insertion — Enter or
Prompt queueEnable or disable the queue overlay feature
Selection quoteEnable or disable the selection popover for chains and quick actions

Example templates

Here are some ready-to-use prompt templates that demonstrate variable syntax. Copy any of them directly into a new prompt.
Translate the following text into {{target_language:English|Chinese|Japanese|French|Spanish|German}}. Keep the original formatting.

{{text}}
Review the following {{language:TypeScript|Python|Go|Rust|Java}} code. Focus on: readability, potential bugs, and performance. Output your findings in bullet points.

```{{language}}
{{code}}

</Accordion>
<Accordion title="Tone rewriter">
```text
Rewrite the following text in a {{tone:professional|casual|concise|detailed|humorous}} tone. Preserve the core meaning.

{{text}}
Summarize the following meeting notes into:
1. Key decisions
2. Action items (with owner if mentioned)
3. Open questions

Meeting: {{meeting_title}}
Date: {{date}}

Notes:
{{notes}}
Last modified on June 20, 2026