Hacker GitHub

← All repos

xai-org/grok-prompts

View on GitHub ↗ ★ 4,560 Jinja

Prompts for our Grok chat assistant and the `@grok` bot on X.

24 mentions on Hacker News by 22 people: 4 stories, 20 comments · first 2025-05-16 · latest 2026-08-12

Mentions per year 24 mentions · busiest year 2025 (22)
20082026
  1. …away from making claims which are politically incorrect, as long as they are well substantiated. https://github.com/xai-org/grok-prompts/commit/c5de4a14feb50...
  2. …The fact that users have found ways to hack around this is not evidence of X committing a crime. https://github.com/xai-org/grok-prompts/blob/main/grok_4_saf...
  3. …"mechahitler" was relatively minor and was there for about a day before being publicly reverted. https://github.com/xai-org/grok-prompts/commit/c5de4a14feb50...
  4. …might have said on a topic to align itself with the company. The diff for the mitigation is here: https://github.com/xai-org/grok-prompts/commit/e517db8b4b253...
    comment by sunaookami · 2025-10-31 · in Tim Bray on Grokipedia
  5. …it had special sauce for certain subjects. For example, Ask Grok allegedly uses this system prompt: https://github.com/xai-org/grok-prompts/blob/main/ask_grok_s... Which does seem very neutral. So then then question is have they encoded…
  6. And the Grok prompts are also open source: https://github.com/xai-org/grok-prompts
  7. …Grok 4 system prompt (that most people will probably interact with on twitter) in their repo: https://github.com/xai-org/grok-prompts/blob/main/ask_grok_s...
    comment by sigmoid10 · 2025-07-12 · in Grok 4 Heavy Protects it's System prompt
  8. …the Grok 4 system prompts there, and those differ from the Grok 3 ones that they previously shared. https://github.com/xai-org/grok-prompts/commits/main/ shows last update 3 days ago.
  9. Which means that whoever is responsible for updating https://github.com/xai-org/grok-prompts neglected to include Grok 4.
  10. …in the prompt were the root of the problem: The second line was recently removed, per the GitHub: https://github.com/xai-org/grok-prompts/commit/c5de4a14feb50...
    comment by KTibow · 2025-07-10 · in Grok 4
  11. …Xai publishes their system prompts, and here's the commit that fixed it (a one line removal): https://github.com/xai-org/grok-prompts/commit/c5de4a14feb50...
    comment by jjordan · 2025-07-10 · in Grok 4 Launch [video]
  12. In general, xAI already do! ( https://github.com/xai-org/grok-prompts ) A chatbot which refers to its guidelines in every chat is annoying to use, so it's just a nice usability feature to ask the bot to suppress that tendency.
  13. …(and now removed) a system prompt to be politically incorrect. I'm sure no other LLM has that. https://github.com/xai-org/grok-prompts/commit/c5de4a14feb50...
    comment by redox99 · 2025-07-09 · in Linda Yaccarino is leaving X
  14. It's just the prompt: https://github.com/xai-org/grok-prompts/commit/c5de4a14feb50... People who don't understand llms think saying don't shy away from making claims that are politically incorrect means it won't PC. In reality saying that…
    comment by coolKid721 · 2025-07-09 · in Linda Yaccarino is leaving X
  15. https://github.com/xai-org/grok-prompts/commit/c5de4a14feb50... git revert MechaHitler But seriously, surprising that this would be sufficient to produce the same behavior. And, frankly, the formal tone went out the window in favor of…
  16. This is interesting... System prompts that are used for the Grok chat assistant... https://github.com/xai-org/grok-prompts
  17. …This is all my memory from a quick glance so no promise it's accurate. Oh also this issue link too: https://github.com/xai-org/grok-prompts/issues/5 https://web.archive.org/web/20250516055145/https://github.co...
    comment by Cieric · 2025-05-16
  18. Yes, and it's going swimmingly well. Some real A+ people running the show over there: https://github.com/xai-org/grok-prompts/pull/3
  19. Other than https://github.com/xai-org/grok-prompts/pull/3
  20. Other than https://github.com/xai-org/grok-prompts/pull/3