Anthropic system
- What it carries
- Role, rules, tone, format guidance
- Priority and lifetime
- Sent as its own field next to
messages
A system prompt is the standing instruction block an app sends with a model request. Where it goes in Claude and OpenAI APIs, what to put in it, and a quick test.
A system prompt is the standing instruction block an application sends with a model request to set the role, tone, rules and output format, apart from the user's own messages. In Anthropic's Messages API it is the system field. OpenAI's Responses API has the instructions parameter and developer messages for the same job.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
systemmessagesinstructionsinput, but applies only to the current requestdeveloper messageuser messageOpenAI compares a developer message to a function definition and a user message to the arguments passed into it. That picture works for any vendor: the system prompt defines how the task is done, and the user turn supplies what to do it on.
systemmessagessystem.max_tokensmodel{
"model": "claude-opus-5-5",
"max_tokens": 1024,
"system": "You are a helpful coding assistant specializing in Python.",
"messages": [
{"role": "user", "content": "How do I sort a list of dictionaries by key?"}
]
}Anthropic's prompt caching docs list the cached prefix order as tools, then system, then messages. A system prompt that stays identical between requests therefore sits in a cacheable position. See prompt caching.
Once with the system field and once without. If the two replies are indistinguishable, the system prompt is not doing the work you think it is.
Delete one rule at a time and rerun. A rule whose removal changes nothing can go, which also shortens every request.
OpenAI says instructions applies only to the current request and is not carried into later turns when you use previous_response_id. Pass it again each time.
OpenAI advises pinning model snapshots and building evals, then re-running them when you change prompts or upgrade models.
1 questions people ask next, answered from the sources on this page.
It plays the same role: high-level behavior set by the application. OpenAI documents one difference that matters, which is that instructions applies only to the current request and is not carried forward when you chain turns with previous_response_id.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.