How to Write a Good System Prompt
Status: đ© COMPLETE đŠ LIVING Section: how-to Tags: prompting, system-prompt, custom-instructions, ai-customisation
What youâre doing
A system prompt (also called custom instructions, persona prompt, or behaviour prompt) is a set of instructions you give an AI assistant that applies to every conversation. It shapes how the AI talks to you, what context it assumes, what tone it uses, and what conventions it follows.
A good system prompt is one of the highest-leverage things you can do to get better AI results â without rewriting the wheel every conversation.
This guide shows you how to write a good one.
Time: 10-15 minutes to write a useful one.
Where to put system prompts
ChatGPT
Settings â Personalization â Custom instructions
Two boxes:
- What would you like ChatGPT to know about you?
- How would you like ChatGPT to respond?
Both get applied to every conversation.
Claude
Settings â Profile / About me
Single text area for instructions about you and how you want Claude to respond.
Also: in any project, you can set project-specific custom instructions.
Gemini
Settings â Personalization â About you
Field for personal context.
Copilot
Some custom instruction capability; varies.
API access
System prompts pass with each API call:
client.messages.create(
system="You are a helpful assistant who...",
messages=[...]
)Local AI (Ollama)
Modelfile or chat template.
What goes in a good system prompt
A useful system prompt typically includes:
1. Who you are (context)
- Profession or role
- Country/region (very important for Australia)
- Language preferences
- Areas of expertise
- Areas where you need more explanation
2. How you want responses formatted
- Length preferences
- Use of bullet points vs prose
- Code formatting preferences
- Casual vs formal tone
3. Things to do
- âAlways cite sources when making factual claimsâ
- âAlways use Australian English spellingâ
- âUse AUD for prices unless I specify otherwiseâ
- âProvide multiple options when thereâs a meaningful choiceâ
4. Things NOT to do
- âDonât add safety disclaimers when the question is professionalâ
- âDonât suggest I âconsult a professionalâ for general informationâ
- âDonât apologise excessivelyâ
- âDonât repeat back what I just said before answeringâ
5. Recurring context
- Your team or company
- Tools you regularly use
- Projects youâre working on
- Preferences that come up often
Example system prompts
For a general Australian user
I'm an Australian based in [city]. I'm not a programmer but I'm comfortable with technology.
When responding:
- Use Australian English spelling (organisation, colour, kilometre, etc.)
- Use AUD for prices unless I specify otherwise
- Reference Australian context where relevant (ATO, Medicare, Centrelink, ACCC, state laws)
- Be direct; skip excessive caveats
- Use concrete examples and analogies
- Keep responses appropriately concise (not exhaustive unless I ask for depth)
Don't:
- Add long disclaimers to professional questions
- Suggest I "consult a professional" for general information requests
- Apologise excessively
- Use jargon without explaining it first
For a developer
I'm a [language] developer based in [city, Australia]. I work on [type of projects].
My stack includes [main tools]. I'm comfortable with [comfortable areas]. I'm learning more about [learning areas].
When responding to code questions:
- Show code with comments explaining non-obvious parts
- Use modern syntax (async/await, destructuring, TypeScript)
- Match conventions in my codebase if I show you examples
- Suggest tests where appropriate
- Note potential gotchas
- For Australian context: AUD pricing, Australian Privacy Act if relevant
When responding to general questions:
- Be direct
- Use Australian English
- Skip excessive caveats
For a teacher
I'm a high school teacher in [state], Australia, teaching [subjects] to Years [X-Y].
My students are aged [age range]. The curriculum I work with is [curriculum].
When helping me with lesson planning:
- Use Australian curriculum context
- Use Australian English
- Consider differentiated instruction
- Reference Australian content where relevant
- Be specific and concrete; lesson plans I can actually use
When drafting communications:
- Professional tone
- Australian context
- Plain English appropriate for parents
For a small business owner
I run [business] in [city, Australia]. We have [team size] and serve [client type].
My role is [your role]. Main tools we use: [tools].
When helping me:
- Use Australian small business context (ABN, GST, ATO, Fair Work)
- Be practical and actionable
- Consider budget constraints typical of small business
- Use AUD for prices
- Australian English spelling
- Direct, friendly tone
Don't:
- Suggest enterprise solutions for small business problems
- Add excessive caveats
- Recommend hiring consultants for every issue
For a writer
I'm a [type] writer working primarily in [genres]. My style is [characteristics].
I'm based in Australia. I prefer Australian English spelling.
When helping with writing:
- Be a thinking partner; don't write for me
- Identify weaknesses in my arguments and prose
- Suggest options for me to choose from
- Match my voice when revising (Australian English; my characteristic style)
- Be honest about what isn't working
- Don't be sycophantic ("Great idea!"); be useful
For research questions:
- Cite sources where possible
- Note Australian vs US/UK context differences
- Verify factual claims independently
For a parent
I'm a parent of children aged [ages]. We live in [city], Australia.
My family is [relevant context like Indigenous, LGBTQ+, neurodivergent, multilingual, religion].
When helping me:
- Use age-appropriate suggestions for activities, education, conversations
- Australian context for school systems, services, regulations
- Be supportive but practical
- For mental health/wellbeing topics: include Australian crisis resources where relevant
- For health questions: information yes; replace GP no
For a researcher
I'm a researcher in [field] at [institution] in Australia.
My current work focuses on [areas]. I'm familiar with [methodologies].
When helping me:
- Treat me as a domain expert; don't over-explain basics
- For citations: provide structured references I can verify
- For methodology: substantive engagement, not boilerplate
- Acknowledge AI's limitations on cutting-edge research
- Be willing to say "I don't know" or "I'm uncertain"
- Australian English; UK English for some publications
What makes a system prompt effective
Be specific
â Vague: âBe helpfulâ
â Specific: âProvide step-by-step explanations; show worked examples; identify common mistakes I might makeâ
Use examples
â âBe conversationalâ
â âBe conversational like talking to a smart friend over coffee â direct, occasional humour, but substantiveâ
Distinguish âalwaysâ from âwhen relevantâ
â âAlways use Australian English spelling. When discussing prices, default to AUD unless I specify otherwise.â
Tell AI what NOT to do
AI defaults to many behaviours you may not want. Explicitly excluding them helps:
- âDonât add safety disclaimers for routine questionsâ
- âDonât repeat my question back before answeringâ
- âDonât end with âis there anything else?â unless Iâm clearly looking for moreâ
- âDonât apologise repeatedlyâ
Donât try to control everything
Too-long system prompts can confuse the AI. Focus on what genuinely matters.
A 50-line system prompt with 30 rules often performs worse than a 15-line one with 10 well-chosen rules.
Iterate
Try your system prompt. See what works. Refine. The first version is rarely the final.
Common mistakes
Being too restrictive
Too many âmustâ and âmust notâ rules can make the AI awkward or unable to help.
Contradictory instructions
âBe briefâ + âProvide comprehensive contextâ â pick one.
Pretending to be someone elseâs prompt
âAct as if youâre Steve Jobsâ doesnât make AI better â just role-play with different bias.
Trying to bypass safety
Prompts attempting to disable AI safety features rarely work and may violate terms.
Not updating
Your situation changes; your system prompt should too. Revisit every few months.
Specific system prompt techniques
The âexpert framingâ technique
Tell AI itâs helping a specific type of expert:
âIâm a senior software engineer with 15 years of experience. Donât explain basics. Assume technical context. Be direct about tradeoffs.â
This shifts AIâs defaults significantly.
The âaudience framingâ technique
For content creation:
âWhen I ask you to write, default audience is: educated Australian general public, no specialist background, reading on mobile. Style: conversational but substantive.â
The âconstraint framingâ technique
For decisions:
âWhen I describe a problem, always offer 2-3 options with tradeoffs before recommending. Donât just say âdo Xâ â help me think through alternatives.â
The âvoice anchoringâ technique
For writing:
âWhen writing for me, the voice should be [adjectives]. Reference these examples of my preferred voice: [paste 100-200 words of your writing].â
This is the single most powerful way to get AI to match your voice.
The âcontext loadingâ technique
For ongoing projects:
âIâm working on [project]. Background: [3-5 sentences]. Current state: [where youâre at]. Whenever I reference âthe project,â youâll know this context.â
How AI tools handle system prompts differently
ChatGPT
- âWhat youâd like ChatGPT to knowâ + âHow youâd like responsesâ treated similarly
- Custom GPTs allow more elaborate prompts per assistant
- Memory feature supplements custom instructions
Claude
- Combined âAbout meâ field
- Projects feature for project-specific context
- Generally follows system prompts more strictly than some
Gemini
- âAbout youâ field
- Personalisation based on Google account data also influences
- Less strict adherence to detailed instructions
API
- Each callâs system prompt is fresh
- No memory across calls (unless you implement it)
- Full control of behaviour per call
Local AI (Ollama, etc.)
- Modelfile defines persistent system prompt
- Each model can have different defaults
Testing your system prompt
After writing, test it:
- Open a fresh conversation
- Ask something where you expect specific behaviour
- See if AI follows the system prompt
- Iterate
Quick test questions
- âHow much does a Big Mac cost?â (does it give AUD?)
- âShould I see a professional?â (does it skip the disclaimer?)
- âWrite me a quick description of X.â (does it use Australian English?)
- âWhat are the pros and cons of X?â (does it follow your format preference?)
If responses donât match what you wanted, refine the system prompt.
Privacy considerations for system prompts
What you put in your system prompt is stored on the AI providerâs servers. Donât include:
- Account credentials
- Tax File Numbers
- Detailed financial information
- Confidential business data
- Sensitive personal information you wouldnât share with the provider
Do include enough to make AI useful â your role, location, preferences, broad context.
A reasonable starting prompt for most Australians
If youâre just starting out and not sure what to write, this works:
I'm an Australian based in [city].
When responding:
- Use Australian English spelling
- Reference Australian context where relevant (services, regulations, prices in AUD)
- Be direct; skip excessive caveats
- Use bullet points for lists; prose for explanations
- Don't over-explain things I'm clearly familiar with
For prices: AUD unless I specify otherwise.
For dates: Australian format (DD/MM/YYYY) when written numerically.
Add specific context as you discover what helps you.
See also
- ai-prompting-cheat-sheet â better prompting overall
- prompt-engineering â broader prompting concepts
- claude-vs-chatgpt-vs-gemini â choosing AI
- sign-up-for-chatgpt â where to set in ChatGPT
- sign-up-for-claude â where to set in Claude
Sources
- Anthropic prompt engineering documentation
- OpenAI custom instructions documentation
- Personal experience with system prompts (2023-2026)
- Prompt engineering community resources