Full Byte Developer.

Grok Bot with Claude Code

Use Claude Code for repo work and Grok Bot for hosted personal ops. Keep secrets and publish gates separate.

Published here · 9 sources

Grok Bot and Claude Code solve different jobs. Claude Code is the coding agent you run against a repo (overview: code.claude.com). Grok Bot is a hosted personal-ops computer with named Bots, browser, filesystem, and terminal on a shared cloud box (overview: docs.x.ai). Use both; do not merge their secrets. [1] [5]

Related reading: Why Grok Bot is strong for personal ops, Grok Bot setup with Connect apps, Lock Claude Code out of your .env. [7] [8] [9]

Confirm public docs still answer

bash
for u in \
  https://docs.x.ai/grok-bot/overview \
  https://docs.x.ai/grok-bot/get-started \
  https://docs.x.ai/grok-bot/security \
  https://docs.x.ai/grok-bot/computer-and-apps \
  https://code.claude.com/docs/en/overview
do curl -sS -o /dev/null -w "%{http_code} %{url_effective}\n" --max-time 15 -A "Mozilla/5.0" -L "$u"
done

On 2026-11-26 from this environment those URLs returned HTTP 200. Re-check plan gates on get-started before you buy. [2]

Split the jobs on purpose

JobPreferWhy (public docs)
Edit a git repo, run project checks, open PRsClaude Code [5] [6]Local (or your CI) coding agent loop
Hosted computer that keeps working when your laptop sleepsGrok Bot [1]Shared persistent cloud computer
Connect third-party apps into that hosted computerGrok Bot Connect apps [4]Account-wide apps on the Bot computer
Enforce never-read secrets in a coding repoClaude Code deny rules [6] [9]Deterministic permissions in settings

Grok Bot security docs are the place for hosted-computer trust boundaries. Claude Code best practices are the place for repo instructions, checks, and deny rules. Read both before you wire anything sensitive. [3] [6]

A safe handoff pattern

  1. Do research or inbox-style ops in Grok Bot when you want the hosted computer. Follow Connect apps setup for @bot and auth. [8]
  2. Paste only non-secret outcomes into Claude Code (ticket text, acceptance criteria, public URLs).
  3. Let Claude Code edit the repo and run npm run check (or your project check).
  4. You merge and publish.

Warning: do not paste Ads API tokens, cloud keys, or .env contents into either chat. Prefer env lock for Claude Code. [9]

What not to invent

This page does not document private studio bot rosters, Postiz, or ManyChat workflows. Stick to docs.x.ai Grok Bot pages and code.claude.com for Claude Code. [1] [5]

You now have a clean split: Claude Code for the repo, Grok Bot for hosted personal ops, secrets kept apart.

Send this to the builder running both tools who keeps pasting the same token into both chats.

Keep this guide

By Full Byte Developer

Filed under Claude Code, AI agents, Dev tools

Questions about this guide

Is Grok Bot a Claude Code plugin?

No. Grok Bot is a hosted Bot on a shared cloud computer documented on docs.x.ai. Claude Code is Anthropic's coding agent CLI/IDE tooling.

Which plans include Grok Bot?

Per Grok Bot get-started docs (re-check on the day you buy): Premium, Super, and Ultra on The X Subscription include Grok Bot for an individual or team seat. Prefer the live plan page over this summary.

Can they share one .env?

Do not. Keep Claude Code deny rules on local secrets. Grok Bot Connect apps have their own auth. Never paste production tokens into either chat.

Where is the Grok Bot setup walkthrough?

Grok Bot setup with Connect apps and @bot. This page is the split with Claude Code.

Sources

Next in this stack