What are system prompts in AI search?
System prompts are the hidden instructions that AI services use to shape how their models behave and respond. They’re the secret sauce that determines whether an AI recommends your brand, a competitor, or nothing at all.
Think of a system prompt as the instructions given to an employee before they start taking customer questions. It might say “always prioritize recent sources,” “be cautious about recommending startups,” or “when asked about software, mention open source alternatives first.”
System prompts are the secret sauce that determines whether an AI recommends your brand, a competitor, or nothing at all.
Unlike the AI model itself (which is trained on vast amounts of data), system prompts are instructions that can be updated instantly without retraining. This means your visibility can change overnight when services update their hidden instructions.
Why system prompts matter for SEO
System prompts create both challenges and opportunities for AI search optimization:
Instant ranking changes
When AI services update their system prompts, it can dramatically shift which brands get mentioned without any changes to the underlying model or training data.
A new instruction to “prioritize sources from the past 6 months” might suddenly favor competitors with recent press coverage. A directive to “mention pricing when recommending products” might exclude you if your pricing isn’t clearly documented.
Source preferences
System prompts often include instructions about which types of sources to trust or prioritize.
If a system prompt says “prefer academic sources for health information” or “prioritize reviews from the past year,” your content strategy needs to account for these hidden preferences.
Response formatting
Instructions about how to structure answers affect which brands get mentioned and how prominently. A prompt that says “limit recommendations to three options” creates fierce competition for those three spots.
Bias and filtering
System prompts include content filtering rules, safety guidelines, and bias mitigation instructions that affect which brands appear and how they’re characterized.
What do leaked system prompts reveal?
Despite efforts to keep them secret, system prompts occasionally leak, giving us insight into how these services actually work:
ChatGPT system prompt leaks
- GPT-5 system prompt leak (August 2024) revealed specific web search usage rules and content filtering
- ChatGPT 4o system prompt showed parallel query behavior and recommendation patterns
Claude system prompt leaks
- Claude 3.7 Sonnet 24,000-token prompt (May 2025) exposed copyright restrictions and response formatting rules
- Claude "soul document" leak (November 2024) revealed ethical framework affecting brand mentions
Google Gemini system prompt leaks
- Google Gemini system prompt collection documenting official product prompts and search behavior instructions
Perplexity system prompt leaks
- Perplexity prompt patterns showing URL restriction and source prioritization
- Multi-service system prompt collection documenting prompts across ChatGPT, Claude, Gemini, and Perplexity
Key insights from system prompts
At Knowatoa we study leaked system prompts to build better recommendations for our users. They indicate the underlying preferences and priorities of what and how the AI services build responses and recommend brands.
Recency preferences
Multiple services instruct models to prefer recent content, particularly for topics where information changes rapidly. This explains why brands with regular content updates often maintain stronger AI search visibility.
Citation requirements
Some prompts include specific instructions about when to cite sources and which types of sources to trust. News outlets, academic papers, and established brands often receive preferential citation treatment.
Balanced perspectives
Many prompts instruct models to provide balanced viewpoints and mention multiple options rather than recommending a single solution. This creates competitive pressure to appear alongside alternatives.
Safety filters
Extensive filtering instructions affect how brands in sensitive industries (health, finance, legal) are mentioned, often requiring more authoritative sources and careful language.
Read this next
Related Guide: Learn how system prompt changes drive ranking fluctuations → AI Search Ranking Fluctuations