Install
openclaw skills install cnbc-geopolitics-fetcherClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Automated geopolitical intelligence agent that fetches 5 hottest CNBC news articles from last 24 hours, extracts structured data (Title, URL, Market Impact,...
openclaw skills install cnbc-geopolitics-fetcherFetches latest CNBC geopolitical news articles, extracts complete factual data (NO truncation), and posts each article individually to Discord with enhanced analyst/Polymarket-relevant context.
Run this from workspace root:
python "C:\Users\Legion 5i Pro\.openclaw\workspace\skills\cnbc-geopolitics-fetcher\scripts\fetch_cnbc_geopolitics.py" --webhook "YOUR_DISCORD_WEBHOOK_URL" --verbose
--webhook: Discord webhook URL (required)--config: Path to config file containing webhook (alternative to --webhook)--count: Number of articles to fetch (default: 5)--verbose: Show detailed extraction outputpython "C:\Users\Legion 5i Pro\.openclaw\workspace\skills\cnbc-geopolitics-fetcher\scripts\fetch_cnbc_geopolitics.py" --webhook "https://discord.com/api/webhooks/1482043765471445333/-cHOLCqBtvU_Wua8STfoINes7J0pFNFsXB27EJ3f8F7BklC5P_OkIGAx2HQLDPZe1bNJ" --count 5 --verbose
Pass webhook URL directly:
python fetch_cnbc_geopolitics.py --webhook "https://discord.com/api/webhooks/..."
Create references/config.md with:
## Discord Webhook
https://discord.com/api/webhooks/1482043765471445333/-cHOLCqBtvU_Wua8STfoINes7J0pFNFsXB27EJ3f8F7BklC5P_OkIGAx2HQLDPZe1bNJ
Then run:
python fetch_cnbc_geopolitics.py --config "C:\Users\Legion 5i Pro\.openclaw\workspace\skills\cnbc-geopolitics-fetcher\references\config.md"
Each article posts as:
### Article
**[Full Article Title]**
**URL:** https://www.cnbc.com/2026/03/13/...
**Market Impact:** Energy: [complete sentence about oil/energy]; Stocks: [complete sentence about markets]; Analyst: [forecast/prediction]
**Hard Facts:**
- Official: [complete quoted statement from official]
- Action: [complete sentence describing military/diplomatic action]
- Data: [complete sentence with numbers/statistics]
- Timeline: [complete sentence with dates/deadlines]
- Analyst: [complete sentence with forecast/market prediction]
*(Raw data - no editorial analysis)*
https://www.cnbc.com/YYYY/MM/...skills/cnbc-geopolitics-fetcher/
├── SKILL.md # This documentation
├── scripts/
│ └── fetch_cnbc_geopolitics.py # Main scraper script
└── references/
└── config.md # Discord webhook configuration
scrapling (stealth web scraping)beautifulsoup4 (HTML parsing)requests (HTTP client)Install dependencies:
pip install scrapling beautifulsoup4 requests
python fetch_cnbc_geopolitics.py --webhook "..." --count 10
python fetch_cnbc_geopolitics.py --output "output.md" --count 5
Remove --verbose flag for cleaner console output.
python "C:\path\with\spaces\script.py"pip install scrapling--verbose to see extraction detailspip install scrapling beautifulsoup4 requests"Fetch latest CNBC geopolitical news and post to Discord using the cnbc-geopolitics-fetcher skill."
skills/cnbc-geopolitics-fetcher/references/config.md for webhook URLpython "skills/cnbc-geopolitics-fetcher/scripts/fetch_cnbc_geopolitics.py" --config "skills/cnbc-geopolitics-fetcher/references/config.md" --verbose
C:\Users\Legion 5i Pro\.openclaw\workspace\skills\cnbc-geopolitics-fetcher\scripts/fetch_cnbc_geopolitics.pyreferences/config.md