Send to Grok Bot
Install the extension first. Go to step 1
Setup

Connect Claude

Two ways to connect Claude. Pick one. After that, Claude replies to every post you send, on its own.

Do it yourselfOn claude.ai. Works with any browser setup. Have Claude do itNeeds Claude in Chrome. You add the extension and click Allow.
Either way you need: a paid Claude plan (Pro or Max).

Do it yourself

  1. It opens in a new tab. At the top right, click New task, then Set up manually.

    Claude's Scheduled tasks page with the New task menu open and Set up manually circled.
  2. Fill in the form

    1
    NameCopy this, then paste it into the Name box.
    Send to Claude
    2
    InstructionsCopy this, then paste it into the big box.
    3
    TriggerClick Schedule and choose API.
    4
    CreateClick it. Leave everything else as it is.
    The New scheduled task form with the Trigger menu open and API circled.
    Trigger: click Schedule, then choose API.
    The New scheduled task form filled in: Name Send to Claude, the instructions, and Trigger set to API, ready to Create.
    Filled in and ready. Click Create.
  3. Paste your Claude key on the connect page

    Back on Claude, your key is showing, in a box called API token. Click the copy button and paste it into the connect page's box. It saves as soon as you paste. Then click Done.

    The API token box over the Scheduled page, with the copy button circled. The token shown is a sample.
    A sample token, not a real one. Yours starts with sk-ant-oat01-. Claude shows it only once, so copy it now.
  4. Paste the task link too

    Claude opens your new task. Under Triggers, click the copy button next to API. Paste it into the same box on the connect page. If Chrome asks to allow api.anthropic.com, click Allow.

    The Send to Claude task page with the copy button next to API under Triggers circled.
Keep the token private. Paste it only on the connect page, never in a chat or an email.
You're done. Open x.com, refresh, click the Send arrow on any post, and choose Send to Claude. The icon turns green when Claude starts.
Have Claude do it instead

Claude creates the task on claude.ai and connects the extension. It never sees your token. You need Claude in Chrome connected to this browser.

  1. Send Claude this line

    Set up Send to Grok Bot for me, with Claude: https://github.com/jamespendry/send-to-grok-bot
  2. Click Allow when Chrome asks

    Claude opens the connect page and clicks Finish. Chrome then asks to let the extension reach api.anthropic.com. Click Allow.

Where Claude's replies show up

On Claude's Scheduled page, open Send to Claude. Each post you send is a line under History. Click one to read Claude's reply.

A Send to Claude reply in Claude: the post's author and link, a takeaway, the type, context, and a Discuss in chat link.
A real reply: who posted, the link, a one-line takeaway, then context. Discuss in chat opens a normal Claude chat about it.
Lost the token, or Claude says it's invalid?
  1. On the Scheduled page, open Send to Claude.
  2. Click the small arrow next to its name at the top, then Edit.
The menu next to the task name with Edit highlighted.
  1. Under Trigger, click Regenerate and copy the new token. The old one stops working.
  2. Paste the new token on the connect page. It saves when you paste.
The Edit screen's Trigger section with Regenerate highlighted. The Fire URL and token are blurred.
Rather skip all of this?

Clicking a post opens Claude in a new tab with the post filled in, and you press Send. Works on any plan, including free.

Or in the extension's settings: check Send to Claude, leave the Fire URL box empty, and click Save.

Next: Try it