← 返回 Skills 市场
1096
总下载
0
收藏
6
当前安装
1
版本数
在 OpenClaw 中安装
/install toutiao-hot
功能描述
获取今日头条(www.toutiao.com)新闻热榜/热搜榜数据 | Get Toutiao (www.toutiao.com) news hot list/trending data 包含时政要闻、财经、社会事件、国际新闻、科技发展及娱乐八卦等多领域的热门中文资讯 | Includes politics, f...
安全使用建议
This package mostly does what it says (scrapes Toutiao and stores results locally), but there are a few red flags to check before installing or running it: 1) The registry metadata declares no required binaries but the code requires Node.js and Python3 — ensure you have those and ask the author to declare them. 2) Inspect and (if needed) edit scripts/fetch-toutiao.py: it contains a hard-coded path to ~/.openclaw/workspace-tanluzhe/skills/toutiao-news-trends-0 which could cause the script to read/execute code from your home workspace unexpectedly; change it to use the local script (or remove that script if unused). 3) The code makes outbound HTTPS requests to https://www.toutiao.com — run it in an environment where that network access is acceptable. 4) Review file writes (data/toutiao.db and data/index.html) and back up or sandbox if you don’t want local files created. If the author provides an updated version that declares runtime requirements and removes the hard-coded workspace path, the package would be coherent; until then treat it with caution or run it in an isolated environment.
功能分析
Type: OpenClaw Skill
Name: toutiao-hot
Version: 1.0.0
The skill bundle is a legitimate tool for scraping, archiving, and visualizing trending news from Toutiao (toutiao.com). It uses a Node.js script (toutiao.js) to fetch data from the public API and several Python scripts (db.py, save_to_db.py, init_db.py) to manage a local SQLite database and generate HTML reports (generate_html.py). While there is a minor SQL string formatting vulnerability in query.py, it is mitigated by integer type-casting in the command-line interface, and the overall behavior aligns perfectly with the stated purpose without any evidence of data exfiltration or malicious intent.
能力评估
Purpose & Capability
The skill's name/description match the included code: Node.js fetcher + Python tooling to store/query/generate HTML from a local SQLite DB. However the registry metadata claims no required binaries or env vars, yet the code clearly requires node (runs scripts/toutiao.js) and python3. That mismatch is disproportionate and misleading.
Instruction Scope
SKILL.md instructs running local node/python scripts which align with the purpose. But one script (scripts/fetch-toutiao.py) is written to call a Node script from a hard-coded OpenClaw workspace path (~/.openclaw/workspace-tanluzhe/skills/toutiao-news-trends-0) instead of the local relative path used by the other scripts; that is unexpected and may cause accidental access to user workspace files if that path exists.
Install Mechanism
No install spec is provided (instruction-only), but the bundle includes executable code that will run (Node.js + Python). The package does not declare these runtime requirements in the registry metadata. This omission increases the risk of runtime failures or surprises when the agent attempts to execute code that depends on missing binaries.
Credentials
The skill does not request credentials or environment variables and the code does not read secrets. It does read/write a local data/ directory (SQLite DB and HTML). The only notable environment access is the hard-coded use of Path.home() in fetch-toutiao.py which references a specific user workspace path — this is not a credential but does access a user-specific filesystem location unexpectedly.
Persistence & Privilege
The skill does not request persistent platform privileges (always: false) and does not modify other skills or system-wide agent configuration. It writes only to its own data/ directory (creates a local SQLite DB and HTML report) which is consistent with its stated purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install toutiao-hot - 安装完成后,直接呼叫该 Skill 的名称或使用
/toutiao-hot触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Toutiao hot news fetcher with persistence and HTML visualization
元数据
常见问题
今日头条热榜 | Toutiao Hot News 是什么?
获取今日头条(www.toutiao.com)新闻热榜/热搜榜数据 | Get Toutiao (www.toutiao.com) news hot list/trending data 包含时政要闻、财经、社会事件、国际新闻、科技发展及娱乐八卦等多领域的热门中文资讯 | Includes politics, f... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1096 次。
如何安装 今日头条热榜 | Toutiao Hot News?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install toutiao-hot」即可一键安装,无需额外配置。
今日头条热榜 | Toutiao Hot News 是免费的吗?
是的,今日头条热榜 | Toutiao Hot News 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
今日头条热榜 | Toutiao Hot News 支持哪些平台?
今日头条热榜 | Toutiao Hot News 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 今日头条热榜 | Toutiao Hot News?
由 noah(@noah-1106)开发并维护,当前版本 v1.0.0。
推荐 Skills