The official system prompt used for Grok 4 on grok.com and X, defining personality, capabilities, and behavioral guardrails.
Official Grok 4 system prompt from xAI's transparency initiative. Defines Grok 4's behavior including real-time X data access, humor personality, and safety guardrails. Available as Jinja2 template on GitHub.
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