โšกGrok Bot & AI Agents ยท Step-by-step guide

Stop your bots getting messy: keep their rules short, tidy and in one place you own

Over weeks, a bot collects rules and notes that overlap, contradict each other and go out of date, so it stops doing what it says. A free Grok Bot template called Context Discipline keeps a small set of rule files in a folder you own, loads only the few that apply each time, and every morning suggests clean-ups for you to approve.

โฑ๏ธ 45 minutes๐ŸŽฏ Medium๐Ÿ’ต Free template and GitHub; Grok Bot Premium USD 30/month after the trial๐Ÿ“‹ 7 steps
๐Ÿค– Grok Bot๐Ÿ“˜ How-to
๐ŸŽฏ What you'll have at the endYour bots will work from a short, tidy set of rules kept in a folder you own, with daily suggestions to fix anything messy.

๐Ÿ‘€ What you'll get

Example

Here's the kind of thing you'll have at the end:

โœ… ListMorning suggestions ยท Lim's bots (made up)

Suggested today

  • Merge 'reply in British English' and 'use UK spelling' into one rule
  • 'Send invoices on Fridays' contradicts 'send invoices on the 1st': which one?
  • Remove the old note about the 2025 price list

Promise check

  • Said it would draft 3 supplier emails: done
  • Said it would update the stock sheet: not done

Waiting for your yes

  • 3 changes, nothing applied yet

๐Ÿงช Made-up sample to show the kind of result. Your output will vary.

๐Ÿ’ธ What will this really cost me?

Prices checked 24 Nov 2026
๐Ÿงช To try it once
The template itself is free. Free trial credit for new Grok Bot accounts (it runs out by how much work the bot does, within 7 days). After that you need The X Subscription Premium at USDย 30 a month. A GitHub account is free.
๐Ÿ” To keep it running
Included in Premium: USDย 30 a month, or USDย 25 a month paid yearly. Super (USDย 100) and Ultra (USDย 200) give bigger weekly allowances. Private GitHub repositories are free on the free plan.
โš ๏ธ Watch out for
The morning review is one more scheduled job, so it uses some of the weekly allowance. Bots share one weekly allowance; past it, extra work is paid from prepaid credit, so set a monthly limit. The Plus plan (USDย 8) doesn't include Grok Bot.

๐Ÿ”— Official pricing: The X Subscription pricing ยท Grok Bot plans & usage ยท GitHub pricing

Prices change often, so check the links before you pay. Amounts exclude tax. Prices are shown in each provider's own currency.

๐Ÿ“Š How does this compare? See what every AI use case costs โ†’

๐Ÿงพ Which plan do I need?

๐Ÿช™ Small upgrade ยท MYR 122/mo

Grok Bot runs in The X Subscription Premium (the trial credit lasts up to 7 days).

Tick what you already pay for:

๐Ÿช™ Small = up to MYR 250 a month more ยท ๐Ÿ’Ž Big = over MYR 250 a month more ยท prices from each provider's pricing page, checked 21 Oct 2026.
โ„น๏ธ How we work this outPrices come from each provider's own pricing page (checked 21 Oct 2026; amounts exclude tax). Small upgrade = up to MYR 250 a month more than you pay now. Big upgrade = more than MYR 250 a month more. Check pricing = the provider doesn't publish a price we could confirm. The badges are worked out in MYR at USD 1 = MYR 4.08 (Bank Negara Malaysia, 13 Nov 2026). Each guide's needs come from its own "What will this really cost me?" box. Your ticks stay in this browser only (no account, nothing sent to us).
Tick all your plans on the home page โ†’

โฑ๏ธ Try it in 10 minutes

๐Ÿงช Dry run ยท nothing to connect

What you'll see: A made-up bot's messy rules sorted, tidied and the contradictions flagged.

๐Ÿงช Dry run. The real thing needs your apps connected, so this tries only the AI's part on a sample you paste in. Nothing is connected, sent or booked.

Copy the prompt, paste it into one of the free AI apps below and press send. The sample is made up, so swap in your own details if you like.

๐Ÿ’ฌ Your 10-minute test
Here are a made-up bot's messy instructions:
- Always reply in British English.
- Use UK spelling.
- Send invoices every Friday.
- Send invoices on the 1st of each month.
- Our price list is the 2025 one.
- Keep replies under 100 words.
- Never send anything without asking me.

