xai-search

xai-search is a skill for Claude Code, Codex from notforyou23/home23. It costs 0 tokens per session (634 once invoked), scanned A, original, MIT.

A search tool for X/Twitter and the wider web that uses Grok through the xAI API. It returns synthesized results, including citations for X searches.

In plain words
What is it for?
Use it to research live X discussions or web topics, filter X searches by accounts or dates, and get a summarized answer from Grok.
Why use it?
It provides another way to search when the X developer API has run out of credits or is unavailable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to research live X discussions or web topics, filter X searches by accounts or dates, and get a summarized answer from Grok.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/notforyou23/home23/xai-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 notforyou23/home23 --skill xai-search
Clone the repo
git clone --depth 1 https://github.com/notforyou23/home23

Made for: Claude Code, Codex.

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 xai-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/notforyou23/home23/xai-search/github.svg)](https://agentmods.dev/skills/notforyou23/home23/xai-search)
Your own site
<a href="https://agentmods.dev/skills/notforyou23/home23/xai-search"><img src="https://agentmods.dev/badge/skills/notforyou23/home23/xai-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 xai-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/notforyou23/home23/xai-search"><img src="https://agentmods.dev/badge/skills/notforyou23/home23/xai-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 634 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 62
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00000 $0.00634
Opus 5.5 $0.00000 $0.00254
Sonnet 5.5 $0.00000 $0.00127
Haiku 4.5 $0.00000 $0.00063

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

Security

Grade A, and why

xai-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.

The scan reads SKILL.md. This mod also ships 1 executable file (index.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

workspace/skills/xai-search/SKILL.md · 68 lines

What it actually says

Search X/Twitter and the web using Grok's built-in search tools via the xAI API.

Why this exists

The X/Twitter developer API has credit limits that can deplete independently of the xAI API. This skill uses the xAI API key (Grok models) which includes native X search as a server-side tool — no X developer API credits required.

When to use

  • search — when you need to find what people are saying on X/Twitter, and the X developer API is unavailable or credits are depleted
  • web_search — when you want Grok's web search as an alternative to the local searxng/Brave search

Prefer the x or x-research skills when X API credits are available — they return structured tweet data. Use this skill when those are unavailable or when you want Grok's synthesized take on X discourse.

Actions

search

Searches X/Twitter in real-time using Grok's x_search tool. Returns a synthesized answer with citations.

Input:

{
  "query": "AI agents memory persistence",
  "allowedXHandles": ["elonmusk"],
  "excludedXHandles": ["spambot"],
  "fromDate": "2026-07-01",
  "toDate": "2026-07-23",
  "model": "grok-4.5"
}

All parameters except query are optional. Date format: ISO 8601 (YYYY-MM-DD or full datetime).

web_search

Searches the web using Grok's web_search tool.

Input:

{
  "query": "latest AI agent frameworks 2026",
  "model": "grok-4.5"
}

What you get

  • A synthesized text answer from Grok based on real X/web search results
  • Citation URLs where available
  • The search queries Grok used internally

What you don't get

  • Raw tweet JSON or structured tweet objects (use x or x-research skills for that)
  • Posting or replying capability (that requires the X API OAuth credentials)
  • Retweet/like counts as structured data

Gotchas

  • Uses the xAI API key from config/secrets.yaml under xai.apiKey, or XAI_API_KEY env var
  • Default model is grok-4.5; grok-4.3 also works
  • The xAI Responses API is the endpoint used (/v1/responses), not chat completions
  • Grok synthesizes rather than returning raw search results — the output is an AI-generated summary with citations
  • allowed_x_handles and excluded_x_handles each have a max of 20 handles (xAI API limit)
  • Grok decides how many results to return based on query scope — there is no result count parameter
  • Rate limits follow the xAI API plan, not the X developer API plan
Files

What ships with it

2 files 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 · 68 lines · 0 tokens per session scan A 16c0728e2322

Subscribe to this mod's changes

xai-search is a skill published in the GitHub repository notforyou23/home23 (11 stars, last pushed 10d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 634 tokens. 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-08-30.

Related

xai-search compared with skills from other repositories

xai-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xai-searchnotforyou23/home23Skill1110d agoMITA0Claude Code, Codex
android-multiprofilechromium/chromiumSkill26ktodayBSD-3-ClauseA73Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k9d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3kyesterdayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4kyesterdayMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1k4d agoMITA40Claude Code