---
name: aggregating-crypto-news-daed3c08af64
description: |
  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".

allowed-tools: Read, Bash(crypto:news-*)
version: 2.0.0
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
---

# 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:

1. **Python 3.8+** is installed
2. **feedparser** library is available: `pip install feedparser`
3. **requests** library is available: `pip install requests`
4. 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:

```bash
# 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
```json
{
  "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

```bash
# 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

- **CoinDesk**: https://www.coindesk.com/arc/outboundfeeds/rss/
- **CoinTelegraph**: https://cointelegraph.com/rss
- **The Block**: https://www.theblock.co/rss.xml
- **Decrypt**: https://decrypt.co/feed
- **feedparser docs**: https://feedparser.readthedocs.io/
- See `{baseDir}/config/sources.yaml` for full source registry


---
Source attribution: Dicklesworthstone
Original project: https://github.com/Dicklesworthstone/pi_agent_rust/blob/f28fc46ee0db8e710d95b8b55592cd38d60f2b26/tests/ext_conformance/artifacts/plugins-community/plugins/crypto/crypto-news-aggregator/skills/aggregating-crypto-news/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2024-2025 Jeremy Longshore & Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: Dicklesworthstone
Original project: https://github.com/Dicklesworthstone/pi_agent_rust/blob/f28fc46ee0db8e710d95b8b55592cd38d60f2b26/tests/ext_conformance/artifacts/plugins-community/plugins/crypto/crypto-news-aggregator/skills/aggregating-crypto-news/SKILL.md
Attribution basis: Source repository record

Fields of work: Marketing
Roles: Content Marketer, Growth Marketer, Marketing Analyst
Specialties: API
Tools: Feedparser
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: b4335289e331c6d13ccd6ce6c22eb3b21ee072876dff0edaffc430a2d7c6118f
