Skip to main content

Six bots audit small businesses after hours and text the owner for approval

GitHubGitHubnick-devvv2026-11-20

Multi-bot teamsResearchAuthor's claim, unverifiedRead first
GitHubGitHubnick-devvv2026-11-20

Open original

Overview

Hackathon teams or developers can deploy this repo. Create six bots with separate jobs on one Grok Bot account and connect them to your own backend through MCP and webhook Routines. They check pricing, reviews, links, and books and draft fixes for small businesses.

Workflow

  1. What it is: A hackathon project with six Grok Bots that find revenue leaks for small businesses. Three authors built a full deliverable in one day at a Berkeley × Stanford hackathon: a Vercel site with a custom backend and six bots. Rosa looks up the shop and texts the owner, Vic compares local prices, June groups negative reviews, Otto checks site links and platform listings, Lou checks the books, and Fern drafts fixes. Seventh member Dot runs in the uploaded code. The live site includes a demo shop to try.
  2. Grok Bot parts used: Six bots, a shared skill, an MCP server, and webhook Routines. Paste the individual profile from grokbot/BOTS.md into each bot. All use one private afterhours-shift skill (grokbot/skills/afterhours-shift/SKILL.md), connect to the repo backend's remote MCP server at /api/mcp, and get a webhook Routine named afterhours-<name>. There is no x.ai/bot template link. Not part of Grok Bot: The self-deployed site and backend perform calculations, full-site link checks, and texting in code. An xAI API crew (Grok 4.7) takes over after 90 seconds without check-in or six minutes without completion, with a label on the page. The setup also uses a Telegram texting channel and Upstash Redis.
  3. You need: One Grok Bot account, a deployed backend, and two keys. Deploy to Vercel and set AFTERHOURS_AGENT_TOKEN and XAI_API_KEY. The latter is also needed locally. Paid requirements are not stated in the source.
  4. Install: Run it locally, then set up the crew from grokbot/setup/README.md.
    • Step 1: Clone the repo and run npm install. Copy .env.example to .env.local, fill in at least XAI_API_KEY, use npm run dev for the local site, and npm test for tests that do not need keys.
    • Step 2: Deploy the backend so <PUBLIC_URL>/api/mcp is available and configure its token.
    • Step 3: Get Vic working first, then Rosa, Otto, June, and Fern the same way. Install Lou only for bookkeeping. Follow the five sections in grokbot/setup/<name>.md for each: create the bot and paste the profile, save the afterhours-shift skill, connect MCP, create the webhook Routine, and verify. The profile, skill, and Routine are long prompts to copy unchanged from their files. The MCP setup has this short prompt.

      Add this MCP server, named afterhours: <PUBLIC_URL>/api/mcp with header Authorization: Bearer <TOKEN>

    • Step 4: Put each Routine's webhook URL and key in Vercel environment variables, redeploy, and run npm run smoke-grokbot. Each bot should respond pong.
    • Step 5: Set crew to grokbot, start a run, and watch the bot chats and 3D storefront.
  5. After install: The backend triggers bots in order, then a text asks the owner for approval.
    • Rosa first researches the shop's site, map listing, and menu. Vic, June, and Otto run in parallel, with Lou added only if the owner uploaded books. Fern drafts fixes for each finding, and Rosa texts a report.
    • Read public pages only and register every source before use. Report linked findings such as underpricing, negative review themes, inconsistent information, duplicate payments, creeping subscriptions, and shrinking gross margins.
    • The owner's YES 1 text approves a specific fix. Without a reply, take no action.
    • The xAI API crew takes over if a bot has not checked in within 90 seconds, and the page says so.
  6. Did the author run it: Yes, the repo has full run records (author's claim, not reproduced). grokbot-history/crew-runs.md comes from the backend's append-only event log. The team first created six bots that day, with all five in the ping test replying pong. Then a full four-minute Philz Coffee shift in Palo Alto ran on Grok Bot in all five roles without API takeover. It returned 15 sourced menu prices, 10 sources, one finding from three reviews about slow lines, and one draft fix texted for approval. grokbot-history/chats/ also has full chat exports from the six bots. The roughly three-minute Philz run on the README front page used the xAI API crew, as noted at the bottom of crew-runs.md. There is no independent check of time or cost per role.

Key points and results

  • Maturity: At fetch time on 2026-11-20 the repo was one day old. Created 2026-11-19 and last pushed 2026-11-20, with zero stars, forks, or issues, no license, and no commit count returned. The README calls it a one-day hackathon project. The 3D storefront came from Plumb, the author's project from the day before.
  • Permissions and boundaries: Read public sites and never contact third parties. Roles use real public pages without logging in or contacting the scanned business or anyone else. Rosa only texts the owner. Fixes need the owner's YES 1. Code calculates money and bots report facts. Findings without registered sources and drafts with unsourced numbers return 422. The MCP server has an allowlist.
  • Known limits: The docs list Grok Bot's limits. Routines at least 5 minutes apart, up to 50 per bot, hourly rate limits, and weekly usage per run. Test also does real work. Bots on an account share cloud sign-ins and files, so keep personal sign-ins off it. The repo has no license.
  • Worth borrowing: One bot per role, a shared skill, and webhook shifts. Roles sit in grokbot/BOTS.md and all six share a skill. The backend triggers Routines in sequence (grokbot/setup/README.md).
  • Worth borrowing: A labeled fallback after a 90-second timeout. Each bot has 90 seconds to check in and six minutes to finish. Hand off to the xAI API crew and label it on the page (README crew section).
  • Worth borrowing: Append-only event logs. Every bot tool call goes into the backend log and is compiled in grokbot-history/crew-runs.md, with separate chat exports showing which work Grok Bot did.

Contributions from others

Added by others (not the author)

  • At fetch time, the latest 10 PRs (#10–#19) all came from darianirvani, Darian on the README team list and a different account from the repo owner. They all changed docs, including README branding and run results, Grok Bot chat exports, and moving Grok Bot history to the root. There were no outside issues.

Source

Platform
GitHub
Author
nick-devvv
Published
Categories
Multi-bot teams, Research

What this evidence label means

Author's claim, unverified

The method and results come from the author's own account. This site has not reproduced them.

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.