Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

ai-news-digestAI 新闻文摘

Agent Skill

ai-news-digest 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,224

周安装

50

GitHub Stars

公开资料未说明

下载量

396
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ai-news-digest(AI 新闻文摘)
来源仓库:https://github.com/konatatech/ai-news-digest-skill
仓库路径:skills/ai-news-digest
安装命令:
npx skills add https://github.com/konatatech/ai-news-digest-skill --skill ai-news-digest
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/konatatech/ai-news-digest-skill --skill ai-news-digest

简介

ai-news-digest 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于根据关键词或任务场景从多源提取知识内容。
  • 通过 npx skills add 命令安装,需确认权限与网络访问范围。
  • 建议结合原始 README 核实具体用法,避免触发未授权操作。
  • 使用前请检查仓库维护状态及是否涉及文件读写权限。

SKILL.md

AI News Digest Skill

Overview

This skill automatically aggregates AI news from 8+ authoritative sources (both English and Chinese), intelligently deduplicates articles, ranks them by importance, and delivers formatted digests via email with Markdown attachments.

Key Features:

  • 🌐 Multi-source aggregation (RSS-based, no scraping issues)
  • 🧹 Smart deduplication (similarity detection)
  • 📊 Intelligent ranking (heat score, recency, importance)
  • 📧 Email delivery with HTML + Markdown attachment
  • 📝 Auto-save to Obsidian vault
  • ⏰ Flexible time ranges (hourly, daily, weekly)

Quick Start

Generate and Email Today's Digest

cd /data/workspace/TsunagiConfig/skills/ai-news-digest
python scripts/generate_digest.py

This will:

  1. Fetch news from the past 24 hours
  2. Deduplicate and rank articles
  3. Generate HTML email + Markdown file
  4. Send to your configured email
  5. Save to Obsidian (if configured)

Get Last 6 Hours of Breaking News

python scripts/generate_digest.py --hours 6

Weekly Summary (Last 7 Days)

python scripts/generate_digest.py --days 7

News Sources

SourceTypeRSS FeedLanguage
Hacker NewsTech Newshttps://hn.algolia.com/api/v1/search_by_date?tags=story&query=AIEN
TechCrunch AIIndustryhttps://techcrunch.com/category/artificial-intelligence/feed/EN
The Verge AIConsumer Techhttps://www.theverge.com/ai-artificial-intelligence/rss/index.xmlEN
OpenAI BlogOfficialhttps://openai.com/blog/rss.xmlEN
机器之心Researchhttps://www.jiqizhixin.com/rssCN
量子位Industryhttps://www.qbitai.com/feedCN
AI科技评论Academic(Custom RSS)CN
36氪AIBusiness(Custom RSS)CN

All sources use RSS feeds for stability (no web scraping SSL issues).

Usage Examples

1. Manual One-Time Digest

# Default: last 24 hours, send email, save to Obsidian
python scripts/generate_digest.py

# Last 12 hours, no email
python scripts/generate_digest.py --hours 12 --no-email

# Last 3 days, custom output path
python scripts/generate_digest.py --days 3 --output ~/Desktop/ai_digest.md

2. Scheduled Daily Digest (Cron)

# Add to crontab: Daily at 8 AM
0 8 * * * cd /data/workspace/TsunagiConfig/skills/ai-news-digest && python scripts/generate_digest.py --hours 24

3. Use as Python Module

from scripts.fetch_news import fetch_all_news
from scripts.process_news import deduplicate_and_rank

# Fetch news from last 48 hours
articles = fetch_all_news(hours=48)
print(f"Fetched {len(articles)} articles")

# Process and rank
top_articles = deduplicate_and_rank(articles, top_n=15)

# Generate Markdown
from scripts.generate_digest import format_markdown
markdown = format_markdown(top_articles)
print(markdown)

4. Email Only (No File Output)

from scripts.generate_digest import send_digest_email

articles = [...]  # Your processed articles
send_digest_email(
    articles=articles,
    recipient="your@email.com",
    subject="AI News Digest - 2024-01-15"
)

Configuration

Email Settings (Optional)

Edit config/email.json if you want to add email delivery:

{
  "smtp_host": "smtp.example.com",
  "smtp_port": 587,
  "sender": "your-email@example.com",
  "auth_code": "your-smtp-auth-code",
  "recipient": "recipient@example.com"
}

Note: Email functionality is optional. The skill works without it, generating Markdown reports only.

News Sources

Edit config/sources.json to add/remove sources:

{
  "sources": [
    {
      "name": "Hacker News",
      "url": "https://hn.algolia.com/api/v1/search_by_date?tags=story&query=AI",
      "type": "api",
      "language": "en",
      "enabled": true
    },
    {
      "name": "机器之心",
      "url": "https://www.jiqizhixin.com/rss",
      "type": "rss",
      "language": "zh",
      "enabled": true
    }
  ]
}

Obsidian Integration

Edit config/obsidian.json:

{
  "vault_path": "/data/workspace/obsidian/Daily Notes",
  "enabled": true,
  "filename_format": "AI Digest - {date}.md"
}

