Quick definition · 2 min AI term

System prompt

A system prompt is a standing instruction set at the start of a chat that tells the model how to behave, before you ask anything.

Think of it like

Like the brief you hand someone on day one: tone, rules, and what to do, sitting in the background the whole time.

Example

“You are a terse coding assistant. Always cite file paths and never invent APIs.” Every later answer is shaped by it.

Why it matters

It is the most reliable lever for steering an AI. Role, format, and guardrails live here, separate from your actual question.

Where you’ll see it
ChatGPT custom instructionsClaudeOpenAI APICursor rules KB Cafe · Context Window Visualizer
Go deeper It lives in the context window → The full explainer. This quick definition is just the on-ramp. Next step How to write code with AI → Where the system prompt fits when you brief a model to write code. ← All terms in the dictionary