145 lines
3.8 KiB
Markdown
145 lines
3.8 KiB
Markdown
---
|
|
name: x-trends
|
|
description: |
|
|
Get trending topics from X (Twitter) using web search.
|
|
Finds what's trending on X by searching web articles and discussions about X trends.
|
|
Provides current trending topics, hashtags, and viral content analysis.
|
|
license: Apache-2.0
|
|
---
|
|
|
|
# /x-trends
|
|
|
|
Get trending topics from X (Twitter) using web search via `kimi_search`.
|
|
|
|
## Why This Approach?
|
|
|
|
Direct X/Twitter API access requires:
|
|
- X API key (expensive, limited access)
|
|
- xAI API key for Grok
|
|
- Bird CLI (requires authentication)
|
|
|
|
This skill uses **web search** to find:
|
|
- Articles about what's trending on X
|
|
- Discussions about viral X posts
|
|
- Trending hashtags and topics
|
|
- X trend roundups and summaries
|
|
|
|
## Usage
|
|
|
|
```
|
|
/x-trends # Get current X trending topics
|
|
/x-trends [topic] # Research specific topic on X
|
|
/x-trends --category=tech # Filter by category
|
|
```
|
|
|
|
### Examples:
|
|
|
|
- `/x-trends` - Current trending topics on X
|
|
- `/x-trends AI` - What's trending about AI on X
|
|
- `/x-trends politics` - Political trends on X
|
|
- `/x-trends --category=tech` - Tech trends only
|
|
|
|
## Categories
|
|
|
|
- `tech` - Technology, AI, programming
|
|
- `politics` - Political discussions
|
|
- `entertainment` - Movies, music, celebrities
|
|
- `sports` - Sports events and athletes
|
|
- `business` - Finance, markets, business
|
|
- `general` - All trending topics
|
|
|
|
## What It Returns
|
|
|
|
1. **Top Trending Topics** - Most discussed subjects on X
|
|
2. **Viral Posts** - High-engagement posts and threads
|
|
3. **Hashtags** - Trending hashtags
|
|
4. **Sentiment** - General sentiment around trends
|
|
5. **Key Accounts** - Influential accounts driving trends
|
|
|
|
## How It Works
|
|
|
|
```
|
|
User: /x-trends AI
|
|
|
|
Skill:
|
|
1. Search: "trending on X Twitter AI today"
|
|
2. Search: "viral X posts AI 2026"
|
|
3. Search: "X trending hashtags AI"
|
|
4. Analyze: Extract patterns from web articles
|
|
5. Report: Summarize trends with sources
|
|
```
|
|
|
|
## Sample Output
|
|
|
|
```
|
|
🔥 X Trends: AI (Last 24 hours)
|
|
|
|
Top Topics:
|
|
1. #ClaudeCode - 45K mentions
|
|
- New features announced
|
|
- Sentiment: Positive
|
|
- Key accounts: @AnthropicAI
|
|
|
|
2. DeepSeek R1 - 32K mentions
|
|
- Performance comparisons
|
|
- Sentiment: Mixed
|
|
- Key accounts: @DeepSeekAI
|
|
|
|
3. AI Coding Agents - 28K mentions
|
|
- Developer productivity
|
|
- Sentiment: Positive
|
|
- Key accounts: @cursor_ai
|
|
|
|
Viral Posts:
|
|
- @mvanhorn: "Claude Code just changed how I build..." (12K likes)
|
|
- @steipete: "Bird CLI free X search is a game changer" (8K likes)
|
|
|
|
Trending Hashtags:
|
|
#ClaudeCode #AI #Coding #DeepSeek #OpenAI
|
|
```
|
|
|
|
## Limitations
|
|
|
|
1. **Not real-time** - Web search has some delay vs direct X API
|
|
2. **No engagement metrics** - Cannot get exact like/retweet counts
|
|
3. **Indirect access** - Relies on articles about X, not X directly
|
|
4. **Coverage gaps** - Very recent trends may not be indexed yet
|
|
|
|
## Comparison with Direct X Access
|
|
|
|
| Feature | Direct X API | x-trends (web search) |
|
|
|---------|--------------|----------------------|
|
|
| **Real-time** | ✅ Yes | ⚠️ Slight delay |
|
|
| **Engagement metrics** | ✅ Exact counts | ❌ Estimated only |
|
|
| **Cost** | 💰 Expensive | ✅ Free |
|
|
| **Setup** | Complex auth | ✅ Simple |
|
|
| **Rate limits** | Strict | ✅ Generous |
|
|
| **All posts** | ✅ Complete | ❌ Sample via articles |
|
|
|
|
## When to Use
|
|
|
|
**Use x-trends when:**
|
|
- You need general trend awareness
|
|
- You want trending topics overview
|
|
- You don't need exact metrics
|
|
- You want quick, free access
|
|
|
|
**Use direct X API when:**
|
|
- You need real-time monitoring
|
|
- You require exact engagement data
|
|
- You're doing research requiring all posts
|
|
- You have budget for API access
|
|
|
|
## Future Enhancements
|
|
|
|
- [ ] Add sentiment analysis
|
|
- [ ] Trend prediction based on velocity
|
|
- [ ] Historical trend comparison
|
|
- [ ] Category-specific trend tracking
|
|
- [ ] Key influencer identification
|
|
|
|
## Credits
|
|
|
|
Created as part of the last30days-kimi skill set.
|
|
Uses kimi_search for web-based X trend discovery.
|