System Prompt
A special instruction set given to an AI model before the user's message, defining the model's persona, behavior rules, output format, and constraints. The foundation of custom AI assistants and chatbots.
Why it matters
The system prompt is the hidden instruction that shapes how an AI behaves before you type anything. It sets the persona, the rules, the tone, and the format. Most custom assistants and "GPTs" are really just a good system prompt wrapped around a standard model. Learning to write clear ones is the single highest-leverage skill for getting consistent, on-brand results from any AI tool.
In practice
You want an assistant that always replies as a friendly fitness coach in three short bullet points and never gives medical advice. You put exactly that in the system prompt: the role, the format, and the boundary. From then on, every user message is answered in that style automatically, without the user having to repeat the instructions or even know they exist. Change the system prompt and the whole personality changes.
Related terms
A/B Testing (for Prompts)
Running two or more prompt variations against the same AI model to compare output quality. Data-driven prompt optimization that consistently outperforms intuition-based prompting.
Chain-of-Thought (CoT)
A prompting technique that instructs the AI to reason step-by-step before giving a final answer. Dramatically improves accuracy on complex reasoning, math, and logic tasks.
Few-Shot Prompting
Providing 2-5 examples of desired input-output pairs in your prompt before asking the AI to perform the task. Significantly improves output quality for specialized tasks.
Prompt Engineering
The skill of crafting effective AI prompts to achieve desired outputs. Techniques include role-setting, few-shot examples, chain-of-thought reasoning, and constraint specification.
Zero-Shot Prompting
Asking an AI to perform a task without providing any examples. Relies entirely on the model's pre-trained knowledge. Works well for common tasks.