🤖
CCTV News Fetcher
Fetch and parse news highlights from CCTV News Broadcast (Xinwen Lianbo) for a given date.
安全通过
技能说明
name: cctv-news-fetcher 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:
- 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.jsusingbunornode.- Command:
bun {baseDir}/scripts/news_crawler.js <YYYYMMDD>
- Command:
- 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.
如何使用「CCTV News Fetcher」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「CCTV News Fetcher」技能完成任务
- 结果即时呈现,支持继续对话优化