Awesome-openclaw-skills polymarket-4
Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.
install
source · Clone the upstream repo
git clone https://github.com/sundial-org/awesome-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/polymarket-4" ~/.claude/skills/sundial-org-awesome-openclaw-skills-polymarket-4 && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/polymarket-4" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-polymarket-4 && rm -rf "$T"
manifest:
skills/polymarket-4/SKILL.mdsource content
Polymarket
Query prediction market data from Polymarket's public API (no auth required).
Quick Start
# Top markets by 24h volume python3 scripts/polymarket.py --top # Search markets python3 scripts/polymarket.py --search "trump" # Get specific market by slug python3 scripts/polymarket.py --slug "will-trump-win-the-2024-election" # List events (grouped markets) python3 scripts/polymarket.py --events
Script Location
skills/polymarket/scripts/polymarket.py
API Endpoints
The script uses
gamma-api.polymarket.com:
- Individual markets with prices, volumes/markets
- Event groups containing related markets/events
Output Format
Markets show: question, Yes/No prices (as percentages), 24h volume, total volume.
Interpreting Prices
are 0-1 representing probabilityoutcomePrices- Price of 0.65 for "Yes" = market thinks 65% chance of Yes
- Higher volume = more liquid, more reliable signal