Coding

86 Hours of Custom Code, 4 Bugs Found in an Hour: Grok Bot Reviewed and Rewrote a Job He'd Quoted at 112 Hours

  • Level Intermediate
  • Setup1–3 hrs (estimated)
  • Evidence Anecdotal
  • CostNot stated in source
  • No-codeNo
Grok BotSource-linked

What they did

He spent 86 hours coding a custom job he'd quoted at 112 hours. When he gave it to Grok Bot, it found 4 bugs and rewrote the code, better, in about an hour, with him only answering basic questions.

How it went

4 bugs found and a cleaner rewrite in about an hour.

Worth knowing

  • X post by @BeefStewtoo (Oct 26, 2026 Denver time): Grok Bot found 4 bugs in 86 hours of custom code and rewrote it in about an hour.
  • Test any rewrite against the original before shipping to a client; 'better' code can still change behavior.

Prompt

Cleaned version rewritten from the source — not a direct quote.

Review this code ([repo/files]) for a client job: [what it does]. Find bugs with exact lines and how to reproduce each one. Then propose a cleaner version, ask me any questions about requirements first, and keep behavior the same unless I approve a change. Give me a diff, not a silent rewrite.

Recommended

Try it in Grok Bot

  1. Copy the prompt (button below).
  2. Open Grok Bot chat and paste it. Replace any [bracketed] placeholders.
  3. Connect the listed tools (as needed) as connectors when Grok Bot asks.
  4. If the task repeats, ask: "Make this a daily routine."

Alternatives: the same prompt works in Claude, ChatGPT Agent, OpenClaw.

Set it up

Stack: Grok Bot + code

  1. Read the original source for full context.
  2. Connect the tools your agent needs.
  3. Paste the prompt and replace [bracketed] placeholders.
  4. Run once manually and check the output before scheduling it.

Generic suggested steps, not from the source.

Evidence

X post by @BeefStewtoo (Oct 26, 2026 Denver time): Grok Bot found 4 bugs in 86 hours of custom code and rewrote it in about an hour. Test any rewrite against the original before shipping to a client; 'better' code can still change behavior

Source: X · 2026-10-26 · Verified by us: not yet · Report broken or outdated

Related use cases

ResearchX · 2026-10

Scrape X bookmarks into a Notion database every few hours

Bookmarks pile up and get forgotten. Jeston Lu built a Grok Bot that scrapes saved X posts every 6 hours and auto-categorizes them into a Notion database so the archive stays searchable.

  • Level Intermediate
  • Setup1–3 hrs*
  • Evidence Strong evidence
Grok BotSource-linked
ShoppingX · 2026-10

Research fun Lego sets and place the order

Elon Musk asked Grok Bot to research the most fun Lego Star Wars kits for young kids and order them — “as easy as that.” Follow-up reporting noted multiple sets totaling a few hundred dollars; treat purchase confirmation as mandatory for your own runs.

  • Level Beginner
  • Setup~30 min*
  • Evidence Strong evidence
Grok BotSource-linkedBeginner-friendly
Inbox & communicationX · 2026-10

Ask your bot for a security review of an email that passed every check

An email from [email protected] landed in a Tesla engineer's inbox. It passed SPF, DKIM and DMARC (the checks that confirm who sent an email) and showed the blue check, but something felt off, so he asked his Grok Bot to do a security review. It found a hidden phishing link, explained why every safety check had passed, and wrote a report to xAI with a proposed fix. He then had it add a security routine that checks his email for anything phishy going forward.

  • Level Beginner
  • Setup~30 min*
  • Evidence Strong evidence
Grok BotSource-linkedBeginner-friendly