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

Factory Droid · Social Media

How to Use X post search in Factory Droid

Returns sourced research about public X posts matching a topic. Use it to discover announcements, compare claims, or collect evidence across posts before inspecting a specific conversation.

Prompts to try with X post search in Factory Droid

Copy an example into Factory Droid, or ask in your own words.

Use X post search to research @github posts about GitHub Actions changes from the past 30 days, then compare the findings with our CI documentation and propose supported edits.

X post searchFactory Droid
Try asking
  • Use X post search to find @vercel posts about Next.js releases from the past month and draft a source-linked upgrade research note for this repository.

  • Use X post search to investigate @Cloudflare posts about Workers compatibility changes from the past 30 days, then identify statements relevant to this project's deployment notes.

  • Use X post search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from X post search and tell me what changed since last week.

How to set up X post search in Factory Droid

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

Use Spiral's MCP server

  1. Add the server

    Droid saves it to your user config, ~/.factory/mcp.json, so it works in every project.

    droid mcp add spiral https://api.spiral.ai/mcp --type http
  2. Sign in

    Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

  3. Check it

    Spiral shows as connected. needs authentication means the sign-in did not finish: run /mcp again.

    droid mcp list

Use the Spiral skill

  1. Send Factory Droid 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 post search

    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": "alexandria",
        "model": "x-com/posts/search",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: Factory Droid finds X post search on Spiral, shows the price and runs it.

X post search providers and prices

Spiral runs X post search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSocial Media
X · Search posts
x-com/posts/search

Settings you can ask for

Ask Factory Droid for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 105

Maximum output records, not a bound on upstream fetched items.

Every API field of X · Search posts is on its tool page: open its card above.

What can you do with X post search in Factory Droid?

Build an evidence file for a product change using public X announcements and conversation context. A coding agent can compare those statements with project documentation and attach supporting post links to a proposed edit.

Check a product announcement

Find a company's launch posts with X post search, or examine a known announcement with X post details. Build a brief that separates the original announcement from later replies and clarifications.

Investigate a service incident

Research public incident updates from a service's official account, or inspect a known incident post and available replies. Extract the stated symptoms, workarounds, and recovery updates for a support brief.

Prepare a competitor briefing

Find a competitor's public product announcements, or examine a specific announcement already flagged by the team. Summarize the claims and available clarifications with links to the supporting posts.

Verify a reported claim

Search for the original public business or organization statement, or inspect its known post. Compare the available wording and conversation context with the claim in a draft article.

Collect product feedback examples

Discover public discussions of a product, or examine replies available around its announcement. Group concrete complaints and feature requests as examples for review without presenting them as a representative survey.

Research conference announcements

Find an organizer's public event updates, or inspect a known schedule announcement. Pull out stated session changes and clarifications to help prepare an attendee briefing.

Questions about X post search in Factory Droid

Can Factory Droid use X post search?

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run X post search like any built-in tool.

How much does X post search cost in Factory Droid?

$0.005238 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

Do I need an Alexandria account to use X post search in Factory Droid?

No. Spiral runs X post search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up X post search in Factory Droid?

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

Does Factory Droid wait while X post search runs?

X post search runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

Which X posts are public?

Public posts are visible to anyone, including people without an X account. Protected posts are searchable only by their author and followers, so public research does not cover those conversations.

Does X research include every matching post?

No. X explicitly says it may omit posts from search results, and its safe search mode filters potentially sensitive content. A collection of returned posts cannot establish the total number of posts about a topic.

Can X research find current posts?

X Search accesses real-time X content. That supports research into current announcements and discussions, but the documentation's real-time description is not a measured guarantee of how quickly each new post appears.

What conversation context can a post fetch include?

X Search documents thread fetch as retrieving one post with parent posts and replies. That context can help distinguish an opening announcement from a reply that depends on an earlier statement.

Does every returned source link support the summary?

Not necessarily. xAI distinguishes encountered source URLs from sources directly referenced in the final answer, so check which post supports each claim.

Get started

Start using X post search in Factory Droid

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

Paste this into Factory Droid:

Set up Factory Droid

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