What is a system prompt? The instructions behind an AI chat

A system prompt is the standing set of instructions an AI model gets before you type. Who writes it, what it contains, and the versions you can write.

By Strokes Team · · 6 min read

The words System prompt set large in serif type beside a chat window whose top holds a pinned pale gold card labeled System with two lines of instructions; below it a user message and an AI reply, with a dotted gold line running from the card down to the reply.
Pinned above the chat, read before every reply.
Table of contents
  1. What a system prompt does
  2. Three names, one idea
  3. The system prompts you write
  4. What it cannot do
  5. Standing instructions in Strokes
  6. Frequently asked questions

A system prompt is a set of standing instructions that a language model receives before the conversation starts. It is written by whoever built the product, and it tells the model what role to play, what tone and format to use, what to decline and often what today's date is. The model reads it ahead of every chat, and its rules outrank what you type.

This page explains who writes system prompts, what a published one contains, the three names vendors use for the idea, and the versions you can write yourself. It draws on Anthropic's, OpenAI's and Google's documentation as of November 18, 2026.

What a system prompt does

Anthropic publishes the system prompts of its Claude apps, which makes it possible to see what one contains. The stated purpose is to give Claude current information at the start of each conversation, such as the date, and to encourage certain behaviors. The entry for Claude Fable 5.2, dated November 9, 2026, runs to several thousand words. It describes Anthropic's products, asks for concise replies in prose without bullet points or heavy bold, says how to handle legal, medical and contested political questions, and tells the model where its knowledge ends.

For someone who writes, this explains some of an assistant's manner. A habit you notice in one app may come from that app's instructions and not from the model underneath. Anthropic notes that its published prompts do not apply to the Claude API, so the same model reached through another product starts from different instructions and can behave differently.

Three names, one idea

VendorWhat it calls itWhere a writer meets it
VendorAnthropicWhat it calls itSystem promptWhere a writer meets itThe published prompts behind the Claude apps; your own “Instructions for Claude” and project instructions
VendorOpenAIWhat it calls itDeveloper message, or instructionsWhere a writer meets itCustom instructions in ChatGPT, and the instructions you set for a project
VendorGoogleWhat it calls itSystem instructionsWhere a writer meets itThe saved instructions inside a Gem in the Gemini app, which Gemini skills replace on personal accounts
Terms as used in each vendor's developer documentation, checked November 18, 2026.

OpenAI's prompting guide states the ranking outright: messages from the developer take priority over messages from the user. This is one reason an assistant built into a product may decline a request the same model would accept elsewhere. Google's documentation shows the mechanism with a toy case, a single line telling the model it is a cat named Neko.

The system prompts you write

Chat apps let you add a layer of your own. It is applied to the same conversations as the vendor's prompt and does not replace it.

  • ChatGPT custom instructions. Two fields of up to 1,500 characters each, on every plan, applied to new chats only, according to OpenAI's help center; release notes of July 15, 2026 raised the limit to 5,000 characters on Plus, Pro, Business, Enterprise and Education. Examples are in ChatGPT custom instructions for writing.
  • Claude instructions. Anthropic's help center describes “Instructions for Claude” in Settings, which apply to all your conversations, and project instructions, which apply only to chats inside one project. See Claude Projects for writing.
  • Gemini Gems. Google describes a Gem as saved, detailed instructions for a task you repeat, with files attached for context. On personal accounts Gems went read-only on November 17, 2026 and are removed on December 17, 2026, when Google converts them to skills. See Gemini Gems for writing.

Vendor guides say what belongs in one. Anthropic says a role helps even at one sentence, and that a rule works better with its reason attached. OpenAI suggests four parts: identity, instructions, examples and context. A version for editing work might read like this.

Standing instructions for a line editor

You are a line editor working on narrative nonfiction for general readers.

When I paste a passage, mark what you would change and say why in one sentence each. Do not rewrite a passage unless I ask. Keep my spelling (US) and my sentence rhythm; I use fragments on purpose.

Flag any factual claim you cannot confirm from the text I gave you. Write your notes in plain paragraphs, because I read them aloud to a co-author.

Original example, written for this page.

The craft of writing instructions like these is the subject of prompt engineering.

What it cannot do

  • Keep a secret. Anthropic's guidance on prompt leaks says no method of hiding a system prompt is foolproof, and advises leaving out anything the model does not need. Treat your own instructions the same way and keep confidential details out of them.
  • Come free. Instructions are text, so they take up part of the context window in every conversation. Google counts system instructions as input tokens, and OpenAI lists them among the things that reduce the room for your own input in ChatGPT.
  • Guarantee a result. OpenAI's guide describes model output as non-deterministic, so the same instructions can produce different results on different runs. Check that a rule is being followed before you rely on it.

Standing instructions in Strokes

Strokes is a desktop writing app for macOS and Windows. One place a short brief of your own applies there is its AI readers: next to the built-in ones, such as a skeptic, an editor and a fact-checker, you can describe a reader yourself, and it reads the whole document and comments without changing the text. The Strokes Assistant sits in a panel beside the document, and every edit it proposes arrives as a suggestion you accept or reject.

Frequently asked questions

What is a system prompt in simple terms?

It is the briefing a model gets before you arrive. A company that builds an assistant writes down who the assistant is, how it should talk and what it should refuse, and that text is placed ahead of every conversation. You see only the behavior that results from it, unless the company chooses to publish the text.

What is the difference between a system prompt and a user prompt?

A user prompt is what you type into the chat: a question, a draft, a request. A system prompt is set up in advance by the product's maker, stays in force for the whole conversation and outranks your messages when the two conflict. Saved settings such as custom instructions sit between the two: you write them, but they act like standing instructions.

Can I read the system prompt of Claude or ChatGPT?

For Claude, yes. Anthropic publishes the prompts of its web and mobile apps, one page per model, with dated entries. SpaceXSI, formerly xAI, does the same for Grok in a public GitHub repository. We did not find an equivalent official page from OpenAI or Google while preparing this entry, and prompts described online as leaked cannot be checked against a source.

Do custom instructions replace the system prompt?

No. They are added to it. The vendor's own prompt still opens every conversation in its app, and your instructions apply to those same conversations. In ChatGPT a change to custom instructions affects only chats started afterwards, so begin a new chat to see the effect of an edit.

Read next