/install polymarket-football-odds
Polymarket Football Odds
Overview
Use this skill to turn a Polymarket football URL into a football fixture lookup and a probability summary. The bundled TypeScript script extracts the Polymarket slug, fetches Gamma event/market metadata, infers the two teams, matches the fixture in API-Football, calls API-Football predictions, and prints home/draw/away probabilities.
Quick Start
Require an API-Football/API-SPORTS key in the environment. Do not hardcode the key in files or messages.
API_FOOTBALL_KEY="..." node --experimental-strip-types scripts/analyze-polymarket-football.ts "https://polymarket.com/event/..."
Use --json when the caller wants machine-readable output:
API_FOOTBALL_KEY="..." node --experimental-strip-types scripts/analyze-polymarket-football.ts "https://polymarket.com/event/..." --json
Workflow
- Run the script with the Polymarket URL. It accepts
/event/{slug}URLs,/market/{slug}URLs, and raw slugs. - Check the extracted Polymarket title, teams, and fixture. If the script reports multiple possible fixtures or low confidence, ask the user to confirm the fixture or rerun with
--fixture-id. - Report the API-Football 1X2 probabilities as:
- home team win probability
- draw probability
- away team win probability
- target-team win probability when the Polymarket market asks about a single team
- Include caveats: API-Football predictions are model outputs, fixture matching can be ambiguous, and Polymarket prices are market-implied prices rather than true probabilities.
Options
--json: print structured JSON instead of a human summary.--fixture-id \x3Cid>: bypass fixture matching and call API-Football predictions for a known fixture ID.--date YYYY-MM-DD: override the date used for fixture search.--days \x3Cn>: search plus/minusndays around the Polymarket date or--date; default is1.--self-test: run local parser tests without network calls or API keys.
API Notes
Read references/api-football-polymarket.md before changing endpoint behavior. Use official endpoints only:
- Polymarket Gamma is public and used only for market discovery.
- API-Football requires the
x-apisports-keyrequest header. - API-Football predictions require a fixture ID, so the script must identify the fixture before calling
/predictions.
Failure Handling
If the script cannot confidently identify two teams, do not invent team names. Explain which Polymarket title/outcomes were found and ask the user for the teams or fixture ID.
If API-Football returns no prediction for a fixture, report the fixture match and say prediction coverage is unavailable for that match. Do not substitute bookmaker odds as model probabilities unless the user explicitly asks for an odds-implied calculation.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install polymarket-football-odds - 安装完成后,直接呼叫该 Skill 的名称或使用
/polymarket-football-odds触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Polymarket Football Odds 是什么?
Analyze Polymarket football/soccer match URLs and estimate match win/draw probabilities using API-Football/API-SPORTS. Use when the user provides a polymarke... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 30 次。
如何安装 Polymarket Football Odds?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install polymarket-football-odds」即可一键安装,无需额外配置。
Polymarket Football Odds 是免费的吗?
是的,Polymarket Football Odds 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Polymarket Football Odds 支持哪些平台?
Polymarket Football Odds 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Polymarket Football Odds?
由 remixmm(@remixmm)开发并维护,当前版本 v0.1.0。