xai-org/grok-prompts
Jinja
Captured source
source ↗published May 15, 2025seen 6dcaptured 10hhttp 200method plain
xai-org/grok-prompts
Description: Prompts for our Grok chat assistant and the @grok bot on X.
Language: Jinja
License: AGPL-3.0
Stars: 4154
Forks: 463
Open issues: 87
Created: 2025-05-15T20:58:16Z
Pushed: 2025-11-17T20:40:23Z
Default branch: main
Fork: no
Archived: no
README:
Grok prompts
We are regularly updating this repository with the system prompts that we use for the Grok chat assistant and various product features across X and grok.com.
Prompts
The following prompts are made public via this repository:
- [
grok4_system_turn_prompt_v8.j2](grok4_system_turn_prompt_v8.j2) - The system prompt for the Grok 4 chat assistant on grok.com and X. - [
grok3_official0330_p1.j2](grok3_official0330_p1.j2) - The system prompt for the Grok 3 chat assistant on grok.com and X. - [
grok_analyze_button.j2](grok_analyze_button.j2) - Used for the "Grok Explain" feature on X. - [
ask_grok_system_prompt.j2](ask_grok_system_prompt.j2) - Prompt for the Grok bot on X. - [
grok_4_code_rc1_safety_prompt.txt](grok_4_code_rc1_safety_prompt.txt) - Injected system prompt prefix forgrok-code-fast-1model on the xAI API. - [
grok_4_mini_system_prompt.txt](grok_4_mini_system_prompt.txt) - Injected system prompt prefix forgrok-4-fastmodel on the xAI API. - [
grok_4_safety_prompt.txt](grok_4_safety_prompt.txt) - Injected system prompt prefix forgrok-4-0709model on the xAI API. - [
grok4p1_non_thinking_no_tool_system_turn_prompt.j2](grok4p1_non_thinking_no_tool_system_turn_prompt.j2) - The system prompt for grok 4.1 non thinking no tool - [
grok4p1_non_thinking_system_turn_prompt.j2](grok4p1_non_thinking_system_turn_prompt.j2) - The system prompt for grok 4.1 non thinking with tool - [
grok4p1_thinking_system_turn_prompt_v2](grok4p1_thinking_system_turn_prompt_v2.j2) - The system prompt for grok 4.1 thinking no tool
License
This project is licensed under the GNU Affero General Public License v3.0 - see the [LICENSE](LICENSE) file for details.
Notability
notability 6.0/10Notable prompts repo, solid traction.