← 返回 Skills 市场
huyi9531

hot-news-tracker

作者 AIconductor · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
84
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install hot-news-tracker
功能描述
追踪今日头条热点榜单或按关键词搜索新闻资讯。当用户想了解当前热点、今日热榜、实时新闻、热搜排行,或想搜索某个话题/关键词的相关新闻时调用。常见表达:'今天有什么热点'、'最近发生了什么大事'、'帮我看看热搜'、'搜一下XX的新闻'、'XX最新动态'、'有没有关于XX的新闻'、'今天的热门话题'。
使用说明 (SKILL.md)

热点新闻追踪指南

能力说明

通过 gnomic CLI 工具接入今日头条数据源,支持两种使用方式:

  • 获取热榜:实时拉取头条热榜 Top 50,含热度值和跳转链接
  • 关键词搜索:搜索指定话题的相关新闻,含摘要、媒体来源和分类标签

使用方式

获取今日头条热榜

gnomic news hot

JSON 输出结构:

{
  "success": true,
  "data": {
    "code": 200,
    "data": {
      "name": "toutiao",
      "type": "热榜",
      "total": 50,
      "updateTime": "2026-04-02 09:49:17",
      "link": "https://www.toutiao.com/",
      "data": [
        {
          "index": 0,
          "title": "热点标题",
          "hot_value": "34480552",
          "image_url": "封面图片URL",
          "url": "https://www.toutiao.com/trending/xxxxx/",
          "mobilUrl": "移动端链接"
        }
      ]
    }
  }
}

data.data.data 为热榜条目数组,按 index 升序排列(0 = 最热),hot_value 为热度数值字符串,数值越大越热。


关键词搜索新闻

gnomic news search "\x3C关键词>"

示例:

gnomic news search "人工智能"
gnomic news search "A股"

JSON 输出结构:

{
  "success": true,
  "data": {
    "news": [
      {
        "title": "文章标题",
        "summary": "文章摘要",
        "media_name": "媒体名称",
        "time": "2026-04-02 09:00",
        "cover": "封面图片URL",
        "url": "文章链接",
        "categories": ["news_tech/artificial_intelligence", "news_tech"]
      }
    ]
  }
}

data.news 为搜索结果数组,categories 为头条内部分类标签,media_name 为发布媒体。


文本格式输出

gnomic news hot -f text
gnomic news search "关键词" -f text

操作流程

判断使用哪条命令

用户意图 使用命令
看热榜/热搜/今日大事 gnomic news hot
搜索某个话题/关键词 gnomic news search "\x3C关键词>"

获取热榜后的展示方式

data.data.data 数组提取条目,推荐格式:

🔥 今日头条热榜(更新时间:updateTime)

1. [标题](url)  热度:hot_value
2. [标题](url)  热度:hot_value
...
  • index + 1 为排名
  • hot_value 可格式化展示(如 34,480,552)
  • 如需展示封面图,使用 ![](image_url)

搜索新闻后的展示方式

data.news 数组提取条目,推荐格式:

📰 「关键词」相关新闻

标题(来源:media_name|时间:time)
摘要内容...
🔗 url

注意事项

  • 热榜数据实时拉取,updateTime 为最近一次更新时间
  • 搜索结果按相关性排序,条数不固定,通常 5~10 条
  • categories 字段为头条内部分类编码,无需展示给用户
  • 请求通常在 2~5 秒内返回

补充:命令不可用时

如果执行 gnomic 命令时提示找不到命令,说明 gnomic-cli 尚未安装,执行以下命令安装:

npm install -g gnomic-cli

gnomic-cli开源地址:https://github.com/huyi9531/gnomic_cli

安全使用建议
This skill appears to do what it says (query Toutiao via a CLI) but the manifest fails to declare the 'gnomic' CLI requirement and the README asks you to globally install an npm package. Before installing or using it: 1) Verify the gnomic-cli project and npm package (author, repository contents, recent commits, npm download stats). 2) Avoid running 'npm install -g' on production machines — install in a sandbox/container or review the package source first. 3) Confirm the exact package name and repository (the SKILL.md repo name uses an underscore while the npm package uses a dash). 4) If you want to allow this skill, prefer having an administrator preinstall a vetted 'gnomic' binary or add 'gnomic' to the skill's declared required binaries so the mismatch is resolved. If you cannot verify the package authorship and code, treat the install instruction as a supply-chain risk and do not run the global npm install.
能力评估
Purpose & Capability
The skill's stated purpose (track Toutiao hot lists and search by keyword) matches the described behavior in SKILL.md, but the manifest declares no required binaries while the runtime instructions require the 'gnomic' CLI. This mismatch is incoherent: either the skill should declare 'gnomic' as a required binary or the instructions should not assume it exists.
Instruction Scope
SKILL.md narrowly confines runtime actions to running 'gnomic news hot' and 'gnomic news search' and formatting their JSON/text outputs, which is appropriate for the stated purpose. However, it also instructs the user/agent to install a third-party CLI (npm install -g gnomic-cli) if the command is missing. That installation step expands the scope to running arbitrary package code on the host and is not accounted for in the manifest.
Install Mechanism
There is no platform install spec, but SKILL.md instructs a global 'npm install -g gnomic-cli' from a GitHub repo. Global npm installs run third-party code and modify the system PATH. The referenced repo (https://github.com/huyi9531/gnomic_cli) and the npm package name (gnomic-cli) should be verified; the instruction to install is a weak, out-of-band install mechanism and poses a moderate supply-chain risk.
Credentials
The skill requests no environment variables, credentials, or config paths. The runtime instructions do not ask for unrelated secrets or system-wide credentials.
Persistence & Privilege
always is false and the skill does not request persistent platform privileges or attempt to modify other skills. It can be invoked by the agent, which is normal.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hot-news-tracker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hot-news-tracker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- 文档新增了 `gnomic-cli` 的开源地址链接,方便用户获取和参考项目源码。 - 其余内容无变化,仅作补充说明。
v1.0.0
Initial release of hot-news-tracker: - Provides real-time access to Toutiao’s Top 50 trending news or search by keyword. - Supports two commands: fetch hot list (`gnomic news hot`) or search news (`gnomic news search "<关键词>"`). - Returns structured JSON with headlines, hotness values, sources, summaries, and links. - Includes recommended output formatting for both hot list and search results. - Offers fallback instructions if the CLI command is unavailable.
元数据
Slug hot-news-tracker
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

hot-news-tracker 是什么?

追踪今日头条热点榜单或按关键词搜索新闻资讯。当用户想了解当前热点、今日热榜、实时新闻、热搜排行,或想搜索某个话题/关键词的相关新闻时调用。常见表达:'今天有什么热点'、'最近发生了什么大事'、'帮我看看热搜'、'搜一下XX的新闻'、'XX最新动态'、'有没有关于XX的新闻'、'今天的热门话题'。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 84 次。

如何安装 hot-news-tracker?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hot-news-tracker」即可一键安装,无需额外配置。

hot-news-tracker 是免费的吗?

是的,hot-news-tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

hot-news-tracker 支持哪些平台?

hot-news-tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 hot-news-tracker?

由 AIconductor(@huyi9531)开发并维护,当前版本 v1.0.1。

💬 留言讨论