Skip to main content

Five overnight Grok Bots, one job each; Opus 5.5 codes on a branch, never main

XXDep2026-10-24

Getting startedLimitsSource read in fullRead first

Overview

The author shares the exact overnight setup of five Grok Bots on one shared cloud computer — reviewer, scout, coder, metrics, lead — each with one job, fenced by a seven-rule block, on a slow schedule, with Claude Code doing the code jobs on a night branch.

Workflow

  1. Trigger: Run real work overnight inside a fence. The author's argument for a night shift instead of a chat window: the layer around the model decides what it may touch, what it sees, who checks the output and when it stops, and Grok Bot gives that layer ready-made. Bots work on a cloud computer with a browser, files and a terminal, so the work is not on the laptop; they keep memory between runs and can run on a schedule or a trigger. A bot that works while you sleep also makes mistakes while you sleep, so the setup is built around three things the author says generic AI-team guides skip: a fence so nothing irreversible happens overnight, a separate reviewer bot that checks the others' work, and real code work with Opus 5.5 through Claude Code on a night branch, inside the fence.
  2. By hand: Give each of the five bots exactly one job. Reviewer checks everyone else's output, returns pass or fail plus a reason per item, and never fixes anything silently. Scout finds what changed in the niche overnight, max 10 items each with a link, and never reports something it did not open. Coder runs one Claude Code task per night, leaves a branch plus summary, and never touches main. Metrics pulls the real numbers, one table plus what moved, and never reports a number it did not reopen. Lead writes the morning briefing and routes daytime tasks, one screen at 07:30, and never does a specialist's job itself. Build order: reviewer, scout, lead — add coder and metrics once those three survive a week.
  3. By hand: Paste the rules block into every bot first. The author calls this the fence; every job prompt assumes it is there. The block as given in the article:

    rules for every bot on this account:

    1. anything that sends, pays, posts, deletes, or changes an account becomes a draft. you never do it yourself.
    2. before reporting any number or claim, reopen the source and include the link. no link, no claim.
    3. use only the logins your job needs. if you hit a login wall, stop and leave it for me. never ask me to paste a password into chat.
    4. night runs never wait for my approval. if a step needs it, write the draft, note it in your log, move on.
    5. two strikes: if the same step fails twice, stop and write what failed and what you tried.
    6. append one line per run to your own log file: date, time, what you did, what changed, what you skipped.
    7. if nothing changed since your last run, write "no change" and stop.
  4. By hand: Give each bot its job prompt. The times follow the schedule in step 5; the author says to change them to the reader's time zone, and the bracketed placeholders are for the reader's own sources, niche, dashboards and repo. Reviewer, to build first:

    you are my reviewer. your only job is checking my other bots' work before it reaches me. at 07:00, read the latest output from scout, coder, and metrics. for each item check:

    • open the source link. does it say what the item claims?
    • does any number differ from the source?
    • is it a duplicate of yesterday?
    • for coder: did it stay on its night branch, and does the summary match the diff?

    output: a table with item / pass or fail / one-line reason. never fix or rewrite an item yourself. you have no stake in the others being right. if everything passes, say so in one line.

    Scout:

    you are my scout. at 02:00, check these sources for anything new since your last run: [your sources: X accounts, changelogs, repos, newsletters] my niche: [one line on what you do and for whom] keep an item only if it's new and someone in my niche would act on it this week. output: max 10 items. one line on what happened, one line on why it matters to me, plus a link you opened. nothing qualifies? write "no change" and stop. log to scout-log.md.

    Metrics:

    you are my metrics bot. at 06:00, open [your dashboards] and pull [the exact metrics]. compare each with the same day last week. output: metric / yesterday / last week / change, then max 3 lines on what moved, marked as a guess. if a source won't load, write n/a. never estimate. log to metrics-log.md.

    Lead, the only bot the author talks to:

    you are my lead and the only bot i talk to. team: scout, coder, metrics, reviewer. at 07:30, after the reviewer, write my briefing:

    1. decisions for me today (max 3), with the draft waiting
    2. what moved in my numbers (reviewer-passed only)
    3. what's new in my niche (reviewer-passed only)
    4. what failed overnight and why

    one screen. no item without a link. during the day, route my tasks to the bot that owns them. hand over the goal, the context, and why, not just the file. if no bot owns it, tell me.

  5. By hand: Set the schedule slow on purpose. 01:00 coder, 02:00 scout, 06:00 metrics, 07:00 reviewer, 07:30 lead. Pick the slowest schedule the job can live with: a routine costs you every time it wakes up, whether or not anything happened, and going from hourly to every 5 minutes is 12x the runs. The author says to speed a job up only after a real miss proves it is too slow, and where a job can start from a trigger instead of a clock, to use the trigger and keep it narrow.
  6. Bot: The coder runs Claude Code in the terminal on a night branch. Since the October update, Grok Bot picks the backend model for each task on its own and Opus 5.5 is one of them, but there is no picker, so when a job needs Opus for sure the author uses the terminal. The coder bot runs Claude Code there, signed in with the author's own Claude subscription, on the repo — that is how refactors, test runs, dependency checks and small fixes get done overnight. One thing to know first: all the bots share that computer, so every bot can use that login. A scheduled bot driving a coding agent gets a tighter fence, the settings.json from the author's overnight Claude Code article: allow the reversible work (read, edit, test, lint, commit), ask before a push or a new dependency, and deny the disasters (recursive delete, force-push, hard reset, .env, raw network calls); deny wins over allow, so no broad rule can open the wall. The author also adds a short rules file in the repo, a Karpathy-style CLAUDE.md broken down in an earlier article. The coder prompt:

    you are my coder. at 01:00, open the repo at [path] and start claude code in plan mode. tonight's task is the top item in TASKS.md. have it write the plan to PLAN.md first. if the plan touches anything on the deny list, stop and log it. otherwise work on a new branch night/[date]. never main. never push. when done, or after two failed attempts at the same step, write to MEMORY.md: what changed, what's left, what needs my decision. add the summary to your log for the reviewer.

  7. Bot: The reviewer checks the other four before the author wakes up. Every bot here can be wrong with confidence — scout links a post that says something slightly different, metrics copies yesterday's number, coder writes a summary that does not match the diff — and a bot checking its own work passes it every time. The reviewer is the only bot with no stake in the others being right: it opens every link, reopens every number, and diffs the coder's summary against the branch. Anything that fails never reaches the briefing; it shows up as a fail with a reason, so the author knows what to fix. Once a week, the lead asks each bot what it believes about the setup and the author corrects anything stale.
  8. By hand: Watch the pitfalls, in the order you will hit them. Too many bots on day one — three that survive beat seven that do not. Fast clocks — a 5-minute routine burns allowance on runs where nothing happened. Night approvals — anything waiting for your yes at 3am waits until you wake, per rule 4. Connections — every bot on the account shares the same computer, files and logins, so connect only what the jobs need. No model picker — you do not control when Opus 5.5 is used inside Grok Bot; the terminal route is the guarantee. Other vendors read your data — whatever model handles a task reads what the bot reads; for some work that is a dealbreaker. Coder scope creep — one task per night, and a branch you cannot review over coffee is too big.

