开发者

Footalytics AI 助手技能

为 Claude Code、Codex 及任何兼容 Agent Skills 的助手安装 Footalytics 技能:足球预测、赛程、球队评级与历史结果,一个 API 全搞定。

Footalytics 技能让 AI 助手用真实、公开结算的预测回答足球问题,而不是靠猜。一个技能文件覆盖全部能力:

  • 预测 — 覆盖比赛的胜平负、大小球 2.5、双方进球、最可能比分与信心档。
  • 赛程 — 按球队或联赛查未来赛程与开球时间。
  • 球队评级 — 所有追踪球队的 Elo 式评分。
  • 历史结果 — 历史比赛:真实比分与模型预测并列。

适用于 Claude Code、Codex 以及任何读取 Agent Skills 兼容 SKILL.md 的助手。

安装

先获取免费密钥——每账号自带 5 次调用:在 API 密钥页创建,然后:

mkdir -p ~/.claude/skills/footalytics && cd ~/.claude/skills/footalytics
for f in SKILL.md README.md README.zh-CN.md; do
  curl -fsSL "https://footalytics.farvor.com/skill/$f" -o "$f"
done
export FOOTALYTICS_API_KEY="fxk_..."

更习惯浏览器?直接下载 技能 .zip 包并解压到 ~/.claude/skills/footalytics。然后直接问你的助手:

"Who wins Arsenal vs Chelsea this weekend?"
"When does Real Madrid play next?"
"Did Footalytics get last week right?"

每次 API 调用消耗 1 个额度单位(每账号 5 次免费,之后扣积分)。失败的查询不扣费。完整契约见 API 文档页。

让 AI 自动安装

复制下面的 prompt 发给你的 AI 助手——它会自动完成安装:

Install the "Footalytics" skill for me.

1. Download these three files from https://footalytics.farvor.com/skill/ and save them in
   ~/.claude/skills/footalytics/ (create the folder if needed):
   - SKILL.md
   - README.md
   - README.zh-CN.md
   Use curl or any fetch tool, e.g.:
   curl -fsSL https://footalytics.farvor.com/skill/SKILL.md -o SKILL.md
2. Read the installed SKILL.md and follow its Setup section: check whether the
   FOOTALYTICS_API_KEY environment variable is set. If it is not, ask me to create
   a free key at https://footalytics.farvor.com/api-keys and help me set it
   (e.g. export FOOTALYTICS_API_KEY="fxk_...").
3. When done, confirm what you installed and ask me for a football match to
   predict as a test. Do NOT invent match probabilities yourself - always use
   the Footalytics API per the skill.

这段 prompt 只会让助手从本站拉取技能文件、放到正确目录并向你要 API key——不会执行其他操作。

文件

MCP 连接器方式

如果你的助手支持 MCP 连接器(Claude、ChatGPT、Cursor 等),可以完全不用文件:添加服务器

https://footalytics.farvor.com/mcp
并用 OAuth 登录——同样的工具与额度。