Esc

System prompt

Instructions given to the model outside the conversation. They apply to every turn, not to one message.

A system prompt holds standing rules: who the model plays, what it always or never does, what shape the output takes. It travels separately from user messages. Models are trained to weight it more and to keep following it as the chat goes on.

Here is a quick test for whether something belongs in it. Would you otherwise paste it into every message? Role, tone, output format, domain limits and refusal rules pass. The task of the moment does not.

Products expose it under different names. ChatGPT calls it custom instructions, the API has a system parameter, and a repository can carry a CLAUDE.md or AGENTS.md file. It is one mechanism with four labels.

Where this comes up

Prompts, configs and tutorials in the library that touch this term.