Agent skill · writing content · sundial-org

search-x

Search X/Twitter in real-time using Grok. Find tweets, trends, and discussions with citations.

Why this skill is useful

Adds executable scripts for real-time Twitter search with specific filtering options that the AI wouldn't reliably generate on its own.

What it needs

Requires xai account access. About 1k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

Search X Real-time X/Twitter search powered by Grok's xsearch tool. Get actual tweets with citations. Setup Set your xAI API key: Or use environment variable: Get your API key at: https://console.x.ai Commands Basic Search Filter by Time Filter by Handles Output Options Example Usage in Chat User: "Search X for what people are saying about Claude Code" Action: Run search with query "Claude Code" User: "Find tweets from @remotiondev in the last week" Action: Run search with --handles @remotiondev --days 7 User: "What's trending about AI on Twitter today?" Action: Run search with --days 1 "AI trending" User: "Search X for Remotion best practices, last 30 days" Action: Run search with --days 30 "Remotion best practices" How It Works Uses xAI's Responses API (/v1/responses) with the xsearch tool: Model: grok-4-1-fast (optimized for agentic search) Returns real tweets with URLs Includes citations for verification Supports date and handle filtering Response Format Each result includes: @username (display name) Tweet content Date/time Direct link to tweet Environment Variables XAIAPIKEY - Your xAI API key (required) SEARCHXMODEL - Model override (default: grok-4-1-fast) SEARCHXDAYS - Default days to search (default: 30)

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/search-x

View the source on GitHub

Browse the @skills marketplace