Install
openclaw skills install x-search-highlightsSearch and extract high-value posts from X (Twitter) with engagement-based ranking. Use when user asks to search X, find best posts, get highlights from Twitter/X, or extract high-engagement content on a specific topic.
openclaw skills install x-search-highlightsSearch and extract high-value posts from X (Twitter) with engagement-based ranking.
# Basic search
~/.openclaw/skills/x-search-highlights/scripts/x-search.sh "Claude Code"
# With filters
~/.openclaw/skills/x-search-highlights/scripts/x-search.sh "AI Agent" 10 5 1000 markdown
Extract valuable posts from X search results based on engagement metrics (likes, retweets, replies, views). Ideal for discovering trending discussions, finding expert insights, or curating content for research.
Activate when user asks to:
Trigger phrases:
| Parameter | Type | Default | Description |
|---|---|---|---|
topic | string | required | Search query (e.g., "Claude Code", "AI Agent") |
maxResults | number | 5 | Maximum number of posts to return |
minLikes | number | 0 | Minimum likes threshold (filter low-engagement) |
scrollTimes | number | 3 | Number of scroll iterations (more = more candidates) |
sortBy | string | "engagement" | Sort method: engagement, likes, views, recent |
outputFormat | string | "markdown" | Output format: markdown, json, summary |
## 1. [Post Title/Summary]
- **标题**:[Content summary]
- **日期**:YYYY-MM-DD
- **标签**:#tag1 #tag2
- **亮点**:🎯 [Key insight] 💡 [Unique perspective]
- **互动**:X 回复 · X 转发 · X 点赞 · X 浏览
- **链接**:[点击阅读原文](URL)
{
"total": 10,
"posts": [
{
"text": "...",
"author": "...",
"likes": 1000,
"retweets": 200,
"views": 50000
}
]
}
Engagement Score:
Score = (likes × 2) + (retweets × 5) + (views × 0.01)
Weight Rationale:
bb-browser ≥ 0.11.2# Via ClawHub (after publishing)
clawhub install x-search-highlights
# Or clone from GitHub
git clone https://github.com/Ghostwritten/x-search-highlights.git ~/.openclaw/skills/x-search-highlights
# Search for "OpenClaw"
scripts/x-search.sh "OpenClaw"
# Get 10 posts with min 1000 likes
scripts/x-search.sh "AI Agent" 10 3 1000
# JSON output
scripts/x-search.sh "RAG" 20 5 0 json
No posts found:
bb-browser statusJSON parsing errors:
bb-browser version ≥ 0.11.2Rate limits:
scrollTimes parameter