System Prompt: Write Your AI Project's Standing Instructions Once
By Alexandre Saint-Jean
Audio version
Audio version produced by text-to-speech from the article. Our AI charter
Every week you ask your assistant for the same kind of text: a reply to a client, meeting notes, a data sheet. And every week you retype the same rules: the tone, the length, what it must not invent. A system prompt lets you write them once, in the place where the assistant rereads them before each of your messages.
What is a system prompt?
A system prompt is the standing instruction that goes with all your requests within a project. You do not see it scroll by in the conversation, but the assistant takes it into account in every answer.
For developers, OpenAI's documentation separates two roles: developer messages, which take priority over user messages. Anthropic's guide, for its part, recommends setting a role there: "even a single sentence" changes Claude's behavior and tone. For you, using the assistant without programming, it is the same idea under another name: the project instructions.
It is also the detailed version of the "project" level described in our guide to account and project context. That guide says where each setting lives; this one says what to write in it.
Where do you write your system prompt, tool by tool?
The names below are those of the help pages consulted in early November 2026. They change fast: check your own screen.
- Claude. Open a project, click "Set project instructions", write how Claude should behave and respond, then "Save instructions". They apply to every chat in the project. The documents you upload are the project's "knowledge", a separate setting.
- ChatGPT. According to OpenAI's help center, a project's instructions are set in the project's settings. They apply only within that project and take precedence over your global custom instructions.
- Mistral (Vibe, the new name of Le Chat). Create a project: "New Project", next to "Projects" in the left sidebar, a name, "Create". Open it, then "Instructions", "Customize": these instructions apply to every chat in the project, and you can attach files. For an instruction that holds for the whole account, it is "Context", then "Instructions".
- Gemini. The standing instruction is set for the whole account: "Settings & help", "Personal context", then "Add" under "Your instructions for Gemini". Google says it applies to every chat. Gems, which played that role per assistant, turn read-only on 17 November 2026 on personal accounts, are removed on 17 December, and become skills, which are something else (see below).
- Microsoft Copilot. In Microsoft 365 Copilot Chat: "Chat settings", "Personalization", the "Custom instructions" tile, "Edit instructions". It is an account setting, not a project one.
System prompt or skill? Do not confuse the two. The system prompt is reread before every message in the project or account. A skill is a named procedure (for example "write meeting minutes") that the assistant loads only when a request calls for it: Google writes that Gemini applies it "when relevant". At Mistral, when a skill is active, its instructions take precedence over your custom instructions. The system prompt says who the assistant is and how it always answers; a skill says how to do one specific task.
What goes in a system prompt: the 4 blocks
OpenAI describes a message of this kind in four parts, in this order: the assistant's identity, the instructions, examples, the context. Here is our shorter version, drawn from practice in our training sessions. These are benchmarks we apply, not a vendor rule.
- Who the assistant is and who it works for. One sentence: "You help me write my firm's replies to its clients."
- The format of every answer. Length, language, tone, structure: “At most 120 words, then a "To check" line.”
- At most three don'ts, each with its replacement. This is the negative constraint, with a verifiable limit: "no number that is not in my text; write "to be confirmed" instead".
- What it does when information is missing or when the request falls outside the project. "Ask me a question first." and "If the request has nothing to do with these messages, say so in one sentence and do not handle it." Without the first line, the assistant fills the gap itself; without the second, it answers anything.
Keep it short. Mistral advises a few well-written sentences and advises against putting the brief of a specific task in it: that goes in the request.
A full example to adapt
The weak system prompt
"You are a helpful and professional assistant who always answers clearly."
Nothing in it can be checked. "Clearly" says nothing about length, tone, or what to do with missing data.
The structured system prompt
In the project instructions: “You help me write the messages I send to my clients [state your profession here]. You write in English, in short sentences. Every answer starts with the message ready to send (120 words at most), then a line "To check" listing the numbers and dates used. Three don'ts: no number and no date that is not in the text I give you (write "to be confirmed" instead), no superlatives (use a specific fact from my text instead), no personal data about a client (write [client name] instead, I will fill it in). If an essential piece of information is missing, ask me a question first. If the request has nothing to do with these messages, say so in one sentence and do not handle it.”
The "To check" line is the checkpoint: it tells you in three seconds what to compare with your material.
How do you test a system prompt on 3 requests?
A system prompt is judged by use, not by reading it. In a conversation of the project, run three requests in a row.
The test prompt
“Test of my project instructions. Answer these three requests one after the other, without adding anything. 1) [a request you make often, with its text]. 2) [the same request, but without an essential piece of data]. 3) [a request that has nothing to do with this project]. I will check each answer against my instructions myself.”
Then you check by hand: does answer 1 follow the format and the "To check" line? Does answer 2 ask a question instead of inventing? Is answer 3 declined in one sentence, since it falls outside the project? If an answer misses, fix one line of the system prompt, rerun the same test, compare. Fixing three lines at once keeps you from knowing which one worked.
What should you not put in a system prompt?
- Secrets or personal data. No password, no key, no data about a client, a pupil or a colleague. A project is a tool setting, not a protected space. Mistral's documentation says so for its standing instructions: they persist from one task to the next.
- Numbers that change. This month's prices, availabilities: paste them into the request, where you can see what the assistant has in front of it.
- The brief of a specific task. It belongs in today's request, not in what holds for the whole project.
- Rules that contradict each other. If one block says "120 words at most" and another says "expand on every point", results become uneven.
What are the limits of this method?
First, a system prompt is not a guarantee. The assistant may not follow a line, especially if it is vague or buried in a long text. Hence the three-request test, and the review of each answer.
Second, a system prompt does not replace a confidentiality rule. Writing "do not name any client" does not make it acceptable to paste personal data into a tool your company has not approved.
Third, settings change fast. In November 2026, Gemini's Gems give way to skills, and Mistral's Le Chat is now called Vibe. The principle does not change: what holds for a whole project is written once, in the right place, and tested.
How do you make this a habit?
Pick the task you ask for most often. Create a project for it, write the four blocks, run the three-request test, then note what you no longer had to retype. When a don't comes back in several projects, move it up to account level, as explained in the account and project context guide. To improve one specific request, see refining a prompt one change at a time. For the basic definitions, see a plain-language prompt definition.
This progression (brief, role, context, task, examples, reasoning, limits, standing instructions) is the one our free AI newsletter follows, one idea per week.
Frequently asked questions
- What is a system prompt?
- It is the instruction the assistant reads before each of your messages, without you retyping it. For developers, OpenAI's documentation separates "developer" messages, which take priority over "user" messages. In a consumer tool the field rarely goes by that name: you will see project instructions or custom instructions.
- Where do I write a system prompt in ChatGPT, Claude or Gemini?
- In Claude, open a project, click "Set project instructions", then "Save instructions". In ChatGPT, according to OpenAI's help center, set the instructions in the project's settings. In Gemini, the standing instruction is set for the whole account, under "Personal context", "Your instructions for Gemini" (a skill is something else: a procedure loaded only when a request calls for it). In Vibe (Mistral), open a project, then "Instructions", "Customize". Names change fast: check your own screen.
- What should a good system prompt contain?
- In our method, four short blocks: who the assistant is and who it works for, the format of every answer, at most three don'ts each with its replacement, and what it does when information is missing or when the request falls outside the project. OpenAI describes such a message in four parts of its own: identity, instructions, examples, context. The two breakdowns overlap.
- How long should a system prompt be?
- As short as it can be. Character limits differ by tool and plan and change often, so we do not give a figure. Mistral advises a few well-written sentences, without the brief of a specific task and without rules that contradict your requests.
- What should never go in a system prompt?
- Passwords, keys, personal data about clients, pupils or colleagues, and anything confidential if the tool has not been approved by your company. A project is not a protected space under GDPR. Also avoid numbers that change (this month's prices), which belong in the request.
Sources
- Anthropic, Prompting best practices (Give Claude a role: the role goes in the system prompt)
- OpenAI, Prompt engineering guide (message roles: developer and user, structure of a developer message)
- Anthropic, How can I create and manage projects (Set project instructions)
- OpenAI Help Center, Projects in ChatGPT (project instructions)
- Google, Gemini Apps Help: Your instructions for Gemini (Personal context)
- Google, Use Gems in Gemini Apps
- Google, the Gems-to-skills transition (dates)
- Mistral AI, Vibe Work documentation: Custom instructions
- Mistral AI, Vibe Work documentation: Projects (project instructions)
- Mistral AI, help center: Le Chat is now Vibe
- Mistral AI, Vibe documentation (Agents: use Skills instead)
- Mistral AI, Vibe documentation: Agents, a legacy Chat feature
- Microsoft, Customize how Microsoft 365 Copilot responds to you