Aggregating Crypto News
Overview
This skill aggregates cryptocurrency news from 50+ authoritative sources using RSS feeds. It provides real-time news scanning with filtering by coin, category, time window, and relevance scoring.
Key Capabilities:
- Multi-source aggregation from top crypto news sites
- Coin-specific filtering (BTC, ETH, SOL, etc.)
- Category filtering (DeFi, NFT, regulatory, exchange, etc.)
- Relevance scoring with market-moving keyword detection
- Multiple output formats (table, JSON, CSV)
Prerequisites
Before using this skill, ensure:
- Python 3.8+ is installed
- feedparser library is available:
pip install feedparser
- requests library is available:
pip install requests
- Internet connectivity for RSS feed access
Instructions
Step 1: Assess User Intent
Determine what the user is looking for:
- General news: No specific filters, use defaults
- Coin-specific: Extract coin symbol (BTC, ETH, etc.)
- Category-specific: Extract category (defi, nft, regulatory, etc.)
- Time-specific: Extract time window (1h, 4h, 24h, 7d)
Step 2: Execute News Aggregation
Run the news aggregator with appropriate filters:
# Default scan (top 20, past 24h, relevance sorted)
python {baseDir}/scripts/news_aggregator.py
# Coin-specific scan
python {baseDir}/scripts/news_aggregator.py --coin BTC --period 4h
# Category filter
python {baseDir}/scripts/news_aggregator.py --category defi --top 30
# Export to JSON
python {baseDir}/scripts/news_aggregator.py --format json --output news.json
# Multiple filters
python {baseDir}/scripts/news_aggregator.py --coin ETH --category defi --period 24h --top 15
Step 3: Present Results
Format and present the news to the user:
- Show source, title, age, and relevance score
- Highlight market-moving keywords if present
- Provide links for full articles
- Summarize meta information (sources checked, articles found)
Command-Line Options
| Option |
Description |
Default |
--coin |
Filter by coin symbol (BTC, ETH, etc.) |
None |
--coins |
Filter by multiple coins (comma-separated) |
None |
--category |
Filter by category |
None |
--period |
Time window (1h, 4h, 24h, 7d) |
24h |
--top |
Number of results to return |
20 |
--min-score |
Minimum relevance score |
0 |
--format |
Output format (table, json, csv) |
table |
--output |
Output file path |
stdout |
--sort-by |
Sort by (relevance, recency) |
relevance |
--verbose |
Enable verbose output |
false |
Categories Available
market: General market news, price movements
defi: DeFi protocols, yield farming, DEXes
nft: NFT projects, marketplaces, collections
regulatory: Government, SEC, legal developments
layer1: L1 blockchain news (Ethereum, Solana, etc.)
layer2: L2 scaling solutions (Arbitrum, Optimism, etc.)
exchange: Exchange news, listings, delistings
security: Hacks, exploits, vulnerabilities
Output
Table Format (Default)
==============================================================================
CRYPTO NEWS AGGREGATOR Updated: 2026-01-14 15:30
==============================================================================
TOP CRYPTO NEWS (24h)
------------------------------------------------------------------------------
Rank Source Title Age Score
------------------------------------------------------------------------------
1 CoinDesk Bitcoin Breaks $100K ATH 2h 95.0
2 The Block SEC Approves ETH ETF 4h 92.5
3 Decrypt Solana DeFi TVL Surges 6h 78.3
------------------------------------------------------------------------------
Summary: 20 articles shown | Scanned: 50 sources | Matched: 187
==============================================================================
JSON Format
{
"articles": [
{
"rank": 1,
"title": "Bitcoin Breaks $100K ATH",
"url": "https://coindesk.com/...",
"source": "CoinDesk",
"published": "2026-01-14T13:30:00Z",
"age": "2h ago",
"category": "market",
"relevance_score": 95.0,
"coins_mentioned": ["BTC"]
}
],
"meta": {
"period": "24h",
"sources_checked": 50,
"total_articles": 187,
"shown": 20
}
}
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
| Error |
Cause |
Solution |
| Network timeout |
RSS feed unreachable |
Uses cached data; skips unavailable sources |
| Parse error |
Malformed RSS |
Skips entry; continues with valid articles |
| No results |
Filters too strict |
Suggest relaxing filters |
| Invalid coin |
Unknown symbol |
List similar valid symbols |
Examples
See {baseDir}/references/examples.md for detailed examples.
Quick Examples
# Get latest crypto news (default)
python {baseDir}/scripts/news_aggregator.py
# Bitcoin news from past 4 hours
python {baseDir}/scripts/news_aggregator.py --coin BTC --period 4h
# DeFi category news
python {baseDir}/scripts/news_aggregator.py --category defi
# Export to JSON file
python {baseDir}/scripts/news_aggregator.py --format json --output crypto_news.json
# High-relevance news only
python {baseDir}/scripts/news_aggregator.py --min-score 70 --top 10
# Multiple coins
python {baseDir}/scripts/news_aggregator.py --coins BTC,ETH,SOL
Resources
1---2name: aggregating-crypto-news3description: Aggregate breaking cryptocurrency news from 50+ sources including CoinDesk, CoinTelegraph, The Block, and Decrypt. Use when needing to monitor crypto market news, track announcements, or find coin-specific updates. Trigger with phrases like "get crypto news", "latest Bitcoin headlines", "DeFi announcements", "scan for breaking news", or "check crypto updates".4license: MIT5---67# Aggregating Crypto News89## Overview1011This skill aggregates cryptocurrency news from 50+ authoritative sources using RSS feeds. It provides real-time news scanning with filtering by coin, category, time window, and relevance scoring.1213**Key Capabilities:**14- Multi-source aggregation from top crypto news sites15- Coin-specific filtering (BTC, ETH, SOL, etc.)16- Category filtering (DeFi, NFT, regulatory, exchange, etc.)17- Relevance scoring with market-moving keyword detection18- Multiple output formats (table, JSON, CSV)1920## Prerequisites2122Before using this skill, ensure:23241. **Python 3.8+** is installed252. **feedparser** library is available: `pip install feedparser`263. **requests** library is available: `pip install requests`274. Internet connectivity for RSS feed access2829## Instructions3031### Step 1: Assess User Intent3233Determine what the user is looking for:34- **General news**: No specific filters, use defaults35- **Coin-specific**: Extract coin symbol (BTC, ETH, etc.)36- **Category-specific**: Extract category (defi, nft, regulatory, etc.)37- **Time-specific**: Extract time window (1h, 4h, 24h, 7d)3839### Step 2: Execute News Aggregation4041Run the news aggregator with appropriate filters:4243```bash44# Default scan (top 20, past 24h, relevance sorted)45python {baseDir}/scripts/news_aggregator.py4647# Coin-specific scan48python {baseDir}/scripts/news_aggregator.py --coin BTC --period 4h4950# Category filter51python {baseDir}/scripts/news_aggregator.py --category defi --top 305253# Export to JSON54python {baseDir}/scripts/news_aggregator.py --format json --output news.json5556# Multiple filters57python {baseDir}/scripts/news_aggregator.py --coin ETH --category defi --period 24h --top 1558```5960### Step 3: Present Results6162Format and present the news to the user:63- Show source, title, age, and relevance score64- Highlight market-moving keywords if present65- Provide links for full articles66- Summarize meta information (sources checked, articles found)6768### Command-Line Options6970| Option | Description | Default |71|--------|-------------|---------|72| `--coin` | Filter by coin symbol (BTC, ETH, etc.) | None |73| `--coins` | Filter by multiple coins (comma-separated) | None |74| `--category` | Filter by category | None |75| `--period` | Time window (1h, 4h, 24h, 7d) | 24h |76| `--top` | Number of results to return | 20 |77| `--min-score` | Minimum relevance score | 0 |78| `--format` | Output format (table, json, csv) | table |79| `--output` | Output file path | stdout |80| `--sort-by` | Sort by (relevance, recency) | relevance |81| `--verbose` | Enable verbose output | false |8283### Categories Available8485- `market`: General market news, price movements86- `defi`: DeFi protocols, yield farming, DEXes87- `nft`: NFT projects, marketplaces, collections88- `regulatory`: Government, SEC, legal developments89- `layer1`: L1 blockchain news (Ethereum, Solana, etc.)90- `layer2`: L2 scaling solutions (Arbitrum, Optimism, etc.)91- `exchange`: Exchange news, listings, delistings92- `security`: Hacks, exploits, vulnerabilities9394## Output9596### Table Format (Default)97```98==============================================================================99 CRYPTO NEWS AGGREGATOR Updated: 2026-01-14 15:30100==============================================================================101102 TOP CRYPTO NEWS (24h)103------------------------------------------------------------------------------104 Rank Source Title Age Score105------------------------------------------------------------------------------106 1 CoinDesk Bitcoin Breaks $100K ATH 2h 95.0107 2 The Block SEC Approves ETH ETF 4h 92.5108 3 Decrypt Solana DeFi TVL Surges 6h 78.3109------------------------------------------------------------------------------110111 Summary: 20 articles shown | Scanned: 50 sources | Matched: 187112==============================================================================113```114115### JSON Format116```json117{118 "articles": [119 {120 "rank": 1,121 "title": "Bitcoin Breaks $100K ATH",122 "url": "https://coindesk.com/...",123 "source": "CoinDesk",124 "published": "2026-01-14T13:30:00Z",125 "age": "2h ago",126 "category": "market",127 "relevance_score": 95.0,128 "coins_mentioned": ["BTC"]129 }130 ],131 "meta": {132 "period": "24h",133 "sources_checked": 50,134 "total_articles": 187,135 "shown": 20136 }137}138```139140## Error Handling141142See `{baseDir}/references/errors.md` for comprehensive error handling.143144| Error | Cause | Solution |145|-------|-------|----------|146| Network timeout | RSS feed unreachable | Uses cached data; skips unavailable sources |147| Parse error | Malformed RSS | Skips entry; continues with valid articles |148| No results | Filters too strict | Suggest relaxing filters |149| Invalid coin | Unknown symbol | List similar valid symbols |150151## Examples152153See `{baseDir}/references/examples.md` for detailed examples.154155### Quick Examples156157```bash158# Get latest crypto news (default)159python {baseDir}/scripts/news_aggregator.py160161# Bitcoin news from past 4 hours162python {baseDir}/scripts/news_aggregator.py --coin BTC --period 4h163164# DeFi category news165python {baseDir}/scripts/news_aggregator.py --category defi166167# Export to JSON file168python {baseDir}/scripts/news_aggregator.py --format json --output crypto_news.json169170# High-relevance news only171python {baseDir}/scripts/news_aggregator.py --min-score 70 --top 10172173# Multiple coins174python {baseDir}/scripts/news_aggregator.py --coins BTC,ETH,SOL175```176177## Resources178179- **CoinDesk**: https://www.coindesk.com/arc/outboundfeeds/rss/180- **CoinTelegraph**: https://cointelegraph.com/rss181- **The Block**: https://www.theblock.co/rss.xml182- **Decrypt**: https://decrypt.co/feed183- **feedparser docs**: https://feedparser.readthedocs.io/184- See `{baseDir}/config/sources.yaml` for full source registry