Grok Twitter Query
name: grok-twitter
by danetteceola · published 2026-03-22
$ claw add gh:danetteceola/danetteceola-grok-twitter---
name: grok-twitter
description: Query and summarize Twitter/X information using Grok AI. Use when user asks about Twitter trends, tweets, X platform content, or needs Twitter information summarized.
---
# 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" # optionalUsage
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
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...