---
name: geopolitics-news-gatherer
description: Gather news and analysis from RSS feeds covering geopolitics, AI/LLM, Python/DevTools, yachting, startups, Russian‑language AI, and general Russian news (Lenta.ru, Habr), separating news (what happened) from analysis (why and what will happen). Uses only standard library.
category: productivity
version: 1.3.0
author: Hermes Agent
---

# Geopolitics News and Analysis Gatherer

This skill fetches RSS feeds from various geopolitics sources, separates entries into news and analysis, and ensures balanced perspectives.

## When to Use

Use this skill when you need to generate a regular digest of geopolitics news and analysis from multiple sources, ensuring you get at least two sides of each topic.

## Steps

1. **Define Feed Sources**: The skill uses a predefined list of RSS feeds, categorized as news or analysis, and noted for their perspective (e.g., Western, Russian, Chinese).
2. **Fetch and Parse Feeds**: For each feed, the skill fetches the RSS and parses it using only standard library (urllib, xml.etree) to avoid external dependencies.
3. **Categorize Entries**: Each entry is marked as news or analysis based on the feed's category.
4. **Generate Digest**: The skill formats the collected entries into a markdown digest, separating news and analysis sections, limiting to 10 items per feed and 20 total per category. Each entry includes title, link, source, perspective, and date.

## Output

The skill outputs a markdown file containing the digest. The file is saved to `~/geopolitics-digest.md` by default. Each entry in the digest includes:
- Title as a link
- Source and perspective in italics
- Publication date

## Customization

You can modify the list of feeds in the script `scripts/gather_geopolitics.py` to add or remove sources.

## Notes

- The skill is designed to be run as a cron job (e.g., every 3 days at 7:30 AM).
- The skill does not send the digest by itself; it is up to the user to configure the cron job to deliver the output (e.g., via Telegram).
- The generated markdown digest can be converted to HTML (e.g., using the `markdown` Python library) and styled with a Bootstrap blog template for publishing on a static site.

## Example Cron Job

To run every 3 days at 7:30 AM and send the digest to Telegram:

```
cronjob create --name "geopolitics-digest" --prompt "Run the geopolitics news gatherer skill and send the digest to Telegram." --schedule "30 7 */3 * *" --skills geopolitics-news-gatherer --deliver telegram
```

---