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. - 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.
央视新闻获取器
该技能允许你获取任意指定日期的《新闻联播》摘要标题和内容。
使用方法
你可以让助手执行以下操作:
- - 获取20250210的央视新闻
- 给我昨天的新闻要点
操作说明
当用户请求获取特定日期的新闻时:
- 1. 将日期格式化为YYYYMMDD。如果用户说昨天或今天,则根据当前本地时间计算相应日期。
- 使用bun或node执行位于{baseDir}/scripts/news_crawler.js的脚本。
- 命令:bun {baseDir}/scripts/news_crawler.js
- 3. 解析JSON输出并为用户进行总结。根据标题尽可能将新闻分为国内和国际两组,或直接列出要点。
配置
该技能依赖于node-html-parser。
确保环境中已安装bun。