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
- NVIDIA's GTC talk breaks down coding agent anatomy and where security fits in — nvidia · 2026-12-02
- Dev ports GTA 6 to Apple Metal on M1 Pro with Gemini's help, hits 10 FPS — oyacaro · 2026-12-02
- Why a single passing agent test is mathematically meaningless — abenko83 · 2026-12-02
- Wayfindr: open-source local MCP gateway with built-in credential governance — whatisbread_ · 2026-12-02
- auto-optimize speeds up GPN-Star variant-effect scoring by 1.87x-3.80x in open PR — jmschreiber91 · 2026-12-02
- Custom DeepLIFT/SHAP fast path boosts Cherimoya attribution from ~17s to ~1s per example — jmschreiber91 · 2026-12-02