What is a system prompt?

A system prompt is a set of standing instructions that an AI tool gives the model before your conversation starts. It sets the role, the rules and the tone.

Key takeaways

  • The system prompt applies to every message in the conversation.
  • Custom GPTs, Claude Projects and Gemini Gems are built around a system prompt that you write.
  • It is the right place for rules you would otherwise repeat in every chat.

How it works

The tool places the system prompt at the start of the context window, before your first message. The model reads it first and treats it as the standing brief for the session. Your own messages then add the task of the moment.

Example

A consultant creates a Claude Project called Proposal Writer. Its instructions say who the clients are, how the firm prices work and which words to avoid. Each new chat in that project follows those rules with no reminder.

Why it matters

A good system prompt turns a general chat tool into a specialist for your business. You write it one time and reuse it every day.

Common mistake

A system prompt is not a security wall. Users can often get a model to reveal or ignore it, so do not put secrets in it.

Related terms

See all terms in the AI Encyclopedia, the numbers on the AI statistics pages, or build a prompt with the prompt builder.