← 返回 Skills 市场
hotnews
作者
zhengzhuang(郑壮)
· GitHub ↗
· v0.1.6
· MIT-0
99
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install hotnews
功能描述
CLI tool to fetch trending news and hot topics from 8 sources across Chinese platforms and GitHub. Returns structured news items with titles, URLs, and metad...
使用说明 (SKILL.md)
hotnews CLI
Fetch trending news and hot topics from 8 sources. Returns news items with title, URL, hot metric, and rank.
Run hotnews --help for usage details.
Workflow
Follow this pattern:
- List - Don't know what sources are available? List them first.
- Fetch - Know the source? Fetch news directly.
- JSON - Need structured data? Add
--jsonfor machine-readable output.
| Need | Command | When |
|---|---|---|
| See all sources | hotnews list |
Don't know source names |
| Get news | hotnews \x3Csource> |
Know the source, want readable output |
| Get news as JSON | hotnews \x3Csource> --json |
Need structured data for processing |
| Control item count | hotnews \x3Csource> --limit N |
Want specific number of results (1-50, default 10) |
Commands
list
List all available sources.
hotnews list
Fetch a source
hotnews baidu
hotnews baidu --json
hotnews weibo --limit 5
hotnews douyin -l 15 --json
Options
| Flag | Short | Description |
|---|---|---|
--json |
Output as JSON | |
--limit N |
-l N |
Number of items to return (default: 10, max: 50) |
Output fields (JSON mode):
title- News headlineurl- Link to the articlehot- Popularity metric, e.g. "871 stars today", "5.3k" (optional)rank- Position in the ranking (1-based)
Sources
8 source endpoints:
| Platform | ID | Description |
|---|---|---|
| Baidu | baidu |
Baidu real-time search trends |
weibo |
Weibo real-time trending topics | |
| Douyin | douyin |
Douyin real-time trending |
| Hupu | hupu |
Hupu street hot posts |
| 36Kr | kr36 |
36Kr tech news flashes |
| Zhihu | zhihu |
Zhihu trending questions |
| Juejin | juejin |
Juejin developer community hot articles |
| GitHub | github |
GitHub trending open source projects today |
Source Selection Guide
| Category | Recommended Sources |
|---|---|
| General News | baidu, weibo, toutiao |
| Social/Trending | weibo, douyin, zhihu |
| Tech/Developer | juejin, github, kr36 |
| Sports/Lifestyle | hupu |
Working with Results
hotnews baidu --json | jq '.[].title'
hotnews baidu --json --limit 5
hotnews weibo --json | jq '.[] | "\(.rank). \(.title) \(.hot // "")"'
hotnews github --json | jq '.[] | "\(.title) - \(.hot)"'
安全使用建议
This skill is instruction-only and tells you to run an npm CLI (hotnews / npx hotnews). Running npx executes code fetched from the npm registry — treat that as running arbitrary third-party code. Before installing or running it: 1) look up the npm package (name/version), homepage, and source repo and inspect the code or README; 2) prefer a pinned version (not 'latest') and check package maintainers and recent publish history; 3) run in an isolated environment (container, VM, or limited sandbox) and avoid running as root; 4) if you cannot find the package source or it lacks provenance, avoid running npx and consider alternative, well-known news tooling. The missing homepage/source and the implied remote execution are why I mark this as suspicious rather than benign.
功能分析
Type: OpenClaw Skill
Name: hotnews
Version: 0.1.6
The skill bundle provides a legitimate interface for a CLI tool to fetch trending news from various Chinese platforms and GitHub. The SKILL.md file contains clear documentation, usage examples, and restricted tool definitions (Bash hotnews *) that align perfectly with the stated purpose. No evidence of prompt injection, data exfiltration, or malicious intent was found in the provided files.
能力评估
Purpose & Capability
The name/description (fetch trending news from Chinese platforms and GitHub) aligns with the runtime instructions to run a CLI. The SKILL.md explicitly says 'Requires npm install', which is consistent with an npm CLI package. Minor inconsistency: the Source Selection Guide mentions 'toutiao' although the enumerated 8 sources list does not include it.
Instruction Scope
The SKILL.md instructs only to run the hotnews CLI (hotnews or npx hotnews) with flags and to consume JSON output. It does not ask the agent to read unrelated files, environment variables, or exfiltrate data to other endpoints.
Install Mechanism
There is no install spec in the registry metadata; the SKILL.md encourages using npm/npx to run the tool. npx will download and execute package code from the npm registry (or other configured registries) at runtime. Because no package homepage, source repo, version pin, or checksum is provided, this implicitly permits executing remote code of unknown provenance — a moderate-to-high risk for an otherwise simple news CLI.
Credentials
The skill declares no required environment variables, credentials, or config paths. There is no request for secrets or unrelated service credentials in the instructions.
Persistence & Privilege
always:false and no install script or config writes are declared. The skill does not request persistent presence or modify other skills or system-wide settings. Note: the platform default allows autonomous invocation, but that is not in itself a unique concern here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hotnews - 安装完成后,直接呼叫该 Skill 的名称或使用
/hotnews触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.6
- Added support for a --limit / -l option to control the number of news items returned (1-50, default 10).
- Updated documentation with new option in commands, usage examples, and option table.
- Clarified workflow for fetching a specific number of results.
v0.1.5
Version 0.1.5 of hotnews
- No file changes detected; this release maintains the same features and usage as the previous version.
- Continue fetching trending news and topics from 8 sources across Chinese platforms and GitHub.
v0.1.3
hotnews 0.1.3 changelog:
- Updated description to include international and finance/news sites in supported platforms.
- Clarified and broadened use cases for monitoring hot topics.
- Added explicit "allowed-tools" list for Bash usage.
- Updated platform description to "Chinese and international platforms".
- Minor changes to field descriptors for output and expanded metadata wording.
v0.1.4
- Improved SKILL.md documentation with detailed usage, workflow, and command examples.
- Clear descriptions and tables outlining all 8 supported news sources.
- Added source selection guide to help users pick the best platform for different news categories.
- Expanded guidance on structured JSON output and downstream processing.
- Enhanced usability instructions for both beginners and advanced users.
元数据
常见问题
hotnews 是什么?
CLI tool to fetch trending news and hot topics from 8 sources across Chinese platforms and GitHub. Returns structured news items with titles, URLs, and metad... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 99 次。
如何安装 hotnews?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hotnews」即可一键安装,无需额外配置。
hotnews 是免费的吗?
是的,hotnews 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
hotnews 支持哪些平台?
hotnews 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 hotnews?
由 zhengzhuang(郑壮)(@zhengzhuangpro)开发并维护,当前版本 v0.1.6。
推荐 Skills