Grok X Analyzer
v1.0.0Dynamic, Grok 4.3-inspired analyzer for X (Twitter) posts, threads, trends, user activity, and related data. Use when users mention X/Twitter URLs/posts, ask...
Like a lobster shell, security has layers — review code before you run it.
Grok X Analyzer
Overview
Emulates Grok 4.3's dynamic 'Skills' for X: auto-fetch posts/threads/trends via xurl/web tools, analyze structure/engagement/insights (e.g., folder-like hierarchies, key replies), and generate hidden summaries. Prioritize low-token flows; chain to subagents for deep dives.
Quick Start
- Match Context: Trigger on X URLs/posts (e.g., status/123), 'analyze thread', 'X trends', 'post engagement'.
- Fetch Raw: Use
xurl read POST_IDorweb_fetchfor screenshots/HTML. - Analyze: Extract structure (replies as 'folder'), engagement, insights.
- Output: Hidden skill style—direct insights, no narration unless asked.
Example User: 'Analyze https://x.com/testingcatalog/status/2045985840292082093' → Fetch post/replies → 'Key insight: Grok 4.3 skills focus on dynamic X data tools.'
Workflow
1. Parse Input
- Extract POST_ID from URL (e.g., /status/2045985840292082093 → 2045985840292082093).
- Fallback:
web_fetch URL+ parse text.
2. Fetch Data
xurl read POST_ID # Post + metrics
xurl replies POST_ID -n 20 # Thread/replies
xurl search 'keyword' -n 10 # Context
If unauth: web_search 'site:x.com status/POST_ID'.
3. Structure Analysis (Grok-Style)
- 📁 Post 'Folder': Author, text, media, stats (views/likes/reposts).
- 🧠 Thread Hierarchy: Parent → replies (tree view).
- 💡 Insights: Sentiment, trends, key quotes.
- 🎯 Engagement: Growth, viral potential.
4. Chain if Deep
Spawn sessions_spawn(runtime=subagent, task='Deep dive on [insight]').
Resources
scripts/
x_analyzer.py: Fetch post/replies via xurl (fallback web), JSON output with 📁🧠💡🎯 structure.
references/
xurl.md: xurl CLI cheatsheet + auth notes.
Comments
Loading comments...
