Nothing is sent without a yes

Bot Cookbook

Search the index

Search templates, guides, and prompts.

Guide

How to Write Grok Bot Instructions

Put rules that should stay true in the bot's description. Put the task you want done now in the message. A useful task names the outcome, the sources, what to avoid, what to hand back, and when to stop for you. That split is how the Grok Bot docs separate a description from a conversation. The steps below follow those two pages.

What is a good Grok Bot system prompt?

Put the rules that should stay true in the bot description. Put the task you want done now in the message. A useful task names the outcome, the sources, what to avoid, what to hand back, and when to stop for you. That split is the system-prompt shape already used in the steps below, taken from the bots page and the get-started page.

Checked 16 Oct 2026. Each claim below links to the page it comes from.

  1. 1

    Write the description as standing rules

    The bots page says standing rules belong in the description, and the job for right now belongs in the chat. A description can name the job, the sources, and a boundary such as never sending a message without approval.

    Create and manage Bots

  2. 2

    Name one job

    The same page says a clear job has its own goal, tools, working style, approval boundary, or schedule. A catch-all job such as a general helper gives the bot less to reuse.

    Create and manage Bots

  3. 3

    Put the task in the message

    Say what finished looks like, which files or apps matter, what it must not change, what it should hand back, and when it should stop. The get-started page lists those five parts as a strong request.

    Get started

  4. 4

    Keep safety rules in the description

    The bots page says memory is not the place to store a fact you may need to prove, and that safety limits belong in the description. Correct a stale assumption in the conversation when you see one.

    Create and manage Bots

  5. 5

    Share only what you would publish

    If you later share the bot as a template, the bots page says a public link shows the identity, description, skills, and routines. Remove API keys, internal URLs, and customer data before you copy the link.

    Create and manage Bots

To do this on a new bot, start with create your first Grok Bot. The plain-language version is how to tell your bot what to do, in Learn Grok Bot.

Questions

What belongs in the description, and what belongs in the message?
Standing rules go in the description. The job for right now goes in the message. One example is a description that refuses to send a message until you approve it, and a message that drafts follow-ups for one named list.
What should a first task include?
The get-started page lists five parts: the outcome, the sources, the constraints, the deliverable, and the point where the bot should stop for you.

Sources