Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

x-search

Skill by code-yeongyu

Guides an assistant to search X (Twitter) through the xAI x_search tool. It is for users with a connected xAI account who want recent, date-bound posts from X, cross-checked against web search.

  • Score 84
  • 71k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install x-search

Built from the published package, never by AI.

git clone --depth 1 https://github.com/code-yeongyu/oh-my-openagent /tmp/oh-my-openagent && mkdir -p ~/.claude/skills && cp -r /tmp/oh-my-openagent/packages/omo-senpi/src/components/x-search/skill ~/.claude/skills/x-search

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install x-search in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The x-search skill tells an assistant how to run X searches through the x_search tool when an xAI account is connected. It covers checking that the tool is available, setting a from_date for time-sensitive topics, limiting results to trusted accounts with allowed_x_handles, and using operators such as since:, from: and filter:links. It also describes splitting work into two or three narrower searches by account, by keyword and, when needed, by thread.

The skill tells the assistant to cite x.com URLs, label posts as X posts rather than verified facts, and run the same topic through web_search to reconcile the two. It is written for people who research market or news reaction on X and need the assistant to keep the search narrow and the sourcing clear.

Written from the project's SKILL.md and checked against it.

What it can do

  • x_searchRuns one round trip to xAI's server-side X tools for keyword, semantic, user and thread search.
  • tool_searchChecks whether x_search is available, since the tool stays hidden until activated.
  • Date bindingPasses from_date for time-sensitive queries, starting from yesterday and widening to 7 days.
  • Trusted account scopingUses allowed_x_handles to limit results to up to 20 named accounts.
  • Recency operatorsPhrases queries as latest or recent with since:, until:, from:, filter:links, -filter:replies and lang:.
  • Split-search recipeRuns a handle pass, a keyword pass and an optional thread-fetch pass instead of one large query.
  • Web reconciliationRuns the same topic through web_search and flags X-only claims as unconfirmed.
  • Source reportingCites x.com URLs and labels posts as signals from named handles rather than facts.

What you need

  • xAI account with a connected credential
  • x_search tool available through tool_search
  • web_search tool for cross-checking

Try asking

  • Search X for the latest posts on NVDA earnings from the last 7 days.
  • Check what @growth_papa and @aleabitoreddit posted on X about foreign net buying.
  • Find recent X posts on my topic and cross-check them against web search.

Good to know

  • Works only when an xAI account is connected. Otherwise the assistant should say x_search is unavailable.
  • Each x_search call costs about $5 per 1,000 calls, so retries should be limited.
  • Posts on X are signals, not verified facts, and X-only claims should be flagged as unconfirmed.
  • Stops after three search passes unless the user asks for more.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/omo-senpi/src/components/x-search/skill/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to x-search

All alternatives →

Compare with box, n8n-mcp-tools-expert or citation-management

x-search: common questions

Does x-search work without an xAI account?

No. The skill says it only matters when an xAI account is connected, and the assistant should fall back to web_search if no xAI credential exists.

How does x-search keep results recent?

It passes from_date for time-sensitive topics and uses recency wording and operators such as since: in the query. If results are thin, it widens the window to 7 days.

How much does an X search cost?

The source says xAI bills X search at $5 per 1,000 calls, and estimates the three-pass recipe at roughly $0.015.

How do I install x-search?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is x-search free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is x-search safe to use?

It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to x-search?

Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.

x-search Install

Add to stack

Loading.