← 返回 Skills 市场
litiao1224

Cctv News Fetcher Litiao

作者 litiao1224 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
255
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install cctv-news-fetcher-litiao
功能描述
Fetch and parse news highlights from CCTV News Broadcast (Xinwen Lianbo) for a given date.
使用说明 (SKILL.md)

\r \r

CCTV News Fetcher\r

\r This skill allows you to fetch summary titles and content from the CCTV News Broadcast for any specific date.\r \r

Usage\r

\r You can ask the agent to:\r

  • "Fetch CCTV news for 20250210"\r
  • "Give me the news highlights for yesterday"\r \r

Instructions\r

\r When the user asks for news from a specific date:\r

  1. Format the date as YYYYMMDD. If the user says "yesterday" or "today", calculate the date relative to the current local time.\r
  2. Execute the script at {baseDir}/scripts/news_crawler.js using bun or node.\r
    • Command: bun {baseDir}/scripts/news_crawler.js \x3CYYYYMMDD>\r
  3. Parse the JSON output and summarize it for the user. Group news by "Domestic" and "International" if possible based on titles, or just list the highlights.\r \r

Configuration\r

\r The skill depends on node-html-parser.\r Ensure bun is installed in the environment.\r

安全使用建议
This skill is mostly coherent with its stated purpose, but take a few precautions before running: 1) Confirm the runtime: SKILL.md asks for 'bun' (or node) though the registry lists no required binaries — install/confirm bun or run with a recent Node that provides fetch. 2) Review or remove the hard-coded Cookie header (cna=...) — it is unnecessary for a simple scrape and unexpected. 3) Run the script in a sandboxed environment (or locally) the first time; the crawler follows URLs found on scraped pages so running in an isolated environment reduces risk if pages contain external links. 4) If you need to install dependencies, run npm/install in a controlled context and inspect package-lock; node-html-parser is a reasonable dependency. If you want me to, I can point out the exact lines to change (e.g., remove the Cookie header) or produce a safer wrapper to validate that fetched URLs are limited to cctv/cntv domains.
功能分析
Type: OpenClaw Skill Name: cctv-news-fetcher-litiao Version: 1.0.0 The skill is a legitimate news scraper designed to fetch public highlights from the CCTV News Broadcast. The core logic in `scripts/news_crawler.js` uses standard HTTP requests and HTML parsing to extract news titles and content from official CCTV domains (cctv.com). No evidence of data exfiltration, malicious execution, or prompt injection was found; the hardcoded cookie in the headers is a common, non-malicious technique used to bypass basic anti-bot measures for public data scraping.
能力评估
Purpose & Capability
Name and description match the included code: scripts/news_crawler.js fetches and parses CCTV news pages for a given date. The dependency on node-html-parser is coherent with HTML parsing. However, SKILL.md requires 'bun' (or node) to run while the registry metadata lists no required binaries — this mismatch should be clarified.
Instruction Scope
SKILL.md instructs the agent to run the included script and parse its JSON output — that stays within the stated purpose. Minor concerns: the instructions reference {baseDir} (placeholder) rather than an absolute/explicit path, and the script extracts and follows URLs found on the CCTV pages using a regex that can capture any http(s) URL. In practice these will usually be CCTV links, but the code could follow external links if present.
Install Mechanism
There is no install spec (instruction-only style) which is low risk. Package.json/package-lock list node-html-parser as a dependency but no installation step is provided; SKILL.md asks the environment to have bun installed. This inconsistency (declared dependencies but no install step) is a maintainability/usability issue rather than clearly malicious.
Credentials
The skill requests no environment variables or credentials (appropriate for a public web scraper). The script does include hard-coded request headers (including a Cookie value and Host) — the Cookie is unnecessary for an ordinary scrape and is unexpected; it doesn't leak local secrets but is unusual and should be explained or removed.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges, modify other skills, or require credential storage. Runtime autonomy (model invocation enabled) is the platform default and not an additional concern here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cctv-news-fetcher-litiao
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cctv-news-fetcher-litiao 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Bug fixes and improvements with -litiao suffix
元数据
Slug cctv-news-fetcher-litiao
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Cctv News Fetcher Litiao 是什么?

Fetch and parse news highlights from CCTV News Broadcast (Xinwen Lianbo) for a given date. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 255 次。

如何安装 Cctv News Fetcher Litiao?

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

Cctv News Fetcher Litiao 是免费的吗?

是的,Cctv News Fetcher Litiao 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Cctv News Fetcher Litiao 支持哪些平台?

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

谁开发了 Cctv News Fetcher Litiao?

由 litiao1224(@litiao1224)开发并维护,当前版本 v1.0.0。

💬 留言讨论