7 rules available in the Grok directory
Custom system instructions and configuration rules that shape how the AI behaves. Copy any rule directly into your setup to customize responses, tone, expertise, and output format.
System prompt for building a customer support chatbot with the Grok API
System prompt for the xAI API to get concise, structured responses from Grok
Configuration rules for building real-time voice agents with the Grok Voice Agent API.
System rules and best practices for integrating with the xAI Grok API.
Official system prompt for grok-4-fast (mini) model on the xAI API.
Official safety prompt for the grok-code-fast-1 model on the xAI API.
The safety prompt prefix applied to grok-4-0709 model on the xAI API, defining content boundaries and safety behaviors.