skills/research/polymarket/SKILL.md
Query Polymarket prediction market data — search markets, get prices, orderbooks, and price history. Read-only via public REST APIs, no API key needed.
npx skillsauth add helix4u/hermes-agent polymarketInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Query prediction market data from Polymarket using their public REST APIs. All endpoints are read-only and require zero authentication.
See references/api-endpoints.md for the full endpoint reference with curl examples.
outcomePrices field: JSON-encoded array like ["0.80", "0.20"]clobTokenIds field: JSON-encoded array of two token IDs [Yes, No] for price/book queriesconditionId field: hex string used for price history queriesgamma-api.polymarket.com — Discovery, search, browsingclob.polymarket.com — Real-time prices, orderbooks, historydata-api.polymarket.com — Trades, open interestWhen a user asks about prediction market odds:
Format prices as percentages for readability:
["0.652", "0.348"] becomes "Yes: 65.2%, No: 34.8%"Example: "Will X happen?" — 65.2% Yes ($1.2M volume)
The Gamma API returns outcomePrices, outcomes, and clobTokenIds as JSON strings
inside JSON responses (double-encoded). When processing with Python, parse them with
json.loads(market['outcomePrices']) to get the actual array.
Generous — unlikely to hit for normal usage:
development
Use when you have a spec or requirements for a multi-step task. Creates comprehensive implementation plans with bite-sized tasks, exact file paths, and complete code examples.
development
Use when implementing any feature or bugfix, before writing implementation code. Enforces RED-GREEN-REFACTOR cycle with test-first approach.
development
Use when encountering any bug, test failure, or unexpected behavior. 4-phase root cause investigation — NO fixes without understanding the problem first.
development
Use when executing implementation plans with independent tasks. Dispatches fresh delegate_task per task with two-stage review (spec compliance then code quality).