mcpField
C
cctv-news-fetcher

cctv-news-fetcher

github.com/kirkluokunProductivity6697 installsUpdated 32w ago
Repository

About cctv-news-fetcher

A skill that retrieves CCTV News titles and content for a requested date. It runs a crawler script, parses its JSON output, and groups or summarizes the resulting headlines for an agent.

Key features

  1. 01Fetches news by date
  2. 02Accepts relative dates such as today
  3. 03Runs a JavaScript crawler
  4. 04Parses JSON results
  5. 05Groups domestic and international headlines

Use cases

  1. 01Reviewing CCTV News from a specific date
  2. 02Getting highlights from yesterday’s broadcast

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/kirkluokun/awesome-a-stock-openclawskills --skill cctv-news-fetcher

After installing, type/cctv-news-fetcherin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

_meta.json
package.json
examples/
example.md
scripts/
news_crawler.js

Details

From the project README

CCTV News Fetcher

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

Usage

You can ask the agent to:

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

Instructions

When the user asks for news from a specific date:

  1. Format the date as YYYYMMDD. If the user says "yesterday" or "today", calculate the date relative to the current local time.
  2. Execute the script at {baseDir}/scripts/news_crawler.js using bun or node.
    • Command: bun {baseDir}/scripts/news_crawler.js <YYYYMMDD>
  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.

Configuration

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

Comments

Markdown supported