polymarket
できること
Polymarketの公開データから、イベントの確率や最近の価格変動などの予測市場の情報を読み取ります。ある結果がどうなると市場が見ているかを知りたい人向けです。
使う場面
- ✓Polymarketでイベントの確率を知りたいとき。
- ✓市場の現在の価格や注文板を確認したいとき。
- ✓予測市場の値動きを時系列で追いたいとき。
スキルのリンク
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/finance/polymarket/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“特定の選挙結果が起きる確率について、現在のPolymarketのオッズを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはPolymarketの公開APIでイベントと市場のデータを照会し、価格を確率として報告します。データは読み取り専用で、認証は不要です。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Polymarket — Prediction Market Data
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.
When to Use
- User asks about prediction markets, betting odds, or event probabilities
- User wants to know "what are the odds of X happening?"
- User asks about Polymarket specifically
- User wants market prices, orderbook data, or price history
- User asks to monitor or track prediction market movements
Key Concepts
- Events contain one or more Markets (1:many relationship)
- Markets are binary outcomes with Yes/No prices between 0.00 and 1.00
- Prices ARE probabilities: price 0.65 means the market thinks 65% likely
outcomePricesfield: JSON-encoded array like["0.80", "0.20"]clobTokenIdsfield: JSON-encoded array of two token IDs [Yes, No] for price/book queriesconditionIdfield: hex string used for price history queries- Volume is in USDC (US dollars)
Three Public APIs
- Gamma API at
gamma-api.polymarket.com— Discovery, search, browsing - CLOB API at
clob.polymarket.com— Real-time prices, orderbooks, history - Data API at
data-api.polymarket.com— Trades, open interest
Typical Workflow
When a user asks about prediction market odds:
- Search using the Gamma API public-search endpoint with their query
- Parse the response — extract events and their nested markets
- Present market question, current prices as percentages, and volume
- Deep dive if asked — use clobTokenIds for orderbook, conditionId for history
Presenting Results
Format prices as percentages for readability:
- outcomePrices
["0.652", "0.348"]becomes "Yes: 65.2%, No: 34.8%" - Always show the market question and probability
- Include volume when available
Example: "Will X happen?" — 65.2% Yes ($1.2M volume)
Parsing Double-Encoded Fields
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.
Rate Limits
Generous — unlikely to hit for normal usage:
- Gamma: 4,000 requests per 10 seconds (general)
- CLOB: 9,000 requests per 10 seconds (general)
- Data: 1,000 requests per 10 seconds (general)
Limitations
- This skill is read-only — it does not support placing trades
- Trading requires wallet-based crypto authentication (EIP-712 signatures)
- Some new markets may have empty price history
- Geographic restrictions apply to trading but read-only data is globally accessible
よくある質問
アカウントは必要ですか?
いいえ。スキルでは、すべてのエンドポイントは読み取り専用で、認証は不要とされています。
価格はどう読めばよいですか?
スキルによると、0.65という価格は、その結果が起きる確率が65パーセントと市場が見ていることを意味します。
賭けを行えますか?
いいえ。スキルが扱うのは読み取り専用の公開データだけです。
詳細
人気
- GitHubのスター
- 260k
- ランキング
- #496
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-merge-conflict-arbiter
260k並行して動く2つのエージェントのブランチ間のgitマージ競合を、中立的な第三者として解決し、リポジトリに1つのマージ結果を作ります。
antigravity-cli
260kAntigravityのコマンドラインツールのインストール、更新、トラブルシューティングをガイドし、そのプラグイン、サインイン、サンドボックスも扱います。
blackbox
260kBlackbox AIのコマンドラインツールに、コーディングのタスクを渡します。このツールは複数のAIモデルを動かし、最も良い結果を選びます。
dynamic-workflow
260k多くの似た作業の大きな束を、保存されたスクリプトとして実行し、検証済みの結果だけをメインの会話に返すようエージェントに教えます。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。