← 返回 Skills 市场
remixmm

Polymarket Football Odds

作者 remixmm · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
30
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (SKILL.md)

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

  1. Run the script with the Polymarket URL. It accepts /event/{slug} URLs, /market/{slug} URLs, and raw slugs.
  2. 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.
  3. 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
  4. 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/minus n days around the Polymarket date or --date; default is 1.
  • --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-key request 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.

安全使用建议
Before installing, understand that this skill sends the Polymarket slug you provide to Polymarket's public Gamma API and sends fixture/team lookup requests plus your API-Football key to API-Football. Use a dedicated API key with quota limits if possible, and treat the output as third-party model predictions rather than betting advice.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The documented purpose matches the artifacts: the script extracts a Polymarket event or market slug, fetches Polymarket Gamma metadata, resolves an API-Football fixture, retrieves API-Football predictions, and prints odds/probability output.
Instruction Scope
Runtime instructions are user-directed and scoped to supplied Polymarket URLs, raw slugs, fixture/date overrides, JSON output, or a self-test. The docs disclose ambiguity handling and caution against inventing teams or misusing bookmaker odds.
Install Mechanism
The package contains documentation, a reference file, one OpenAI agent prompt file, and one TypeScript script. There are no install hooks, dependency declarations, package-install steps, background services, or autorun behavior.
Credentials
The skill requires an API-Football/API-SPORTS key from environment variables and makes outbound requests to Polymarket Gamma and API-Football. That access is sensitive but expected, disclosed, and proportionate to the stated purpose.
Persistence & Privilege
No file writes, local indexing, credential storage, privilege escalation, long-running workers, destructive actions, trading endpoints, or account mutation behavior were found.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install polymarket-football-odds
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /polymarket-football-odds 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: Polymarket football URL analysis using API-Football.
元数据
Slug polymarket-football-odds
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论