news-daily
npx skills add https://github.com/aaaaqwq/claude-code-skills --skill news-daily
Agent 安装分布
Skill 文档
News Daily
Overview
Automated daily news aggregation and delivery system for AI and frontier technology news. Fetches articles from authoritative sources, extracts key information, generates AI-powered summaries of 3-5 top stories, and delivers them via scheduled push notifications.
Key Features:
- Multi-source news aggregation from 5 authoritative tech sites
- AI-powered summarization (3-5 top stories daily)
- Scheduled push notifications (Morning: 8:00, Afternoon: 13:00, Evening: 18:00)
- Telegram and WhatsApp delivery support
- Efficient content processing with web_fetch and web_search tools
Quick Start
Manual News Fetch and Push
For immediate news delivery:
# Fetch and summarize news (outputs to console)
scripts/news-fetcher.sh
# Fetch, summarize, and push to Telegram
scripts/news-fetcher.sh --push telegram
# Fetch, summarize, and push to WhatsApp
scripts/news-fetcher.sh --push whatsapp
Scheduled Delivery
For automated daily delivery, set up cron jobs (see Cron Configuration below).
Workflow
1. News Fetching
The scripts/news-fetcher.sh script performs these steps:
- Fetch from multiple sources using web_fetch or web_search
- Extract article data (title, summary, link, publication time)
- Filter for AI/tech relevance based on keywords and categories
- Deduplicate articles across sources
2. AI Summarization
After fetching, the script:
- Sorts by recency and relevance
- Selects top 3-5 articles for the day
- Generates concise summaries using the prompt in
scripts/news-summarizer.md - Formats output with source attribution and timestamps
3. Push Delivery
Formatted news is delivered via:
- Telegram: Uses
messagetool with Telegram channel - WhatsApp: Uses
messagetool with WhatsApp channel
News Sources
Configured in scripts/news-sources.conf:
- æºå¨ä¹å¿ (https://www.jiqizhixin.com/) – Leading Chinese AI tech media
- 36æ°ª (https://36kr.com/) – Tech startup and venture capital news
- TechCrunch (https://techcrunch.com/) – Global tech industry news
- The Verge (https://www.theverge.com/) – Consumer tech and digital culture
- MIT Technology Review (https://www.technologyreview.org/) – Emerging technology insights
Each source is configured with:
- Base URL
- Article selectors (CSS/XPath)
- Fetch method (web_search or web_fetch)
- Priority and reliability score
Cron Configuration
For scheduled delivery, add to crontab (crontab -e):
# Morning news - 8:00 AM
0 8 * * * /home/aa/clawd/skills/news-daily/news-daily/scripts/news-fetcher.sh --push telegram >> /home/aa/clawd/logs/news-morning.log 2>&1
# Afternoon news - 1:00 PM
0 13 * * * /home/aa/clawd/skills/news-daily/news-daily/scripts/news-fetcher.sh --push telegram >> /home/aa/clawd/logs/news-afternoon.log 2>&1
# Evening news - 6:00 PM
0 18 * * * /home/aa/clawd/skills/news-daily/news-daily/scripts/news-fetcher.sh --push telegram >> /home/aa/clawd/logs/news-evening.log 2>&1
Time zones: Adjust hours based on your local timezone. Crontab uses server local time.
Logs: Ensure log directory exists:
mkdir -p /home/aa/clawd/logs
Interactive setup: Use the cron setup script for guided configuration:
scripts/cron-setup.sh
Configuration
Push Channel Configuration
Edit scripts/config.sh to set your default push channel:
# Default push channel: telegram or whatsapp
DEFAULT_CHANNEL="telegram"
# Telegram chat ID (optional, overrides default)
TELEGRAM_CHAT_ID=""
# WhatsApp contact ID (optional, overrides default)
WHATSAPP_CONTACT_ID=""
News Source Customization
Edit scripts/news-sources.conf to:
- Add/remove news sources
- Adjust article selectors
- Configure fetch methods
- Set source priorities
Summary Customization
Edit scripts/news-summarizer.md to adjust:
- Summary length
- Selection criteria
- Output format
- Language style
Output Format
Example news summary output:
ð° æ¯æ¥ç§ææ©æ¥ | 2025-01-31
ââââââââââââââââââââââââââââ
ð¤ GPT-5 å³å°åå¸ï¼OpenAI 宣å¸å°äºä¸ææ¨åºææ°æ¨¡å
æ¥æºï¼æºå¨ä¹å¿ | 2å°æ¶å
https://www.jiqizhixin.com/article/xxxx
æè¦ï¼OpenAI 确认 GPT-5 å°äºä¸ææ£å¼åå¸ï¼æ°æ¨¡å卿¨çè½åå夿¨¡æçè§£æ¹é¢ææ¾èæå...
ââââââââââââââââââââââââââââ
ð NASA 宣叿°ä¸ä»£ç«ææ¢æµå¨ä»»å¡
æ¥æºï¼The Verge | 5å°æ¶å
https://www.theverge.com/xxxx
æè¦ï¼NASA å
¬å¸äºæ°ä¸ä»£ç«ææ¢æµå¨ç详ç»è®¡åï¼é¢è®¡å°äº 2028 å¹´åå°...
ââââââââââââââââââââââââââââ
ð¡ DeepMind æ°ç®æ³çªç ´èç½è´¨æå 颿µç¶é¢
æ¥æºï¼MIT Technology Review | 8å°æ¶å
https://www.technologyreview.org/xxxx
æè¦ï¼DeepMind ç AlphaFold 3 å¨èç½è´¨ç»æé¢æµåç¡®çä¸è¾¾å°æ°é«åº¦...
ââââââââââââââââââââââââââââ
ð 仿¥å
±æ¶é 127 ç¯æç« ï¼ç²¾é 3 æ¡éç¹æ°é»
Troubleshooting
News fetch fails
- Check internet connectivity
- Verify source URLs in
news-sources.confare accessible - Review logs in
/home/aa/clawd/logs/
Push notification fails
- Verify channel configuration in
config.sh - Check
messagetool is properly configured - Ensure Telegram/WhatsApp credentials are valid
Cron jobs not running
- Check crontab with
crontab -l - Verify script paths are absolute
- Check cron logs:
grep CRON /var/log/syslog - Ensure script has execute permissions:
chmod +x scripts/news-fetcher.sh
Resources
scripts/news-fetcher.sh
Main script that orchestrates fetching, summarization, and pushing. Accepts arguments:
--push <channel>: Push to specified channel (telegram/whatsapp)--sources <list>: Comma-separated list of sources to fetch--articles <n>: Number of articles to summarize (default: 3-5)
scripts/news-summarizer.md
Prompt template for AI-powered news summarization. Includes instructions for:
- Article selection criteria
- Summary formatting
- Source attribution
- Language style (Chinese/English)
scripts/news-sources.conf
Configuration file defining news sources, their URLs, and fetch parameters.
scripts/config.sh
Global configuration for channels, log paths, and defaults.
scripts/cron-setup.sh
Interactive cron job setup script for easy configuration.
scripts/fetch_news.py
Python implementation for news fetching with support for:
- Multiple source configurations
- Keyword-based filtering
- Deduplication
- JSON export
INSTALL.md
Detailed installation and setup guide with troubleshooting.