• Home
    • Technology
    • Gaming
    • Entertainment
    • World & Business
    • Science
    • Sports
    • AI
    HomeTechnologyGamingEntertainmentWorld & BusinessScienceSportsAI
    AI

    A proposed Grok bot setup for routing writing to Claude and coding to Codex

    A user proposes using Claude and ChatGPT subscriptions through their CLIs, then updating bots' prompts and shared memory.

    Elon MuskEM
    Corey GanimCG
    2 Sources, 6h ago, first seen 6h ago

    TLDR

    A user shared a prompt proposing that a Grok bot connect to Claude and ChatGPT subscriptions through the Claude Code and OpenAI Codex CLIs. It would route writing to Claude and coding, scripts and data work to Codex across the user's bots, while leaving browser and desktop tasks to existing tools. The prompt also asks the bot to save the rules for future bots and test both connections. The post claims Elon Musk approved it; Musk later reposted it.

    Combined views

    410.2K

    2 Sources, first seen 6h ago

    850 likes62 comments1.6K saves157 reposts

    Combined views

    410.2K

    2 Sources, first seen 6h ago

    850 likes62 comments1.6K saves157 reposts

    Sentiment

    Positive——Negative

    Summary

    Not enough discussion yet.

    No sentiment analysis available yet.

    Featured Source

    Sentiment

    Positive——Negative

    Summary

    Not enough discussion yet.

    No sentiment analysis available yet.

    2 Sources

    Corey Ganim@coreyganimConnect your ChatGPT and Claude subscriptions to Grok @bot with the prompt below (@elonmusk approved): Connect my Claude and ChatGPT subscriptions so all of my bots can use them. 1. On your computer, install the Claude Code CLI and the OpenAI Codex CLI (upgrade Node if needed). Start each subscription login (Claude: `claude setup-token`; Codex: `codex login --device-auth`) and send me the sign-in links and codes. I'll sign in and paste back anything you need. Store the Claude token privately and load it automatically. 2. Set the defaults to these models: Claude Opus 5.5 for Claude Code and 6.1 Sol for Codex. Test each one with a quick prompt and tell me which models answered. 3. Add these MODEL ROUTING RULES to every one of my bots' system prompts, including yours. Keep everything else in each prompt exactly as it is: - Writing (drafts, emails, posts, replies, copy, briefs): write the final text with Claude through the CLI, then review it against the bot's voice rules. - Coding, scripts, data processing, and terminal work: use Codex. - Browser and desktop tasks: keep using your normal computer tools. - If either CLI fails, do the task yourself and say so. 4. Save the same rule to my shared memory so any bot I create later follows it too. 5. When you're done, tell me which bots you updated and confirm both tests passed.6h
    Elon Musk@elonmuskRT @coreyganim: Connect your ChatGPT and Claude subscriptions to Grok @bot with the prompt below (@elonmusk approved): Connect my Claude a…1h
    • Home
    • Technology
    • Gaming
    • Entertainment
    • World & Business
    • Science
    • Sports
    • AI

    2 Sources

    Corey Ganim@coreyganimConnect your ChatGPT and Claude subscriptions to Grok @bot with the prompt below (@elonmusk approved): Connect my Claude and ChatGPT subscriptions so all of my bots can use them. 1. On your computer, install the Claude Code CLI and the OpenAI Codex CLI (upgrade Node if needed). Start each subscription login (Claude: `claude setup-token`; Codex: `codex login --device-auth`) and send me the sign-in links and codes. I'll sign in and paste back anything you need. Store the Claude token privately and load it automatically. 2. Set the defaults to these models: Claude Opus 5.5 for Claude Code and 6.1 Sol for Codex. Test each one with a quick prompt and tell me which models answered. 3. Add these MODEL ROUTING RULES to every one of my bots' system prompts, including yours. Keep everything else in each prompt exactly as it is: - Writing (drafts, emails, posts, replies, copy, briefs): write the final text with Claude through the CLI, then review it against the bot's voice rules. - Coding, scripts, data processing, and terminal work: use Codex. - Browser and desktop tasks: keep using your normal computer tools. - If either CLI fails, do the task yourself and say so. 4. Save the same rule to my shared memory so any bot I create later follows it too. 5. When you're done, tell me which bots you updated and confirm both tests passed.6h
    Elon Musk@elonmuskRT @coreyganim: Connect your ChatGPT and Claude subscriptions to Grok @bot with the prompt below (@elonmusk approved): Connect my Claude a…1h
    Today's Rank

    —

    Not ranked yet

    Today's Rank

    —

    Not ranked yet