A system prompt is a hidden set of instructions given to an AI model that defines its behavior, personality, capabilities, and constraints. Unlike user prompts visible in conversation, system prompts shape how the AI responds to all requests and persist throughout a session.
System prompts are the invisible rules that govern AI behavior. Understanding them helps you work effectively with AI tools and customize their behavior when possible.
[System Prompt: Hidden instructions defining AI behavior]
[User Prompt: Your visible message]
↓
[AI Response: Shaped by both system and user prompts]
| System Prompt | Cursor Rules |
|---|---|
| Set by the tool provider | Set by you |
| Hidden from users | Visible in your project |
| General tool behavior | Project-specific guidance |
| Can't modify directly | Fully customizable |
Whether in system prompts or Cursor Rules:
Most AI tools have system prompts you never see. When a tool "just works" with your coding style, that's often a well-crafted system prompt. Cursor Rules let you add your own layer on top.