Hook your Claude and ChatGPT subscriptions into Grok bot with this CLI workflow
elonmusk · x · 2026-10-15
Developer coreyganim shared — and Elon Musk amplified — a workflow that wires Claude and ChatGPT subscriptions into Grok @bot so all your bots can use those models.
- Install Claude Code CLI and OpenAI Codex CLI, authenticate each subscription (claude setup-token, codex login --device-auth), and let the bot complete sign-in from links/codes you paste; store the Claude token privately and auto-load it.
- Set model routing rules in every bot's system prompt: writing tasks default to Claude, coding/computer-use tasks to Codex, everything else unchanged.
The author confirms it works: he just sent the tweet link to his chief-of-staff bot, which installed both CLIs via terminal, logged in, and now every bot plus Grok Bot's shared memory can call OpenAI and Claude models. Essentially agent-managed subscription pooling with per-task model routing.
More from coding & agent
- 542 AI engineering lessons on GitHub: build algorithms from scratch before libraries — techNmak · 2026-10-15
- x402 payments on Base explode from 58.8K to 138.5M transactions in a year — rkulidzan · 2026-10-15
- Tana founder: cloud agents with durable storage are a big deal — jobergum · 2026-10-15
- Opinion: AI Gets Away With Bad Design Decisions via Relentlessness and Context — Jsevillamol · 2026-10-15
- Ultrafast mode + subagents makes paperwork 'ADHD friendly', user reports — beffjezos · 2026-10-15
- Dev uses 6.1 Sol to polish a 3D scene, fixing a ton of geometry and texture issues — Dimillian · 2026-10-15