System prompt generator
For custom GPTs, Claude Projects, support bots and agents: describe the job and the rules once, and get standing instructions written in second person with a safe fallback.
Fill in a few fields and your prompt is set here, line by line.
Prompt score
Underspecified
0 words
- Clear task verb missingStart with an explicit action: “Write…”, “Summarize…”, “Compare…”.
- Background or context missingSay who it is for and why you need it; models fill gaps with generic guesses.
- Role or perspective missingGive a perspective: “You are a senior UX writer…”. It sets vocabulary and depth.
- Output format stated missingName the shape of the answer: table, bullets, JSON, 3 paragraphs.
- Length or scope limit missingCap the length: “under 150 words”, “5 bullets”.
- Constraints or rules missingAdd rules: what to avoid, what must be included, reading level.
- Example or reference missingShow one example of the output you want. Few-shot beats description.
- Specific, not vague missingReplace vague words (good, nice, interesting) with concrete criteria.
Let AI write the system prompt
Sends your filled-in fields to the AI helper, which writes a complete prompt and marks gaps as [placeholders].
The parts of a solid system prompt
- Identity and job. “You are the returns assistant for Acme. Your job is…”
- Audience. Who is on the other side, and what they usually know.
- Knowledge. Facts, policies or product data the assistant can rely on.
- Response style. Tone, format, length. Short is usually better in chat.
- Rules. What it must never do, and when to hand over to a human.
- Fallback. What to do when a request is out of scope or unclear.
Test it with awkward questions before you ship: off-topic requests, angry users, requests for things the rules forbid. Adjust the rules until the answers are what you would say yourself.
Questions
What is a system prompt?
A system prompt is the standing instruction a chat model receives before any user message. It defines who the assistant is, what it does, how it answers and what it refuses. Custom GPT instructions, Claude Projects instructions and the “system” message in the API are all system prompts.
How long should a system prompt be?
As long as it needs to be to remove ambiguity, typically 150 to 600 words for a focused assistant. Long prompts are fine if they are organised; a rambling one produces inconsistent behaviour.
Can a system prompt stop jailbreaks?
It helps but it is not a security boundary. Clear rules and a fallback (“if unsure, ask”) reduce off-topic answers, but never put secrets in a system prompt and validate anything important in your own code.
Why add “if unsure, ask a clarifying question”?
Models tend to answer confidently even when a request is ambiguous. An explicit fallback gives them permission to ask instead of guessing, which is usually what a user wants.
More tools in the studio
- GeneratorPrompt GeneratorSet a text prompt from role, task, context, format and constraints.
- OptimizerPrompt OptimizerScore any prompt on 8 checks, then rewrite it and compare.
- ChatGPTChatGPT Prompt GeneratorMarkdown-sectioned prompts tuned for ChatGPT.
- ClaudeClaude Prompt GeneratorXML-tagged prompts the way Anthropic recommends.
- ImageImage Prompt GeneratorNatural-language prompts for Flux, GPT Image, DALL·E and Imagen.
- MidjourneyMidjourney Prompt BuilderDescriptors plus --ar, --stylize, --chaos and more.
- Stable DiffusionStable Diffusion Prompt GeneratorWeighted tags, negative prompt, CFG and steps.
- VideoVideo Prompt GeneratorShot-by-shot prompts for Sora, Veo, Runway and Kling.
- TokensToken CounterExact GPT token counts, context fit and cost.