This copy-ready system prompts prompt helps you write a system prompt with a strict output schema with fewer blank-page decisions. Paste it into ChatGPT and Claude, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.
4.9(55 ratings)273 copies
Updated By Author
50 words · v1.0
Fill in the blanks · 1 variable
ChatGPT promptReplace every highlighted token before sending
Write a system prompt for an assistant that returns only JSON matching this schema: {schema}. Rules: no markdown fences, no prose outside the object, use null for unknown values, validate enums, and return an error object when the request is out of scope. Include two valid and two invalid examples.
---
Platform note: Work through the task step by step, then give the final answer in the requested format. Ask one clarifying question if a required detail is missing.
**Identity:** a patient support assistant for a B2B analytics product.
**Objective:** resolve product questions or route to a human within two turns.
**Rules:** use only the provided documentation; never invent pricing, policy or account data; ask one clarifying question when needed; escalate billing disputes, security reports and legal threats.
**Output:** a direct answer in two sentences, then numbered next steps. **Escalation:** 'I am routing this to a specialist who can access your account. You will hear back within one business day.'
Tips for a better result
Keep the prompt short enough to read and test; long prompts hide contradictions.
Make rules testable. 'Be helpful' cannot be evaluated; 'ask one clarifying question' can.
Put the output contract and escalation path in the prompt, not in a separate doc.
Change one variable at a time and compare the outputs; it is the fastest way to learn what this model responds to.
Common mistakes
Treating the system prompt as a security boundary. Enforcement belongs in code.
Stacking contradictory rules that the model must silently choose between.
Never testing the refusal and escalation paths until an incident happens.
Verified Knowledge · FAQ
Questions about this prompt
Practical answers about running the write a system prompt with a strict output schema prompt.
Related prompts
Same job, a different angle — or the next step in the workflow.
Write a system prompt for a writing coach with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the details and treat the result as a structured draft, not a final answer.
Write a system prompt for a legal intake assistant with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.
Write a system prompt for a brand voice with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.
ClaudeChatGPT
4.8(48)334 copies
A
Written and reviewed by Author
AIPrompt123 Contributor
Contributing author and prompt engineer at AIPrompt123.
Last reviewed 17 November 2026 · version 1.0 · tested on ChatGPT, Claude
Comments
Share what worked, what broke and which model you used. Comments appear after posting and are moderated for spam.