ChatGPT System Prompt Writer for Custom Assistants

Write a ChatGPT system prompt for a custom assistant or GPT — role, rules, tone, refusals, output format and test questions in one draft.

Published
Works with
ChatGPT, Claude and Gemini
Level
Intermediate
By
GoodAIPromt editorial team

A ChatGPT system prompt sets the standing rules for an assistant: who it is, what it should and shouldn't do, and how its answers look. When it's vague, the assistant drifts, over-answers or ignores edge cases. This prompt interviews your use case into a structured system prompt and adds test questions, so you can check the assistant behaves before you share it.

The prompt

Write a system prompt for an AI assistant.

What the assistant is for: [PURPOSE, e.g. answer customer questions about our booking policy]
Who will use it: 
Knowledge it can rely on: 
Tone and voice: 
Things it must never do: [LIMITS, e.g. give legal advice, promise refunds]
When it should hand off to a human: 
Preferred answer format: [FORMAT, e.g. short paragraphs, max 120 words]

Structure the system prompt with these sections: Role, Goals, Knowledge and sources, Rules (numbered), Tone, Output format, What to do when unsure, Handoff.
Write rules as clear instructions, not wishes. Explain the reason behind any rule that might seem arbitrary.

Then give me:
- 8 test questions, including 3 tricky ones (off-topic, out-of-scope, a request it must refuse), with the ideal response for each.
- 3 likely failure modes and the line I'd add to fix each.

0 of 4 blanks filled

How to use it

  1. Fill in the limits and handoff rule carefully — they prevent most problems.
  2. Paste the system prompt into your custom GPT, project instructions or API call.
  3. Run the test questions and tighten any rule the assistant breaks.

Tips

  • Keep facts that change often (prices, dates) in an attached document, not in the system prompt.
  • Re-run the same test questions every time you edit the prompt.

Frequently asked questions

What does this prompt do?

Write a ChatGPT system prompt for a custom assistant or GPT — role, rules, tone, refusals, output format and test questions in one draft.

Which AI tools does it work with?

It is written for ChatGPT, Claude and Gemini. It also works in other AI tools that accept text prompts, with small changes.

What do I need to fill in?

4 blanks: users; documents or facts it will have; tone; handoff rule. Click each blue blank on the page, type your details and press Copy prompt.

Is this prompt free to use?

Yes. You can copy and use it for personal and commercial work.

chatgpt system promptcustom gptai assistantinstructions

More prompts for ChatGPT, Claude, Gemini.