Prompts tutorial

How to use prompt variables in ChatGPT

Prompt variables let one saved prompt ask for the details it needs at run time, so you can reuse the same template without rewriting the placeholders by hand.

4 min Beginner
Prompt template
Saved prompt Launch brief generator

Write a {{format}} for {{audience}} about {{topic}}. Use {{date}} and include any uploaded {{files}}.

{{topic}} {{audience}} {{files}}
Quick answer

Create or edit a saved prompt, add placeholders with double curly brackets like {{topic}} or {{audience}}, then run the prompt. Superpower asks for each variable value before sending the finished prompt to ChatGPT. You can reuse the same variable name multiple times, and special variables like {{files}}, {{clipboard}}, {{date}}, and {{time}} handle common inputs automatically.

01

Create a reusable prompt template

Open Prompt Manager and create a saved prompt for a repeated task, such as a research brief, customer reply, launch recap, or content outline. Write the parts of the prompt that should stay the same every time.

02

Add variables with double curly brackets

Use double curly brackets around each input you want to change later. For example, write {{topic}}, {{audience}}, {{tone}}, or {{format}} wherever the prompt should ask for a value before it runs.

Write a {{format}} for {{audience}} about {{topic}}.

{{topic}}{{audience}}{{format}}
03

Reuse the same variable name when needed

If the same value belongs in multiple places, use the same variable name more than once. Superpower asks for it once, then inserts that value everywhere the matching placeholder appears.

{{client}}Acme

Use Acme in the headline, summary, and next-step section.

04

Use special variables for common inputs

Use {{files}} when the prompt should ask the user to upload files. Use {{clipboard}}, {{date}}, and {{time}} when the prompt should pull from the clipboard, current date, or current time.

{{files}} {{clipboard}} {{date}} {{time}}
05

Run the prompt and fill in the values

Run the saved prompt from Prompt Manager, favorites, or the slash command. Superpower opens the variable form, collects the values, inserts them into the template, and sends the finished prompt to ChatGPT.

Fill prompt variables

Variable strategy

Make the prompt flexible without making it vague.

Use short, clear variable names like {{client}}, {{topic}}, {{audience}}, and {{output_format}}.
Keep the stable instruction outside variables so the prompt still has a strong structure.
Reuse the same variable name when the exact same value should appear in multiple places.
Use {{files}} for document-heavy prompts so the upload step is built into the template.
Use {{clipboard}}, {{date}}, and {{time}} for prompts that depend on current context.

FAQ

Questions about ChatGPT prompt variables.

Short answers about variable syntax, repeated placeholders, file uploads, clipboard, date, and time.

What are ChatGPT prompt variables?

Prompt variables are placeholders in a reusable prompt. Superpower fills them in when you run the prompt, so one template can work for many topics, clients, audiences, or formats.

How do I write a prompt variable?

Wrap the variable name in double curly brackets, such as {{topic}}, {{audience}}, or {{format}}.

Can I use the same variable more than once?

Yes. If you use the same variable name in multiple places, Superpower asks for that value once and inserts it everywhere.

What does {{files}} do?

{{files}} is a special variable that asks the user to upload files before running the prompt.

What do {{clipboard}}, {{date}}, and {{time}} do?

They are special variables for using clipboard content, the current date, and the current time inside reusable prompts.

Make every saved prompt easier to reuse.

Install Superpower, add variables to your best prompt templates, and fill in the details only when you run them.