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.
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-searchRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/code-yeongyu/oh-my-openagent /tmp/oh-my-openagent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/oh-my-openagent/packages/omo-senpi/src/components/x-search/skill ~/.gemini/antigravity-cli/skills/x-searchAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Box lets an AI assistant search, read, upload, download, move, rename, delete, restore and share Box content. It also manages comments and metadata. It suits people who work with files stored in Box.
Guides AI assistants in using n8n-mcp MCP tools to search nodes, validate configs, browse templates and manage n8n workflows. Aimed at people building n8n workflows through MCP.
Manages citations across the research and writing process. It covers searching Google Scholar and PubMed, converting DOIs, PMIDs and arXiv IDs to BibTeX, and validating bibliographies. It is for researchers building bibliographies for manuscripts or theses.
Exa Search is a skill that guides an AI assistant to use the Exa MCP server for neural search. It covers web pages, code, companies, and people, and is for users who need current information or research during development tasks.
Runs recent community and social trend research over the last 30 days. It suits teams who need to know what people are saying now about a topic or launch.
seo-flow adds the FLOW SEO framework to Claude SEO. It surfaces stage-specific AI prompts from the FLOW knowledge base across the Find, Leverage, Optimize and Win stages. It is for SEO practitioners who want evidence-led prompts.
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.
