Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Social Media

How to Use X (Twitter) reposting accounts in Claude Code

Returns accounts that reposted a specific X post, with cursor pagination. Use it to examine a public announcement's distribution rather than an account's follower list.

Prompts to try with X (Twitter) reposting accounts in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use X (Twitter) reposting accounts for https://x.com/SpaceflightNow/status/2062602790015242374. Build a report of public publishers and organizations in the returned results, showing how many pages were examined.

X (Twitter) reposting accountsClaude Code
Try asking
  • Use X (Twitter) reposting accounts to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from X (Twitter) reposting accounts and tell me what changed since last week.

  • Check X (Twitter) reposting accounts and summarize what you find in three bullet points.

  • Pull the newest data from X (Twitter) reposting accounts and give me the result as a table.

How to set up X (Twitter) reposting accounts in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run X (Twitter) reposting accounts

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "tikhub",
        "model": "tikhub/twitter-web-fetch-retweet-user-list",
        "input": {
          "tweet_id": "1835124037934367098"
        }
      }'

Then paste one of the prompts above: Claude Code finds X (Twitter) reposting accounts on Spiral, shows the price and runs it.

X (Twitter) reposting accounts providers and prices

Spiral runs X (Twitter) reposting accounts through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
X (Twitter) Web · ReTweet User list
tikhub/twitter-web-fetch-retweet-user-list

What can you do with X (Twitter) reposting accounts in Claude Code?

Build a research view that separates X posts, organization account background, public account connections, and broadcast status. A coding agent can turn retrieved results into project fixtures and reports, preserving pagination where the endpoint supports it.

Review a product announcement

Build a launch brief from matching posts, a specific announcement, reposting accounts, country trends, and the company's current broadcast status. Limit account analysis to public businesses, publishers, and creators.

Research potential organization partnerships

Find topic communities and public organizations appearing in repost, follower, and following results. Use account background and affiliate information to prepare a shortlist for manual partnership research.

Review campaign distribution through public accounts

Examine a campaign post and its reposting accounts, then compare public organizations found in follower, following, and affiliate results. Summarize observed distribution without treating account relationships as endorsements.

Build a public science communications brief

Prepare a NASA-focused brief covering account background, affiliates, live status, mission posts, reposting organizations, topic communities, and country trends. Include public institutions from follower and following results as additional sources to review.

Questions about X (Twitter) reposting accounts in Claude Code

Can Claude Code use X (Twitter) reposting accounts?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run X (Twitter) reposting accounts like any built-in tool.

How much does X (Twitter) reposting accounts cost in Claude Code?

$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need a TikHub account to use X (Twitter) reposting accounts in Claude Code?

No. Spiral runs X (Twitter) reposting accounts on its own TikHub account. You sign in to Spiral once and never paste a key.

How long does it take to set up X (Twitter) reposting accounts in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while X (Twitter) reposting accounts runs?

X (Twitter) reposting accounts runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

Can this data include protected or deleted X content?

TikHub's X coverage is limited to public content. Deleted, suspended, or protected posts and accounts return empty results or errors.

How fresh are the results?

TikHub says repeated requests fetch fresh, real-time data even when the request is identical. That describes retrieval freshness, rather than a guarantee that X has updated every underlying value.

Does one response contain every matching result?

For list and search requests, TikHub documents bounded result pages. Reposting accounts, communities, followers, and accounts followed use cursors to retrieve additional pages.

Does TikHub guarantee that X data is complete and accurate?

No. TikHub's terms explicitly disclaim a guarantee that retrieved data is accurate, complete, or current.

Does access give me permission to republish X content?

Access does not establish permission to republish the content. TikHub's terms say retrieved material may carry third-party intellectual property rights.

Get started

Start using X (Twitter) reposting accounts in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options