Definition & Explanation
A system prompt is a special type of instruction given to a large language model (LLM) at the start of a conversation session. Unlike user messages, system prompts are typically invisible to end users and are used by developers and companies to configure how the AI behaves. They can define the AI's persona, set boundaries on what it can and cannot do, establish its tone and communication style, and provide background context. System prompts are the primary way AI coding tools like Cursor, Claude Code, and GitHub Copilot define their specialized behaviors.