A system prompt is a top-level instruction that defines how a model should behave across a task or conversation.
It often sets things like:
- role
- tone
- output expectations
- priorities
- constraints
Why system prompts matter
System prompts shape the model’s default behavior before user messages add task-specific input. That makes them useful for workflows where consistency matters, such as tutoring, code review, support, or structured writing.
A system prompt is not the whole workflow
Strong system prompts create guardrails, but they do not solve everything. If the task context is weak or the request is underspecified, the output can still drift.
That is why many practical workflows combine a system prompt with a task prompt or template.