api-and-interface-desi…
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating…
Query Polymarket: markets, prices, orderbooks, history.
Claude Code
$ npx -y skills add kevinnft/ai-agent-skills --skill polymarket --agent claude-code
Codex
$ npx skills add kevinnft/ai-agent-skills --skill polymarket -a codex -y
Cursor
$ npx skills add kevinnft/ai-agent-skills --skill polymarket -a cursor -y
Gemini CLI
$ npx skills add kevinnft/ai-agent-skills --skill polymarket -a gemini-cli -y
GitHub Copilot
$ npx skills add kevinnft/ai-agent-skills --skill polymarket -a github-copilot -y
OpenCode
$ npx skills add kevinnft/ai-agent-skills --skill polymarket -a opencode -y
Windsurf
$ npx skills add kevinnft/ai-agent-skills --skill polymarket -a windsurf -y
name: polymarket description: "Query Polymarket: markets, prices, orderbooks, history." version: 1.0.0 author: Hermes Agent + Teknium tags: [polymarket, prediction-markets, market-data, trading] origin: original source_repo: kevinnft/ai-agent-skills source_url: https://github.com/kevinnft/ai-agent-skills source_license: MIT language: en
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.
1. **Gamma API** at `gamma-api.polymarket.com` — Discovery, search, browsing 2. **CLOB API** at `clob.polymarket.com` — Real-time prices, orderbooks, history 3. **Data API** at `data-api.polymarket.com` — Trades, open interest
When a user asks about prediction market odds:
1. **Search** using the Gamma API public-search endpoint with their query 2. **Parse** the response — extract events and their nested markets 3. **Present** market question, current prices as percentages, and volume 4. **Deep dive** if asked — use clobTokenIds for orderbook, conditionId for history
Format prices as percentages for readability:
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:
191 attribution-first agent skills for Hermes Agent, Claude Code, Cursor — one installer, 28 categories, searchable catalog. See NOTICE for upstream attribution.
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating…
Tests in real browsers. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM,…
Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate…
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a…
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder…
Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.