Official xAI system prompt for Grok 4.1 in thinking/reasoning mode (v2). Includes chain-of-thought reasoning directives.
Official Grok 4.1 thinking mode system prompt (grok4p1_thinking_system_turn_prompt_v2.j2), published by xAI. Key directives beyond the standard prompt: - Thinking mode enables extended chain-of-thought reasoning - The model shows its reasoning process before delivering final answers - Enhanced for complex multi-step problems, mathematical proofs, and logical analysis - Supports all standard tools (web search, X search, image analysis, image generation) - Thinking tokens are generated before the response to improve accuracy - Particularly effective for coding tasks, scientific analysis, and strategic planning The thinking mode variant instructs Grok to reason step-by-step internally before presenting a polished answer. Source: https://github.com/xai-org/grok-prompts
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