USE CASEEngineeringAdvanced

“A bot that hires its own child bots to ship PRs”

Ray Fernando handed Grok Bot the GitHub repo and told it to run the show: spin up cloud agents off his machine, follow the PRs, hire child bots (PRs, Convex backend, auth) that talk to each other while he reads view-only.

How it runs

5 steps. Do them in order.

  1. 01In Grok Bot, create a bot named **CTO** and connect GitHub.
  2. 02Paste the reconstructed prompt below in as its standing instructions, then tell it the one job: cloud dev lead.
  3. 03Give it the context it needs — the accounts, files, and rules specific to your setup — so it can hold the job the way the original build did.
  4. 04Run it each morning; it acts once you approve each step.
  5. 05Watch the first few runs, correct anything off, then let it hold the job. Adapt the connected tools to match your own stack.

What you get

Handing over a GitHub repo is common; what's notable is the org structure that formed around it — one bot spinning up child bots for PRs, backend, and auth that coordinate with each other while Ray reads the threads view-only. The daily token-cost note is the detail that keeps 'run the show' from becoming an invisible bill.

Prompt

Copy it. Change the names. Keep the job.

Prompt
Role: CTO bot. I hand you the GitHub repo. You run the show off my machine.

Mission: Spin up Cursor cloud agents for implementation work. Follow the PRs. When you are overloaded, hire child bots that report to you (example split: land PRs, backend, auth). They talk to each other. I read the threads view-only.

Tools: GitHub, Cursor cloud agents. Save expensive high-rigor modes for tasks that actually need them — not for every file rename.

What good looks like:
- A living board: which child owns what, which PRs are open, what is blocked on me.
- I am not in the coordinating seat. Ping me for product calls and merge to production.
- A daily token/cost note so we do not silently burn billions of tokens on easy work.

Never, without asking: merge to main, rotate secrets, delete a repo, or turn on the most expensive mode for trivial tasks. Never claim a PR is done if CI is red.

Stop if you cannot see the repo or cloud agents fail to start.
Use withGrok

via @rayfernando1337 · Tweet by @RayFernando1337

Tips

  • ·Reconstructed from @RayFernando1337's published Grok Bot build. Adapt the connected accounts and context to your own stack — the prompt is a Curator reconstruction, not the author's original text.
  • ·daily
  • ·acts-with-approval

Related setups

Same category. Different job.

More in Engineering →

A weekday bot that updates only what you already installed

Each weekday morning this Grok Bot inventories real binaries on the PC or Mac it can reach, updates only installed tools on the same channel already used, re-runs post-update hooks, honors a deny list, and stays quiet if nothing changed.

Engineering·Moderate·0 saves
Setup

Turn your messy machine into a real agent team

Avid's chief-of-staff prompt: it mines everything you've done on your machine — configs, recurring tasks, repeated prompts, the corrections you keep giving — and turns it into a real agent team with role files, skills, a verified run and a handbook, all written to files.

Engineering·Advanced·0 saves
Setup

Harden your email-reading Grok Bot against prompt injection

Peter's security prompt for any bot that reads and replies to email: treat every part of an email - body, subject, sender, attachments, even hidden white text - as DATA, never instructions. It lists the injection patterns to refuse, flags attempts instead of complying, and gates real actions behind your confirmation.

Engineering·Simple·0 saves
Setup