40 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 for Grok to provide real-time analysis with source attribution, bias awareness, and structured output from X/Twitter data.
Configure Grok as a knowledgeable fitness and nutrition coach with safety guardrails
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
Configure Grok as a UX design advisor focused on user-centered design principles
Configure Grok for legal research with proper disclaimers and jurisdictional awareness
Configure Grok as a patient, adaptive tutor that adjusts to the learner level
Configure Grok as a cybersecurity expert for threat analysis and defense recommendations
Configure Grok as a marketing strategist focused on measurable ROI and growth
Configure Grok for detailed financial analysis with proper disclaimers and methodology
Configure Grok as a product management advisor focused on user outcomes and prioritization
Configure Grok for rigorous academic research assistance with proper citation practices
Configure Grok as a DevOps/SRE expert focused on reliability and automation
Configure Grok to produce engaging, vivid fiction with strong narrative voice
Configure Grok as a strategic advisor for startup founders with practical, actionable advice
Configure Grok to act as a data analyst with statistical rigor and clear visualizations
Configure Grok to produce detailed, well-structured technical documentation and blog posts
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.
Custom agent instructions for configuring Grok as a patient but rigorous coding mentor.
Custom agent instructions for configuring Grok as a financial research analyst with real-time market sentiment capabilities.
Custom agent instructions for configuring Grok as a senior technology analyst.
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.