360 Secure SkillHub
360 安全技能中心

News Digest Aggregator - 新闻聚合

核心功能:从配置的RSS源抓取文章,通过LLM生成精简摘要,按分类整理成结构化新闻 digest,支持手动触发或定时运行,可推送至Discord/Slack/飞书。典型场景:需每日获取特定领域新闻摘要,无需手动浏览多源。输入为RSS源配置、渠道Webhook;输出为含日期、统计、分类摘要及链接的格式化内容。

cp3d1455926-svg
cp3d1455926-svg
热度 56.73
最近更新 2026-05-11 17:38:19
分类:自动化依赖:代码执行 / 第三方 API / 内部调用大模型 / 读写文件应用场景:自动化脚本 / 摘要总结 / 日程安排

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add news-digest-aggregator
Metadata
name
news-digest-aggregator
description
Daily automated news digest that fetches RSS feeds, aggregates articles using LLM summarization, and delivers formatted digests to messaging channels (Discord/Slack/Feishu) on a schedule. Use when user wants daily news summaries, RSS aggregation, or scheduled content delivery.

News Digest Aggregator

Automated daily news digest system that collects articles from RSS feeds, summarizes them using LLM, and delivers formatted digests to your preferred messaging channel.

Quick Start

  1. Configure RSS sources in references/sources.json
  2. Set up channel credentials in environment variables
  3. Run scripts/fetch_and_digest.py manually or schedule with cron

Configuration

RSS Sources

Edit references/sources.json:

{
  "sources": [
    {"name": "TechCrunch", "url": "https://techcrunch.com/feed/", "category": "tech"},
    {"name": "Reuters", "url": "https://www.reutersagency.com/feed/?taxonomy=markets&post_type=reuters-best", "category": "finance"}
  ]
}

Channel Settings

Set environment variables for your target channel:

Discord:

export DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/..."

Slack:

export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/..."

Feishu:

export FEISHU_WEBHOOK_URL="https://open.feishu.cn/open-apis/bot/v2/hook/..."

Usage

Manual Run

python scripts/fetch_and_digest.py --config references/sources.json --channel discord

Scheduled (Cron)

# Daily at 9 AM
0 9 * * * cd /path/to/skill && python scripts/fetch_and_digest.py --config references/sources.json --channel discord

Output Format

The digest includes:

  • 📅 Date header
  • 📊 Summary statistics (total articles, sources)
  • 🏷️ Categorized sections
  • 🔗 Article links with brief summaries

Customization

  • Max articles per source: Edit MAX_ARTICLES in the script (default: 5)
  • Summary length: Adjust SUMMARY_MAX_TOKENS (default: 150)
  • Categories: Modify category tags in sources.json