跳到正文
原文
coreyganim· @coreyganim · X·· 9 小时前AI 评分28

Grok 接入 Claude 与 ChatGPT 订阅的配置指南

AI 导读

一条获 Elon Musk 认可的提示词指导用户把 Claude 和 ChatGPT 订阅接入 Grok bot,通过安装 Claude Code CLI 与 OpenAI Codex CLI 并完成登录,让所有 bot 共用这些订阅。

正文 · 原文

Connect 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.

来源:coreyganim · x.com