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

Muse Code · Social Media

How to Use X account profile in Muse Code

Returns structured research about one public X profile using Grok user search. Use it to understand a business or creator account before researching its posts.

Prompts to try with X account profile in Muse Code

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

Use X account profile to research @NASA and add a concise account description to our project's organization research page using only returned information.

X account profileMuse Code
Try asking
  • Use X account profile to research @Shopify and @stripe, then add a side-by-side comparison of their returned account descriptions to our research dashboard.

  • Use X account profile to research @Adobe and draft an organization overview for our partnership research page, distinguishing returned details from your interpretation.

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

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

How to set up X account profile in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse 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 account profile

    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/users/lookup",
        "input": {
          "username": "<username>"
        }
      }'

Then paste one of the prompts above: Muse Code finds X account profile on Spiral, shows the price and runs it.

X account profile providers and prices

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

AlexandriaSocial Media
X · Inspect a profile
x-com/users/lookup

What can you do with X account profile in Muse Code?

Build a company research view with public X account context and summaries of sampled announcements. Keep account descriptions separate from conclusions drawn from posts so readers can inspect the basis of a brief.

Prepare a company briefing

Use a company's public profile to establish context, then summarize announcements found in its posts for an upcoming meeting.

Compare competitor messaging

Compare how public business accounts describe themselves and the subjects they emphasize in sampled posts.

Research a creator partnership

Review a public creator account's description and sampled content to assess subject fit for a proposed collaboration.

Plan an editorial interview

Read an organization's account description and recent public statements to prepare questions grounded in what it has published.

Review a brand's public positioning

Compare the brand description in its profile with themes found in its posts, and identify differences worth reviewing.

Maintain an organization research brief

Refresh a public organization's account description and review newly found posts for changes relevant to an existing brief.

Questions about X account profile in Muse Code

Can Muse Code use X account profile?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run X account profile like any built-in tool.

How much does X account profile cost in Muse Code?

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

Do I need an Alexandria account to use X account profile in Muse Code?

No. Spiral runs X account profile 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 account profile in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while X account profile runs?

X account profile runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

Can this research include protected X posts?

Public X posts are visible even without an X account, while protected posts are visible only to followers. Keep public account research within that visibility boundary.

How current is the X information?

Grok's X Search accesses real-time social media content. Its results can still vary because the model chooses its own queries.

Are X profile descriptions independently verified business information?

X lets account owners customize their name, bio, location, and website. Treat those details as the account's own description when using them to interpret its public presence.

How much detail can an X bio contain?

An X bio has a maximum of 160 characters. That makes it useful for a short account description, but a narrow basis for a detailed company or creator brief.

Get started

Start using X account profile in Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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