x-search

x-search is a skill for Claude Code from ai-ecoverse/slicc. It costs 84 tokens per session (546 once invoked), scanned A, original, Apache-2.0.

A command-line search tool for finding recent public posts on X, formerly Twitter, through xAI's search service. It can return the model's answer together with citation links.

In plain words
What is it for?
Use it to search posts by topic or account, limit results by date, choose a search model, and collect cited sources.
Why use it?
It helps answer questions about current social-media discussion, public reactions, and sentiment when older information is not enough.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to search posts by topic or account, limit results by date, choose a search model, and collect cited sources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-ecoverse/slicc/x-search
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ai-ecoverse/slicc --skill x-search
Clone the repo
git clone --depth 1 https://github.com/ai-ecoverse/slicc

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for x-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-ecoverse/slicc/x-search/github.svg)](https://agentmods.dev/skills/ai-ecoverse/slicc/x-search)
Your own site
<a href="https://agentmods.dev/skills/ai-ecoverse/slicc/x-search"><img src="https://agentmods.dev/badge/skills/ai-ecoverse/slicc/x-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for x-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-ecoverse/slicc/x-search"><img src="https://agentmods.dev/badge/skills/ai-ecoverse/slicc/x-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 546 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.00546
Opus 5.5 $0.00034 $0.00218
Sonnet 5.5 $0.00017 $0.00109
Haiku 4.5 $0.00008 $0.00055

Measured 3mo ago against content hash e611d4290d45, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

x-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/vfs-root/workspace/skills/x-search/SKILL.md · 69 lines

What it actually says

Run x_search from bash. The script pipes a one-shot request to xAI's Responses API with the x_search server tool enabled, then prints the model's answer plus any citation URLs.

Authentication

The shell command resolves the bearer token through oauth-token xai-grok, so you must be signed in to xAI Grok first:

oauth-token xai-grok

If the command prints xai-grok: not signed in, run /login in the side panel (or the same oauth-token xai-grok interactively) to complete the xAI OAuth flow before searching.

Usage

# Free-form query — most common usage
x_search "what are people saying about Grok 4.3?"

# Restrict to specific handles (comma-separated, max 10)
x_search --from "elonmusk,xai" "ship dates for Grok"

# Date range (ISO 8601)
x_search --since 2025-01-01 --until 2025-03-31 "earnings call reactions"

# Pin the underlying search model (default: grok-4.3)
PI_XAI_X_SEARCH_MODEL=grok-4.5 x_search "fed minutes hot takes"

Output

Plain text answer followed by citations:

Recent posts indicate broadly positive sentiment …

Sources:
- https://x.com/user/status/...
- https://x.com/user/status/...

Notes

  • x_search is a separate xAI request, not a context-bearing tool call. The result is folded into your transcript as a bash result, so you can quote or summarize it directly.
  • Per-request enable_image_understanding / enable_video_understanding toggles are intentionally not exposed; xAI's defaults are sensible and the toggles bloat the response.
  • This skill is a slicc-native shell command — pi.registerTool does not apply here. The behavior matches stnly/pi-grok's x_search tool.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 69 lines · 84 tokens per session scan A e611d4290d45

Subscribe to this mod's changes

x-search is a skill published in the GitHub repository ai-ecoverse/slicc (38 stars, last pushed yesterday), licensed Apache-2.0. It adds 84 tokens to every session and 546 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

x-search compared with skills from other repositories

x-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
x-searchai-ecoverse/sliccSkill38yesterdayApache-2.0A84Claude Code
browsebrowserbase/stagehandSkill26kyesterdayMITA109Claude Code
pinchtab-mcppinchtab/pinchtabSkill11k11d agoMITA52Claude Code, Codex
publish-siteAtomicBot-ai/atomic-agentSkill3.6ktodayMITA31Claude Code, Codex
landing-cro-reviewAtomicBot-ai/atomic-agentSkill3.6ktodayMITA28Claude Code, Codex
wttr-weatherAtomicBot-ai/atomic-agentSkill3.6ktodayMITA20Claude Code, Codex
connector-feishunetease-youdao/LobsterAISkill6.2kyesterdayMITA20Claude Code, Codex