360 Secure SkillHub
360 安全技能中心

Cctv News Fetcher Litiao

该 Skill 接收 YYYYMMDD 日期(支持相对“今天/昨天”换算),调用本地脚本抓取央视《新闻联播》对应日期的新闻标题与内容,再解析脚本输出的 JSON,按国内/国际分组或直接列出要点。依赖 bun 或 node 运行环境及 node-html-parser,运行需联网访问央视站点。

litiao1224
litiao1224
热度 62.78
最近更新 2026-05-11 17:32:38
分类:搜索依赖:代码执行 / 第三方 API应用场景:研究 / 摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cctv-news-fetcher-litiao
Metadata
name
cctv-news-fetcher-litiao
description
Fetch and parse news highlights from CCTV News Broadcast (Xinwen Lianbo) for a given date.
user-invocable
true

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.