1. Sort them into rules for every time, rules for certain moments, and ones that are duplicated, out of date or contradicting.
2. Suggest a tidy final list.
3. Ask me the one question you need answered.

โœ… Works on: Grok Bot trial credit ยท ChatGPT Free ยท Claude Free ยท Gemini app (free)

Links go to the official plan pages. Free plans have daily limits and can change, so check before you rely on them.

โžก๏ธ Like it? The full setup adds: In the full setup the template keeps these files in your own GitHub folder and suggests clean-ups every morning. Go to the steps โ†“

โšก One-click install

Checked install pages (app stores, official sites and template pages): tap to get it straight away.

๐Ÿงฐ Before you start

โฑ๏ธ Time needed45 minutes
๐Ÿ’ต Rough costFree template and GitHub; Grok Bot Premium USD 30/month after the trial

๐Ÿชœ Step by step

๐Ÿฃ Beginner mode: showing the 6 essential steps only. Extra steps are hidden; tap ๐Ÿš€ Advanced at the top to see all 7.
โœ… 0 of 7 steps done ๐Ÿ“„ Printable page
  1. 1
    โ˜

    Get Grok Bot

    Install Grok Bot (buttons below) and sign in. In Settings, look for Usage & Billing and set a monthly spending limit so it can never surprise you.

  2. 2
    โ˜

    Create a free GitHub account

    Sign up at github.com. GitHub keeps every version of your bot's rule files, so you can undo any change.

  3. 3
    โ˜

    Add the template

    Tap 'Add Context Discipline to Grok Bot' below. When it asks, let it set up a private repository (a folder on GitHub) for its notes and rules.

  4. 4
    โ˜

    Look at the starter rules

    Open Ben's public example (link below). Three short files load every time; the others are opened only when they apply. Keep yours just as short.

  5. 5
    โ˜

    Move your old rules in

    Paste the 'Clean up my rules' prompt with your bot's current instructions. It merges duplicates and flags contradictions for you to decide.

  6. 6
    โ˜

    Approve the morning suggestions

    Each morning it suggests improvements to its rules and skills. Say yes or no to each; nothing changes without your OK.

  7. 7
    โ˜

    Optional: check its promises

    Once a week ask: 'What did you say you'd do this week, and did you do it?'

    โž• Extra step: hidden in ๐Ÿฃ Beginner mode

๐Ÿ’ฌ Copy-paste prompts

Tap Copy prompt, paste it into your AI (Grok, ChatGPT, Claude or Gemini), then replace the [yellow bits] with your own details.

๐Ÿ’ฌ Clean up my rules
Here are my bot's current instructions and saved notes: [paste them]. Sort them into: (1) a few rules that apply every time, (2) rules that only apply at a certain moment, with when, and (3) anything out of date, duplicated or contradicting something else. Don't delete anything yet: show me the list and wait for my yes on each change.
๐Ÿ’ฌ Weekly promise check
List everything you told me you would do in the last 7 days. For each, say done, not done or partly done, with the evidence. Then suggest one rule change that would stop the misses happening again.

โš ๏ธ Tips & common mistakes

๐ŸŒŸ Why it's worth it

๐Ÿ’ก Why it mattersA bot you can't rely on costs you time checking its work. Short, tidy rules make it do what it says, and you can see and undo every change.
๐Ÿท๏ธ Real exampleBen Gillenwater (Family IT Guy), in IT since 1995, shared his Context Discipline template and a public set of instruction files on 2 Nov 2026: three files load every time, the rest only when they apply.
๐Ÿ”Œ Connects to:GitHub (a repository you own)Grok Bot
๐Ÿ“˜ Proof level: How-toA how-to guide, template or new feature from the maker or a guide site. It shows what you can set up and claims no particular results.
๐Ÿ“ฐ Found via X (Twitter): Family IT Guy: How I set up my Grok Bots to be reliable, and a template so you can do the same (X article) โ†—

๐Ÿ”— Helpful links

๐Ÿ“ฌ Every Monday: new things AI can do for you, with the exact prompt to copy

Sign up free and get our PDF of 20 copy-paste AI prompts straight away. One short email a week, unsubscribe in one click.

โ† Back to all use cases