Grok Twitter Query
/install grok-twitter
Grok Twitter Query
Use Grok AI to query and summarize Twitter/X information.
Setup
Set required environment variables:
export GROK_API_KEY="your-api-key-here"
export GROK_API_URL="https://api.cheaprouter.club/v1/chat/completions" # optional
export GROK_MODEL="grok-4.20-beta" # optional
Usage
Run the query script with your Twitter-related prompt:
python3 scripts/query_grok.py "Summarize recent tweets about [topic]"
Examples
# Get trending topics
python3 scripts/query_grok.py "What are the top trending topics on Twitter right now?"
# Summarize tweets about a topic
python3 scripts/query_grok.py "Summarize recent tweets about AI developments"
# Get information about a specific user
python3 scripts/query_grok.py "What has @elonmusk been tweeting about recently?"
Notes
- Grok has real-time access to Twitter/X data
- Best for current events and trending information
- Responses are generated by Grok AI model
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install grok-twitter - After installation, invoke the skill by name or use
/grok-twitter - Provide required inputs per the skill's parameter spec and get structured output
What is Grok Twitter Query?
Query and summarize Twitter/X information using Grok AI. Use when user asks about Twitter trends, tweets, X platform content, or needs Twitter information su... It is an AI Agent Skill for Claude Code / OpenClaw, with 363 downloads so far.
How do I install Grok Twitter Query?
Run "/install grok-twitter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Grok Twitter Query free?
Yes, Grok Twitter Query is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Grok Twitter Query support?
Grok Twitter Query is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Grok Twitter Query?
It is built and maintained by danetteceola (@danetteceola); the current version is v1.0.0.