xai-search

Search X/Twitter and the web using xAI's Grok API.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/dexhunter/Logi-Lobsterism --skill xai-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xai-search
Source: https://github.com/dexhunter/Logi-Lobsterism/tree/main/skills/xai-search
Command: npx skills add https://github.com/dexhunter/Logi-Lobsterism --skill xai-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires xai-sdk, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides real-time search capabilities across X/Twitter and the broader web, leveraging advanced AI models to find relevant information quickly.

Core Features & Use Cases

  • Real-time Search: Query X/Twitter and the web instantly.
  • Agentic Search: The AI can make multiple search calls to refine results.
  • Flexible Filtering: Apply filters for specific domains, dates, and social media handles.
  • Use Case: Quickly get the latest public sentiment on a new product launch by searching X/Twitter, or find recent news articles on a specific topic using web search.

Quick Start

Use the xai-search skill to find the latest news about AI on the web.

Frequently Asked Questions about xai-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search X and the web in real-time using Grok?

The xai-search Skill enables real-time search of X and the web using xAI's Grok API, integrating agentic web_search and x_search functions to retrieve current events and perform sentiment analysis.

Do I need an XAI_API_KEY to search Twitter with Grok?

Yes, you must configure the XAI_API_KEY environment variable and install the xai-sdk Python package to execute real-time social media and web queries through the Grok API.

Can I filter web search results by specific domains or dates?

Yes, the agentic search mechanism supports flexible filtering, allowing you to narrow down web and X/Twitter query results by specific domains, dates, and social media handles.

What is agentic search and how does it refine web results?

Agentic search is a mechanism where the AI makes multiple search calls autonomously to refine results, ensuring higher accuracy when querying web pages or X/Twitter for research and sentiment analysis.

How do I get public sentiment on a product launch from X/Twitter?

You can retrieve the latest public sentiment on a product launch by querying X/Twitter through the x_search function, which uses Grok to fetch and analyze relevant real-time social media posts.