TopRank Skills

Home / Claw Skills / Gestion des connaissances / xhunt-hot-tweets
Official OpenClaw rules 54%

xhunt-hot-tweets

从 XHunt 抓取 X/Twitter 热门推文榜单并输出中文摘要与互动数据。用户提到“最火推文/热门帖子/Top20/4小时最火/只要AI/AI最火/给我链接+摘要”等请求时使用。支持 group=global|cn、hours=1|4|24、tag=ai|crypto|全部,并可切换过滤模式(全部/仅AI产品与模型更新/允许政治争议)。

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 xhunt-hot-tweets 技能。 若已安装,则直接安装 xhunt-hot-tweets 技能。

Overview

Skill Key
dotheworknow/xhunt-hot-tweets-skill
Author
dotheworknow
Source Repo
openclaw/skills
Version
-
Source Path
skills/dotheworknow/xhunt-hot-tweets-skill
Latest Commit SHA
ab9adc3c49857b0b0978d79932ba255b3d9346f3

Extracted Content

SKILL.md excerpt

# XHunt 热门推文提取(v2)

目标:稳定输出“可直接转发/复盘”的热门推文清单(链接 + 一句话摘要 + 核心互动数据)。

## 1) 参数解析(先做)
默认参数:
- `group=global`
- `hours=24`
- `tag=ai`
- `limit=20`
- `mode=all`(不过滤政治)

按用户话术覆盖:
- “华语区”→ `group=cn`
- “4小时/1小时/24小时”→ `hours`
- “只要AI”→ `tag=ai`
- “全部最火”→ 不传 `tag`
- “Top10/Top20/Top30”→ `limit`
- “只看AI产品/模型更新”→ `mode=ai-product-only`
- “可以有政治争议”→ `mode=all`

URL 模板:
- 基础:`https://trends.xhunt.ai/zh/tweets?group=<group>&hours=<hours>`
- 有标签:在末尾追加 `&tag=<tag>`

## 2) 抓取策略(固定顺序)
1. 优先 `browser` 打开目标 URL + `snapshot(refs=aria)`。
2. 从榜单卡片提取:排名、作者、链接、标题、views、likes、retweets、热度。
3. 若 browser 失败,降级 `web_fetch`,并在输出首行标注:
   - `说明:本次使用降级抓取,字段可能不完整。`
4. 若两种抓取都失败,直接返回错误说明,不得编造数据:
   - `说明:抓取失败(网络或页面结构变化),请稍后重试。`

## 3) 过滤规则
### mode=all
- 不做内容过滤(含政治争议)。

### mode=ai-product-only
保留:
- 模型发布/更新(如 Claude、GPT、Qwen、Gemini 等)
- AI 产品与工具更新(如 Cursor、Perplexity、Notion AI、Devin 等)
- AI agent/workflow/开发工具实操内容
- AI 基础设施与算力(与 AI 直接相关)

剔除:
- 纯政治选举/党争(无 AI 主体)
- 纯加密炒作(无 AI 主体)
- 娱乐八卦与空洞内容

若过滤后不足 `limit`:
- 继续向后补齐;仍不足则如实返回实际条数,不编造。

## 4) 输出格式(严格)
首行口径:
- `数据源:XHunt 推文榜(<group> / <hours>h / <tag或全部>)`

列表:每条固定 3 行
1. `N) <tweet_url>`
2. `摘要:<一句中文摘要>`
3. `数据:<views>|<likes>|<retweets>|热度<score>`

末尾补“观察”3条:
- 当前最强话题簇
- 高互动内容的共同结构
- 适合用户二次创作的切入角度

## 5) 质量门槛
- 不输出无链接条目。
- 不输出“内容为空”类摘要;遇到则跳过补位。
- 摘要必须是“信息点 + 结果/影响”,避免空话。
- 数据字段缺失时写“NA”,不要臆造。
- 若过滤后不足 `limit`,返回真实条数,并在末尾加一句:
  - `说明:符合条件条目不足 <limit>,已返回全部可用结果。`

## 6) 快速模板(执行时...

README excerpt

# XHunt Hot Tweets Skill

[中文说明](README.zh-CN.md)

A shareable OpenClaw/Codex skill that extracts hot tweets from XHunt and returns structured Chinese summaries.

## What It Does

- Reads XHunt tweet rankings (`global` or `cn`, `1h/4h/24h`, optional tags)
- Produces a stable output format:
  - tweet link
  - one-line Chinese summary
  - engagement stats (`views/likes/retweets/score`)
- Supports two modes:
  - `all`: no content exclusion
  - `ai-product-only`: keep only AI products/models/tools updates

## Files

- `SKILL.md`: skill behavior and output contract
- `agents/openai.yaml`: display metadata for agent registries
- `README.md` / `README.zh-CN.md`: usage and publishing docs
- `CHANGELOG.md`: version history
- `LICENSE`: open-source license

## Requirements

- Access to `https://trends.xhunt.ai`
- Runtime that can use browser snapshot tools for best extraction quality
- Fallback to web fetch is supported but may return incomplete fields

## Install Locally (OpenClaw)

```bash
mkdir -p ~/.openclaw/workspace/skills/xhunt-hot-tweets
rsync -a --delete ./xhunt-hot-tweets-skill/ ~/.openclaw/workspace/skills/xhunt-hot-tweets/
openclaw skills info xhunt-hot-tweets
```

## Trigger Examples

- `四小时最火帖子`
- `只要 AI 的最火推文,给我 Top20`
- `给我热门帖子链接+摘要`

## Publish To ClawHub

From repo root:

```bash
clawhub login
clawhub publish . \
  --slug xhunt-hot-tweets \
  --name "XHunt Hot Tweets" \
  --version 2.0.1 \
  --changelog "Hardened release docs and publishing metadata." \
  --tags latest,ai,twitter,trend
```

## Notes

- This skill is instruction-driven and does not include private keys/tokens.
- Data completeness depends on upstream page structure stability.

Related Claw Skills

romeosy

zh-knowledge-manager

★ 1

OpenClaw Chinese AI-enhanced knowledge management skill

alirezarezvani

atlassian-templates

★ 0

Atlassian Template and Files Creator/Modifier expert for creating, modifying, and managing Jira and Confluence templates, blueprints, custom layouts, reusable components, and standardized content structures. Use when building org-wide templates, custom blueprints, page layouts, and automated content generation.

col000r

PostThatLater

★ 0

Schedule and manage social media posts across multiple social platforms. Query analytics, manage your queue, and publish immediately — all via natural language. Call GET /api/v1/platforms for the list of platforms active on this instance.

alirezarezvani

competitive-intel

★ 0

Systematic competitor tracking that feeds CMO positioning, CRO battlecards, and CPO roadmap decisions. Use when analyzing competitors, building sales battlecards, tracking market moves, positioning against alternatives, or when user mentions competitive intelligence, competitive analysis, competitor research, battlecards, win/loss, or market positioning.

eyhn

botauth

★ 0

Use the botauth CLI to list, search, and retrieve secrets from the user's unlocked botauth vault with per-request approval in the desktop app. Use when a task needs API keys, tokens, or passwords from an existing botauth vault.

fjsand

OpenClaw Community Social

★ 0

Allows this local OpenClaw agent to engage and socialize on the global OpenClaw Community Social Network.