Check: The source has no results from the author's own run.

Key points and results

  • Build the reviewer first. The author's build order is reviewer, scout, lead, adding coder and metrics once those three survive a week; the closing advice repeats that the reviewer is the bot everybody skips and the one the author checks first every morning.
  • The fence rules that matter most, in the author's terms. Rule 1: what counts is whether you can undo it — a small action can be permanent, a big one can be a draft. Rule 4: a request for your yes at 3am just sits there until you wake up, so night jobs have to finish without you. Rule 6: the app only keeps the last 20 runs of each routine, so each bot's own log line is the evidence at 9am. Rule 7: without it, research bots drown you by day four.
  • Routing between bots is where teams leak. When the lead hands a task to another bot, it passes the goal, the context and why — not just the file; otherwise the second bot answers a slightly different question.
  • Fast clocks burn allowance on nothing. A routine costs allowance every time it wakes up, whether or not anything happened, and hourly to every 5 minutes is 12x the runs (author's claim, not reproduced). The author points to a separate routines cost breakdown by Gipp and says to speed a job up only after a real miss proves it is too slow.
  • You cannot force Opus 5.5 inside Grok Bot. Since the October update, Grok Bot picks the backend model for each task on its own and Opus 5.5 is one of them; there is no picker, and the terminal route via Claude Code is the guarantee when a job needs Opus for sure.
  • All bots on the account share one computer. Every bot shares the same computer, files and logins — so every bot can use the Claude Code login, and you should connect only what the jobs need.
  • Deny wins over allow in the coding fence. The settings.json allows the reversible work (read, edit, test, lint, commit), asks before a push or a new dependency, and denies recursive delete, force-push, hard reset, .env and raw network calls; deny wins over allow, so no broad rule can open the wall.
  • Other vendors read your data. Whatever model handles a task reads what the bot reads; the author says that is a dealbreaker for some work.
  • Memory carries stale assumptions forward. Once a week the lead asks each bot what it believes about the setup and the author corrects anything stale — memory carries good habits forward, and it also carries Tuesday's wrong assumption into Friday.
  • When not to build this. Skip it if you mostly ask questions and read answers (a normal chat does that), if you cannot describe the task to a new hire in one paragraph (fix the description first), or if you have one recurring task — the author says this starts paying off at three or four.
  • The short version. Five bots, one job each, reviewer first; one rules block (drafts instead of sends, a source for every claim, two strikes then stop, a log line every run); the slowest schedule that works, nothing waiting on you at 3am; Opus 5.5 on code through Claude Code, on a night branch, behind a deny list.
  • No measured results in the source. The article gives the exact configuration but no figures from the author's own runs — no run counts, outputs or savings; the reusable value is the setup itself.

Contributions from others

Added by others (not the author)

  • @escal8edagent (reply, https://x.com/escal8edagent/status/2124603143438913709) says the fence, not the model, is what matters, and asks what happens when the coder's summary and the diff are wrong in the same direction — the case the reviewer's diff check would not catch.

Source

Platform
X
Author
Dep
Published
Categories
Getting started, Limits

What this evidence label means

Source read in full

We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.