Loading...
Loading...
Multi-source AI news aggregation and digest generation with deduplication, classification, and source tracing. Supports 20+ sources, 5 theme categories, multi-language output (ZH/EN/JA), and image export.
npx skill4agent add deletexiumu/agentskills-hub ai-news-digest今天/昨天/前天过去7天/最近24 hoursYYYY-MM-DDsince/untilUTC+8Asia/Shanghaizhenbothreferences/sources.mdassets/digest-template.mdtitle_raw/summary_raw# Enter script directory
cd skills/public/ai-news-digest/scripts
# Get today's news digest
python run.py --day 今天
# Get yesterday's news
python run.py --day yesterday
# Disable SSL certificate verification if encountering local SSL certificate chain issues (not recommended)
python run.py --day yesterday --insecure
# Specify date
python run.py --day 2026-01-15
# Output in JSON format
python run.py --day 今天 --format json
# Export as image (Pillow required)
python run.py --day 今天 --format image
# Export as landscape image (suitable for official accounts)
python run.py --day 今天 --format image --image-preset landscape
# Export as light theme image
python run.py --day 今天 --format image --image-theme light
# Write to file
python run.py --day 今天 --out digest.md
# Use LLM for translation (API key required)
python run.py --day 今天 --llm
# Detailed output
python run.py --day 今天 --verbose
# Run smoke test
python run.py --test| Parameter | Description | Default Value |
|---|---|---|
| Date (today/yesterday/the day before yesterday/YYYY-MM-DD) | today |
| Start time (ISO 8601) | - |
| End time (ISO 8601) | - |
| Time zone | Asia/Shanghai |
| Output language (zh/en) | zh |
| Output format (markdown/json/image) | markdown |
| Image size (portrait/landscape/square) | portrait |
| Image theme (dark/light) | dark |
| Output file path | - |
| Topic filter (comma-separated) | All |
| Source filter (IDs, comma-separated) | All |
| Maximum number of items | 20 |
| Maximum items per topic | 5 |
| Use LLM for translation | No |
| Detailed output | No |
| Disable SSL certificate verification (not recommended) | No |
| Script | Function |
|---|---|
| CLI entry point, integrates all modules |
| Time window parsing |
| Feed fetching (caching/rate limiting/retry) |
| RSS/Atom parsing and standardization |
| Deduplication and cross-source merging |
| Topic classification and sorting |
| Markdown/JSON rendering |
| Image rendering (social sharing cards) |
| LLM-based translation (optional) |
Pillow--format imagepyyamlsources.yamlanthropicopenai# Install image rendering support
pip install Pillow
# Install all optional dependencies
pip install Pillow pyyaml anthropicNote:
- If Pillow is not installed, Markdown and JSON output work normally, only image output is unavailable
- If pyyaml is not installed, the script uses the built-in simplified YAML parser, and the complete source list can be loaded normally
references/output-spec.mdreferences/sources.yamlreferences/sources.mdreferences/time-window.mdreferences/topic-keywords.mdreferences/translation.mdassets/digest-template.mdassets/summarize-prompt.md