← 返回 Skills 市场
Cn Hot Trends
作者
SunGang-pine
· GitHub ↗
· v1.0.0
· MIT-0
295
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cn-hot-trends
功能描述
聚合中国主流平台热点榜单,获取实时热搜、热议、科技、财经、影视、音乐等多维度热点内容。 当用户询问"今天热搜是什么"、"微博热搜"、"知乎热榜"、"B站热门"、"抖音热点"、 "今日热点"、"热点新闻"、"热门话题"、"各平台热榜"、"热点聚合"等时使用此 skill。 支持按平台查询(微博/百度/知乎/抖音/B...
使用说明 (SKILL.md)
中国热点榜单聚合
从国内主流平台抓取实时热点,汇总成简报。
核心平台(优先抓取)
🔥 热搜榜
| 平台 | URL | 抓取方式 |
|---|---|---|
| 微博热搜 | https://weibo.com/ajax/side/hotSearch |
JSON API |
| 百度热搜 | https://top.baidu.com/board?tab=realtime |
抓取 .c-single-text-ellipsis |
| 抖音热点 | https://www.douyin.com/hot |
抓取热榜列表 |
| 知乎热榜 | https://www.zhihu.com/billboard |
抓取 .HotItem-content |
| 贴吧热议 | http://c.tieba.baidu.com/hottopic/browse/topicList?res_type=1 |
JSON API |
📱 社区热议
| 平台 | URL |
|---|---|
| 虎扑热帖 | https://bbs.hupu.com/topic-daily-hot |
| 豆瓣热门讨论 | https://www.douban.com/group/explore |
| 掘金热榜 | https://juejin.cn/hot/articles |
| 观察者热评 | https://user.guancha.cn/main/index?click=24-hot-list |
💼 科技财经
| 平台 | URL |
|---|---|
| 36Kr热榜 | https://36kr.com/hot-list/catalog |
| 虎嗅热文 | https://www.huxiu.com/article/ |
| 钛媒体热文 | https://www.tmtpost.com/hot |
| 雪球财经 | https://xueqiu.com/ |
🎬 影视娱乐
| 平台 | URL |
|---|---|
| B站热门视频 | https://www.bilibili.com/v/popular/rank/all |
| 电影票房榜 | https://piaofang.maoyan.com/dashboard |
| 豆瓣电影榜 | https://movie.douban.com/chart |
| 爱奇艺风云榜 | https://www.iqiyi.com/trending/ |
🎵 音乐榜
| 平台 | URL |
|---|---|
| QQ音乐流行榜 | https://y.qq.com/n/yqq/toplist/4.html |
| 网易云飙升榜 | https://music.163.com/#/discover/toplist |
抓取工作流
通用热搜简报(默认)
- 并发抓取微博热搜 + 百度热搜 + 知乎热榜
- 每个平台取 Top 10
- 去重合并,按热度排序
- 输出格式化简报
# 微博热搜(JSON API,无需登录)
$wb = Invoke-WebRequest -Uri "https://weibo.com/ajax/side/hotSearch" -UseBasicParsing
$data = ($wb.Content | ConvertFrom-Json).data.realtime
$data | Select-Object -First 10 | ForEach-Object { "🔥 $($_.word) [$($_.num)]" }
# 百度实时热搜
$bd = Invoke-WebRequest -Uri "https://top.baidu.com/board?tab=realtime" -UseBasicParsing
# 解析 data-click 属性中的 title 字段
# 知乎热榜(需 User-Agent)
$headers = @{ "User-Agent" = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" }
$zh = Invoke-WebRequest -Uri "https://www.zhihu.com/billboard" -Headers $headers -UseBasicParsing
按分类查询
- 热搜类:微博 + 百度 + 360 + 搜狗
- 科技类:36Kr + 虎嗅 + 钛媒体 + 掘金 + CSDN
- 财经类:雪球 + 36Kr财经 + 凤凰科技
- 影视类:猫眼票房 + 豆瓣电影 + B站热门
- 音乐类:QQ音乐 + 网易云 + 酷狗TOP500
输出格式
🔥 热点简报 · [日期 时间]
━━━ 微博热搜 TOP5 ━━━
1. [话题] 🔥[热度]
2. [话题]
...
━━━ 百度热搜 TOP5 ━━━
1. [关键词]
...
━━━ 知乎热榜 TOP5 ━━━
1. [问题标题]
...
📊 今日热点关键词:[词云摘要]
注意事项
- 部分平台(抖音、微博)需要 Cookie 才能获取完整数据;无 Cookie 时降级抓取公开页面
- 知乎需要设置 User-Agent,否则返回 403
- 百度热搜可直接访问
https://top.baidu.com/board?tab=realtime,HTML 中含结构化数据 - 若某平台抓取失败,跳过并继续其他平台,不中断整体流程
- 建议每次聚合 3-5 个平台,避免响应过慢
安全使用建议
What to consider before installing/running:
1) Privacy/credentials: Do NOT supply login cookies, account tokens, or sensitive credentials unless you explicitly trust the skill and understand the consequences. The SKILL.md says some sites can use cookies but does not request them — avoid giving cookies that grant account access.
2) Network context: The skill performs web requests. Those requests will run under whatever network and cookie context the agent uses; run it in an environment where accidental exposure of local cookies or internal network resources is acceptable (use a sandboxed agent if needed).
3) Legal / Terms of Service: Scraping some sites may violate their terms of service. If you need large-scale or repeated access, prefer official APIs or obtain permission. Respect rate limits and robots.txt where appropriate.
4) Anti-bot / reliability: Sites may block scraping (403/anti-bot). The doc suggests using User-Agent and degrading gracefully; implement rate limiting and retry/backoff to avoid IP bans.
5) Safety of execution: The SKILL.md contains example PowerShell snippets. If your agent will execute those or similar commands locally, ensure command execution is permitted and inspect commands first. Prefer doing HTTP requests through controlled libraries rather than executing arbitrary shell snippets.
6) Monitoring: Log requests and failures, and avoid aggregating or exposing private user data. If you'd like extra assurance, ask the author to confirm how cookies/auth are handled or run the skill in a restricted environment before granting broader access.
功能分析
Type: OpenClaw Skill
Name: cn-hot-trends
Version: 1.0.0
The skill is a legitimate aggregator for Chinese social media and news trends, providing instructions for the agent to fetch data from well-known platforms like Weibo, Baidu, and Zhihu. The included PowerShell snippets in SKILL.md use standard web requests to access public APIs and HTML content, with no evidence of data exfiltration, malicious execution, or harmful prompt injection.
能力评估
Purpose & Capability
Name/description match the instructions: SKILL.md outlines scraping of many Chinese hot-list pages and JSON endpoints (Weibo, Baidu, Zhihu, B站等). No unrelated binaries, env vars, or installs are requested.
Instruction Scope
Instructions describe performing HTTP requests, parsing HTML/JSON, and include PowerShell examples. They note that some platforms may require cookies or specific User-Agent headers. The instructions do not tell the agent to read local browser cookies or other unrelated files, nor to transmit data to third parties, but running the requests will use whatever network/cookie context the agent/environment has.
Install Mechanism
No install specification and no code files are present (instruction-only). This minimizes disk write/installation risk.
Credentials
The skill requests no environment variables, credentials, or config paths. It mentions optional cookies for some sites but does not require or request them.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request permanent/always-on privileges or to modify other skills or system settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cn-hot-trends - 安装完成后,直接呼叫该 Skill 的名称或使用
/cn-hot-trends触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — 聚合中国主流平台实时热点榜单。
- 支持微博、百度、知乎、抖音、B站等多平台热搜榜单内容抓取
- 可按平台(如“微博热搜”)及分类(如“科技热榜”)查询热点
- 默认简报合并微博、百度、知乎热榜内容,去重汇总热点关键词和话题
- 输出格式化热点榜单简报,含平台分榜和关键词摘要
- 支持影视、音乐、财经、技术社区等热点维度
- 自动处理部分平台 Cookie、User-Agent 等访问限制
元数据
常见问题
Cn Hot Trends 是什么?
聚合中国主流平台热点榜单,获取实时热搜、热议、科技、财经、影视、音乐等多维度热点内容。 当用户询问"今天热搜是什么"、"微博热搜"、"知乎热榜"、"B站热门"、"抖音热点"、 "今日热点"、"热点新闻"、"热门话题"、"各平台热榜"、"热点聚合"等时使用此 skill。 支持按平台查询(微博/百度/知乎/抖音/B... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 295 次。
如何安装 Cn Hot Trends?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cn-hot-trends」即可一键安装,无需额外配置。
Cn Hot Trends 是免费的吗?
是的,Cn Hot Trends 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Cn Hot Trends 支持哪些平台?
Cn Hot Trends 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cn Hot Trends?
由 SunGang-pine(@sungang-pine)开发并维护,当前版本 v1.0.0。
推荐 Skills