Install
openclaw skills install @rafimchmd/poly-tradebotAutomated news analysis pipeline that fetches CNBC world news, classifies articles by topic (geopolitics vs macroeconomics), and invokes specialized skills (geopolitics-expert or the-fed-agent) to produce structured trading analysis. Use when you need systematic news-to-trading-signal workflow for Iran war, US economy, Fed policy, and market impact assessment.
openclaw skills install @rafimchmd/poly-tradebotPoly-tradebot automates the news-to-trading-analysis workflow: fetches CNBC world news, filters by relevant tags (us, iran, war, market, the fed), classifies each article as geopolitics or macroeconomics, invokes the appropriate specialized skill (geopolitics-expert or the-fed-agent), discovers related Polymarket markets, and produces a unified trading analysis table with market data and expert recommendations.
poly-tradebot fetch
Fetches articles from https://www.cnbc.com/world/?region=world using web_fetch tool. Extracts at least 3 articles matching tags: us, iran, war, market, the fed.
Article Selection Criteria:
For each fetched article, classify as:
| Topic | Classification Triggers | Skill to Invoke |
|---|---|---|
| Geopolitics | Iran, war, military, conflict, sanctions, regime, IRGC, drone, missile, Strait of Hormuz, UAE, Middle East tensions | geopolitics-expert |
| Macroeconomics | Fed, Treasury yields, interest rates, inflation, central bank, CPI, employment, GDP, monetary policy, oil price (economic impact) | the-fed-agent |
For Geopolitics Articles:
geopolitics-expert <article_url>
Produces 5-section output:
For Macroeconomics Articles:
the-fed-agent <article_url>
Produces 4-section output:
For each analyzed article, search Polymarket for related prediction markets:
web_search query="<topic> Polymarket market" site:polymarket.com
web_fetch url=<polymarket_market_url> extractMode=markdown
Extract market metadata:
Search Strategy:
Each article produces a standalone analysis file saved to memory/:
memory/geopolitics-YYYY-MM-DD-cnbc-<topic>.mdmemory/macro-YYYY-MM-DD-cnbc-<topic>.mdOutput Format: Follows exact skill output format (geopolitics: 5 sections, macro: 4 sections) PLUS a unified trading table.
After all articles are analyzed and Polymarket markets discovered, produce a summary table:
| Market Title | Market URL | Resolve Date | Market Odds | Volume | Recommendation | Reason |
|---|---|---|---|---|---|---|
| <Yes%> | $ | YES or NO |
Column Definitions:
Output Requirements:
Recommendation Logic:
poly-tradebot
Fetches 3+ CNBC articles, classifies each, invokes appropriate skills, discovers Polymarket markets, outputs unified trading table (Yes/No recommendations with expert reasoning).
poly-tradebot fetch
Re-fetches fresh articles from CNBC world page, re-runs classification, analysis, and market discovery pipeline.
poly-tradebot analyze <url>
Classifies and analyzes a single article URL, discovers related Polymarket markets, outputs Yes/No recommendation with expert reasoning.
poly-tradebot table
Regenerates the unified trading table from existing memory analyses without re-fetching articles.
After pipeline completion, produces ONLY the Unified Trading Table:
| Market Title | Market URL | Resolve Date | Market Odds | Volume | Recommendation | Reason |
|---|---|---|---|---|---|---|
| <Yes%> | $ | YES or NO |
Format Rules:
memory/poly-tradebot-table-YYYY-MM-DD.mdgeopolitics-expert — Required for geopolitics articlesthe-fed-agent — Required for macroeconomics articlesweb_fetch — Built-in tool for article retrievalweb_search — Built-in tool for Polymarket market discovery (optional)classification_rules.md — Topic classification heuristicsoutput_templates.md — Format templates per skill type (geopolitics: 5 sections, macro: 4 sections)fetch_cnbc.py — Article fetching and parsing utilityclassify_topic.py — Geopolitics vs macroeconomics classifierSkill Version: 3.1
Created: 2026-03-17
Updated: 2026-03-18 (v3.1: odds filter <70% for contrarian edge; v3.0: minimum 10 markets, volume filter >$1M, added Volume column)
Author: poly-tradebot skill creator