Guides · ChatGPT
How to build a prompt library for ChatGPT, Claude and Gemini
Most people type the same few prompts again and again. A prompt library turns them into one-keystroke shortcuts, with blanks you fill in each time.
Updated 25 November 2026
What makes a good saved prompt
- One clear job per prompt.
- Variables for the parts that change, like {topic} or {language}.
- The output format you want, so you never have to ask twice.
Five prompts worth saving
Explain {concept} to a second-year CS student. Use one example, one common mistake, and three practice questions with answers at the end.
Review this code for bugs, edge cases and readability. List issues by severity, then show the fixed version.
{code}
Turn these notes into a one-page study sheet with headings, key formulas and five quiz questions.
{notes}
Rewrite this to be clear and concise, keeping my meaning and tone. Under {words} words.
{text}
Write a brief I can paste into a new chat to continue this work: goal, decisions, current state, next step. Under 300 words.
Where to keep them
- ChatGPT custom instructions and GPTs work for rules you always want, but not for many separate prompts.
- A notes app works anywhere, but means copy and paste every time.
- A prompt library extension puts your prompts inside the chat box. In Lighter, type // to open your prompts, pick one, fill in the variables and send. The same library works on ChatGPT, Claude and Gemini, and Pro can sync it across devices.
FAQ
Can I use variables in ChatGPT prompts?
ChatGPT has no built-in variables. Prompt library extensions add them: you write {name} in the prompt and fill it in each time you use it.
Can one prompt library work across ChatGPT and Claude?
Yes, with an extension that supports both, like Lighter.