Run Claude Code and Codex
from Grok Bot
Give one of your Grok bots its own computer, point it at Claude Code or Codex, and let your other bots hand it work. Done in minutes.
Grok Bot gives bots a computer. Add one bot that runs Claude Code and one that runs Codex on that computer. Your other bots can then hand them work and get a report back, and you watch it all in the Grok Bot app.
Create a new bot
In Grok Bot, add a new bot and name it Claude (or Codex, if you want both).
Paste the runner prompt as its description
Use the copy button on the prompt below and paste it straight into the bot’s description field.
Ask it to set itself up
It installs the CLI and opens the login on its own computer. You take over the screen and sign in yourself, same as any normal login.
Test it
For Claude: “Do this in Fable: reply with exactly CLAUDE TEST OK and tell me which model ran.” For Codex: “Do this in Codex: reply with exactly CODEX TEST OK and tell me which model ran.”
Tell your other bots they can hand it work
They don’t know the new bot exists until you tell them.
Tested
The Claude runner installed Claude Code 2.1.316, signed in, and passed a test run on the fable model. The Codex runner has also been tested.
Not yet tested
A real handoff from another bot. So far the bot has only confirmed it can message other bots, not actually received work from one.
The computer is shared
Every bot on it can use the signed-in Claude and ChatGPT accounts, and it sits alongside any other logins there. Try dummy tasks first before handing it anything real. Each run uses your own Claude or ChatGPT plan limits, and model names change depending on your plan, so swap the model name in the prompt above if it gets rejected.
Method from Clearmud's video
This is not an official xAI, Anthropic, or OpenAI guide.