← Back to Skills Marketplace
litiao1224

Cctv News Fetcher Litiao

by litiao1224 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
255
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install cctv-news-fetcher-litiao
Description
Fetch and parse news highlights from CCTV News Broadcast (Xinwen Lianbo) for a given date.
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cctv-news-fetcher-litiao
  3. After installation, invoke the skill by name or use /cctv-news-fetcher-litiao
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Bug fixes and improvements with -litiao suffix
Metadata
Slug cctv-news-fetcher-litiao
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Cctv News Fetcher Litiao?

Fetch and parse news highlights from CCTV News Broadcast (Xinwen Lianbo) for a given date. It is an AI Agent Skill for Claude Code / OpenClaw, with 255 downloads so far.

How do I install Cctv News Fetcher Litiao?

Run "/install cctv-news-fetcher-litiao" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Cctv News Fetcher Litiao free?

Yes, Cctv News Fetcher Litiao is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Cctv News Fetcher Litiao support?

Cctv News Fetcher Litiao is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cctv News Fetcher Litiao?

It is built and maintained by litiao1224 (@litiao1224); the current version is v1.0.0.

💬 Comments