AgentSkillsCN

football

欧洲足球比赛——即将进行的比赛、结果和集锦,用于简报。

SKILL.md
--- frontmatter
name: football
description: European football matches — upcoming games, results, and highlights for briefings.
homepage: https://www.football-data.org/
metadata: {"clawdis":{"emoji":"⚽","requires":{"bins":["node","curl"]},"env":["FOOTBALL_DATA_API_KEY"]}}

Football Skill ⚽

Track European football matches — upcoming games, live scores, and results.

Quick Start

bash
# Upcoming matches (next 7 days)
{baseDir}/scripts/football.js upcoming

# Today's matches
{baseDir}/scripts/football.js today

# Specific league
{baseDir}/scripts/football.js upcoming --league bundesliga
{baseDir}/scripts/football.js upcoming --league premier-league
{baseDir}/scripts/football.js upcoming --league champions-league

# Interesting matches only (top teams, derbies)
{baseDir}/scripts/football.js highlights

# Results from recent matches
{baseDir}/scripts/football.js results

Supported Leagues

LeagueCodeAPI
Bundesligabundesliga, bl1OpenLigaDB (free)
2. Bundesligabundesliga2, bl2OpenLigaDB (free)
DFB PokaldfbOpenLigaDB (free)
Premier Leaguepremier-league, plfootball-data.org
La Ligala-liga, pdfootball-data.org
Serie Aserie-a, safootball-data.org
Ligue 1ligue-1, fl1football-data.org
Champions Leaguechampions-league, clfootball-data.org
Europa Leagueeuropa-league, elfootball-data.org

Morning Briefing Integration

For daily briefings, use:

bash
{baseDir}/scripts/football.js briefing

Returns a compact summary of:

  • Today's interesting matches
  • Yesterday's notable results
  • Upcoming highlights this week

API Keys

OpenLigaDB (German leagues): No key required! ✅

football-data.org (other leagues): Free tier available

  1. Register at https://www.football-data.org/client/register
  2. Set FOOTBALL_DATA_API_KEY environment variable

"Interesting" Match Criteria

The highlights command filters for:

  • Top teams playing (Bayern, Dortmund, Real, Barça, etc.)
  • Derby matches
  • Champions League knockout games
  • Title deciders (late season, close standings)

Output Formats

bash
# JSON (default)
{baseDir}/scripts/football.js today

# Human-readable
{baseDir}/scripts/football.js today --human

# Compact (for briefings)
{baseDir}/scripts/football.js briefing --compact