Logo: Polymarket

Polymarket

Communautéit
AlexAI-MCP
polymarket

Query Polymarket prediction markets for probability data and research insights on real-world events.

Iwwersiicht

EditeurAlexAI-MCP
Repositoryhermes-CCC
Skill-Nummpolymarket
Stären
134
Forks
22
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    AlexAI-MCP huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Polymarket an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/polymarket
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git /tmp/hermes-CCC
mkdir -p .claude/skills
cp -r /tmp/hermes-CCC/skills/polymarket .claude/skills/polymarket
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Polymarket an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Polymarket automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Polymarket net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Polymarket

Purpose

  • Use this skill to pull live prediction market data for research and forecasting workflows.
  • Polymarket is useful for probability-oriented views of current events, elections, macro themes, and sports or policy questions.
  • Treat the market price as a crowd-implied probability signal, not ground truth.

API Surface

  • Base reference: https://clob.polymarket.com/
  • Public market discovery is commonly accessed through the gamma API.
  • Start with active markets and then filter by topic or keyword.

Request Discipline and Rate Limits

  • Send a timeout on every request and fail fast instead of hanging a long-running research pass.
  • Start with at most 1 request per second when iterating on the gamma API and slow down further if responses get unstable.
  • Back off and retry once on 429 or transient 5xx responses with a short sleep before the second request.
  • Cache raw JSON snapshots by timestamp when polling the same topic so you do not hit the API repeatedly for the same view.
  • Keep limit small during discovery, then widen only after you confirm the endpoint shape and the filter logic you need.
  • Record the exact URL you used in notes or logs so later analysis can reproduce the same market slice.

Fetch Active Markets

bash
curl "https://gamma-api.polymarket.com/markets?active=true&limit=20"
  • This returns a JSON list of market objects.
  • Use small limits during exploration and larger limits when building a topic watcher.

Important Market Fields

  • question
  • outcomes
  • outcomePrices
  • volume

These are usually enough for first-pass research.

Additional Fields to Inspect

  • Inspect slug when you need a stable human-readable identifier for later lookups or reporting.
  • Inspect endDate or other settlement timing fields when the timing of resolution matters more than the headline probability.
  • Inspect liquidity when present to separate tradeable markets from thin markets that move on little size.
  • Inspect active and closed to keep live monitoring separate from post-resolution analysis.
  • Inspect category, tags, or related event metadata when you need to group markets into a watcher by theme.
  • Inspect conditionId or token identifiers when you need to correlate market data across downstream systems.

Interpret the Data

  • question is the market prompt.
  • outcomes lists the named outcomes, often Yes and No.
  • outcomePrices represents the current market-implied probabilities.
  • volume helps indicate liquidity and how much weight to assign the price signal.

Probability Interpretation

  • Interpret a price like 0.65 as roughly a 65 percent implied chance.
  • Lower-liquidity markets may be noisier.
  • High probability is not certainty.
  • Large probability moves over time can matter more than a single point estimate.

Python Example

python
import requests

url = "https://gamma-api.polymarket.com/markets?active=true&limit=20"
markets = requests.get(url, timeout=20).json()

for market in markets:
    question = market.get("question")
    prices = market.get("outcomePrices")
    print(question, prices)
  • This is the minimum useful fetch loop.
  • Add defensive parsing because API field presence can vary.

Error Handling and Parsing Rules

  • Call response.raise_for_status() before parsing JSON so transport failures are not mistaken for empty market sets.
  • Normalize the response into a list even if the endpoint returns a single object or a wrapped payload.
  • Parse outcomes and outcomePrices defensively because some clients expose them as serialized JSON strings.
  • Skip a market if the number of outcomes does not match the number of prices, and log the question for review.
  • Treat missing volume or liquidity as a low-confidence signal instead of silently trusting the quoted price.
  • Drop closed or inactive markets from live-monitoring runs unless the task is explicitly about settlement or historical analysis.
  • Return the raw market object when the schema changes and your parser no longer finds the expected keys.

Filter by Category or Keyword

  • Filter by category when tracking a domain like politics, crypto, or macro.
  • Filter by keyword when you care about a specific topic such as tariffs, Fed, or OpenAI.
  • Keep the raw result set if you want to backtest or compare price movement later.

Simple pattern:

python
keyword = "election"
filtered = [
    m for m in markets
    if keyword.lower() in (m.get("question", "")).lower()
]

Concrete Workflows

  1. Track a single topic with curl and jq.
bash
curl -s "https://gamma-api.polymarket.com/markets?active=true&limit=100" \
  | jq -r '.[] | select((.question // "") | ascii_downcase | contains("fed")) | [.question, .outcomePrices, .volume] | @tsv'
  1. Save a reproducible snapshot before doing interpretation.
bash
mkdir -p data/polymarket
curl -s "https://gamma-api.polymarket.com/markets?active=true&limit=100" \
  -o "data/polymarket/markets_$(date +%Y%m%d_%H%M%S).json"
  1. Filter to liquid markets in Python before ranking.
python
import requests

markets = requests.get(
    "https://gamma-api.polymarket.com/markets?active=true&limit=100",
    timeout=20,
).json()

liquid = [
    m for m in markets
    if float(m.get("volume") or 0) >= 10000
]

Use these workflows for headline watchers, event-specific dashboards, and daily probability snapshots that need to be comparable over time.

Research Use Cases

  • calibration research
  • current event probabilities
  • forecasting support
  • comparing market odds to analyst narratives
  • monitoring how expectations move after news breaks

Practical Workflow

  1. Pull active markets.
  2. Filter to the topic you care about.
  3. Extract question, outcomes, outcomePrices, and volume.
  4. Rank by liquidity or relevance.
  5. Compare probability shifts over time for insight.

Caveats

  • Prediction markets reflect tradable sentiment, not guaranteed truth.
  • Low volume can distort the apparent probability.
  • Market structure and fees can affect behavior.
  • Always interpret results in context of liquidity and market design.

Summary

  • Use Polymarket for research into crowd-implied probabilities on real-world events.
  • Start with https://clob.polymarket.com/ and fetch active markets via https://gamma-api.polymarket.com/markets?active=true&limit=20.
  • Useful market fields include question, outcomes, outcomePrices, and volume.
  • A price such as 0.65 can be read as about a 65 percent implied chance.
  • Use simple Python requests scripts or curl, then filter by category or keyword for forecasting and calibration workflows.

Heefeg gestallte Froen

Wat mécht de KI-Skill Polymarket?

Query Polymarket prediction markets for probability data and research insights on real-world events.

Firwat Polymarket op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Polymarket besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Polymarket an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/polymarket an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Polymarket benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Polymarket benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Polymarket domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Polymarket gratis?

Jo. AlexAI-MCP huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