6 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 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.
Official xAI system prompt for the "Grok Explain" / "Analyze" button feature on X (Twitter).
Official xAI system prompt for Grok 4.1 in thinking/reasoning mode (v2). Includes chain-of-thought reasoning directives.
Official xAI system prompt for Grok 4.1 in non-thinking mode with tool access. Published in the xai-org/grok-prompts repository under AGPL-3.0.