Output Format

Markdown Structure

# AI News Digest - 2024-01-15

**Time Range:** Last 24 hours
**Total Articles:** 38 → 15 after deduplication
**Generated:** 2024-01-15 08:00:00

---

## 🔥 Top Stories (Score ≥ 8.0)

### 1. OpenAI Announces GPT-5 with Multimodal Reasoning
- **Source:** OpenAI Blog | **Published:** 2 hours ago
- **Score:** 9.2/10 | **Category:** Product Launch
- **Summary:** OpenAI unveiled GPT-5, featuring advanced multimodal reasoning capabilities across text, images, and audio. The model shows significant improvements in complex problem-solving tasks.
- **Link:** [Read More](https://openai.com/blog/gpt-5-announcement)

---

## 📊 Industry News (Score 6.0-7.9)

### 2. Google DeepMind's AlphaFold 3 Predicts Protein Structures
...

---

## 🌏 Chinese AI Updates

### 8. 字节跳动发布新一代大模型"豆包Pro"
- **来源:** 量子位 | **发布:** 5小时前
...

---

## 📈 Statistics
- Total sources checked: 8
- Articles fetched: 38
- After deduplication: 15
- English articles: 10
- Chinese articles: 5

Email HTML Format

  • Clean, responsive HTML design
  • Clickable headlines
  • Category badges (🔥 Hot, 📊 Industry, 🌏 Chinese)
  • Markdown file attached as .md

Command-Line Options

python scripts/generate_digest.py [OPTIONS]

Options:
  --hours N          Time range in hours (default: 24)
  --days N           Time range in days (overrides --hours)
  --output PATH      Output Markdown file path
  --send-email       Send via email (default: true)
  --no-email         Skip email sending
  --save-obsidian    Save to Obsidian (default: true if configured)
  --top-n N          Number of top articles to include (default: 15)
  --min-score FLOAT  Minimum score threshold (default: 5.0)
  --debug            Enable debug logging

Common Tasks

Test News Fetching

python scripts/test_digest.py

Output:

✓ Fetched 16 articles from Hacker News
✓ Fetched 22 articles from 机器之心
✓ Total: 38 articles
✓ After deduplication: 15 articles

Debug RSS Feed Issues

from scripts.fetch_news import test_single_source

# Test a specific source
test_single_source("https://www.jiqizhixin.com/rss")

Custom Scoring Algorithm

Edit scripts/process_news.py:

def calculate_score(article):
    score = 0.0

    # Recency (0-3 points)
    hours_ago = (datetime.now() - article['published']).total_seconds() / 3600
    if hours_ago < 6:
        score += 3.0
    elif hours_ago < 24:
        score += 2.0
    else:
        score += 1.0

    # Keyword boost (0-4 points)
    hot_keywords = ['GPT', 'OpenAI', 'breakthrough', 'AGI']
    for keyword in hot_keywords:
        if keyword.lower() in article['title'].lower():
            score += 1.0

    # Source authority (0-3 points)
    authority_map = {
        'OpenAI Blog': 3.0,
        'Hacker News': 2.5,
        '机器之心': 2.5
    }
    score += authority_map.get(article['source'], 1.0)

    return min(score, 10.0)

Troubleshooting

Issue: No articles fetched

# Check internet connectivity
curl -I https://www.jiqizhixin.com/rss

# Test RSS parsing
python -c "import feedparser; print(feedparser.parse('https://www.jiqizhixin.com/rss'))"

Issue: Email not sending

# Test email config
node /data/workspace/send_report_email.js

# Check SMTP credentials in config/email.json

Issue: Too many duplicate articles

Adjust similarity threshold in scripts/process_news.py:

SIMILARITY_THRESHOLD = 0.75  # Lower = stricter deduplication (default: 0.8)

Quick Reference

TaskCommandTime
Daily digestpython scripts/generate_digest.py~10s
Breaking news (6h)python scripts/generate_digest.py --hours 6~8s
Weekly summarypython scripts/generate_digest.py --days 7~15s
Test fetchingpython scripts/test_digest.py~5s
Email onlypython scripts/generate_digest.py --no-obsidian~10s

Installation

Before using this skill, install the required dependencies:

pip install -r requirements.txt

This will install:

  • feedparser - RSS feed parsing
  • beautifulsoup4 - HTML content extraction
  • requests - HTTP requests
  • python-dateutil - Date/time handling
  • numpy - Similarity calculations

System Requirements:

  • Python 3.8+
  • Internet connection
  • Optional: Node.js 14+ (for email sending via nodemailer)

Next Steps

  • For API reference and data structures, see references/api_reference.md
  • For advanced customization, see references/advanced_usage.md
  • To add new news sources, edit config/sources.json
  • To integrate with other tools, use the Python module API

License

MIT License - Free to use and modify

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.54%
按下载量换算141

Claude

30.05%
按下载量换算119

Cursor

17.46%
按下载量换算69

Gemini CLI

7.74%
按下载量换算31

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/konatatech/ai-news-digest-skill --skill ai-news-digest 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills