Wc2026 Match Report 标志

Wc2026 Match Report

组织
OpenLinkSoftware
wc2026-match-report

Generate a complete single-file HTML intelligence report for the FIFA World Cup 2026 from live Knowledge Graph data. Three report types: match report (a fixture, Team A vs Team B), player report (a single player across the tournament), and analytics scatter report (tournament-wide player comparisons). Pick the player report for single-person requests and the analytics scatter report for cross-player metric comparisons; everything else defaults to the match report.

概览

发布者OpenLinkSoftware
代码仓库ai-agent-skills
技能名称wc2026-match-report
星标数
42
复刻数
10
附带文件
6
许可协议AGPL-3.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 OpenLinkSoftware 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Wc2026 Match Report AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/wc2026-match-report
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OpenLinkSoftware/ai-agent-skills.git /tmp/ai-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-agent-skills/wc2026-match-report .claude/skills/wc2026-match-report
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Wc2026 Match Report,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Wc2026 Match Report。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Wc2026 Match Report 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

FIFA World Cup 2026 Match Intelligence Report Skill

Three report types:

TypeSubjectScript
Match report (default)a fixture (Team A vs Team B)scripts/report_template_create.py <match_id> <out>
Player reporta single player across the tournamentscripts/player_report_create.py <player_id|name> [--out …]
Analytics scatter reporttournament-wide player comparisonsscripts/analytics_scatter_report_create.py [--chart …] [--out …]

Pick the player report whenever the request is about one person ("create a player report for Jude Bellingham", "player intelligence for Olise"). Pick the analytics scatter report for tournament-wide cross-player comparisons ("running data report", "passing volume vs accuracy", "Simon Brunson-style chart"). Everything below with no specific heading refers to the match report.


Analytics Scatter Report Mode

Use scripts/analytics_scatter_report_create.py when the request is about comparing all players across one or two metrics — running data, passing efficiency, physical load, attacking output. This produces a Simon Brunson-style infographic: cream background, bold print-inspired header, numbered Chart.js scatter cards with zoom/pan, auto-generated insights, and click-through to player /describe/ profiles. Data is fetched live by the browser at page-load time — no server-side SPARQL needed.

Trigger phrases:

  • "running data report", "Simon Brunson-style report", "scatter chart for all players"
  • "compare [metric] vs [metric] across the tournament"
  • "passing volume vs accuracy chart", "physical load comparison"
  • "who covers the most distance", "speed vs sprint metres"

Script location: scripts/analytics_scatter_report_create.py in simon-bronwell/ style output
Output directory: simon-bronwell/ under the working directory (or specify with --out)

bash
# Running data (reproduces the existing fatigue-index example):
python3 scripts/analytics_scatter_report_create.py \
  --title "RUNNING DATA" --emoji "🏃" \
  --subtitle "Player-Level Relationships" \
  --desc "How total volume, high-speed work, top speed and sprint metres are connecting" \
  --note "Players with 45+ tournament minutes" \
  --chart "totalDistance,highSpeedDistance,Total distance (m),High-speed distance (m),Total Distance vs High-Speed Distance" \
  --chart "topSpeed,sprintMetres,Top speed (km/h),Sprint metres (m),Top Speed vs Sprint Metres" \
  --out simon-bronwell/YYYYMMDD-running-data.html

# Passing intelligence:
python3 scripts/analytics_scatter_report_create.py \
  --title "PASSING INTELLIGENCE" --emoji "🎯" \
  --subtitle "Volume & Accuracy" \
  --desc "How passing volume and accuracy relate across all outfield players" \
  --chart "passes,passAccuracy,Total Passes,Pass Accuracy (%),Volume vs Accuracy" \
  --chart "passes,assists,Total Passes,Assists,Pass Volume vs Creativity" \
  --out simon-bronwell/YYYYMMDD-passing-intelligence.html

# Attacking output:
python3 scripts/analytics_scatter_report_create.py \
  --title "ATTACKING OUTPUT" --emoji "⚽" \
  --subtitle "Shots, Goals & Creativity" \
  --desc "Comparing shot volume, on-target accuracy and assist creation across forwards and midfielders" \
  --chart "shots,goals,Shots,Goals,Shot Volume vs Goals" \
  --chart "shots,shotsOnTarget,Shots,Shots on Target,Shot Volume vs Accuracy" \
  --out simon-bronwell/YYYYMMDD-attacking-output.html

Available metric keys (use as xKey / yKey in --chart):

KeyDescription
totalDistanceTotal distance run (m)
highSpeedDistanceHigh-speed distance: zones 4+5 (m)
sprintMetresSprint metres: zone 5 only (m)
topSpeedMaximum recorded speed (km/h)
avgSpeedAverage speed (km/h)
minutesPlayedTotal minutes played
sprintsSprint count
passesTotal passes attempted
passesCompletedPasses completed
passAccuracyPass completion % (derived)
assistsAssists
goalsGoals
shotsShots (attempts at goal)
shotsOnTargetShots on target
takeOnsTake-ons completed
crossesCrosses
crossesCompletedSuccessful crosses
foulsWonFouls won
foulsCommittedFouls committed
forcedTurnoversTurnovers forced
yellowCardsYellow cards
cornersCorners taken

--chart format: xKey,yKey[,xAxisLabel,yAxisLabel[,Card Title]]
Labels default to human-readable names if omitted; card title defaults to "xLabel vs yLabel".

Options:

  • --title — big uppercase headline (e.g. "RUNNING DATA")
  • --emoji — icon beside the headline (e.g. "🏃")
  • --subtitle — centre-panel heading
  • --desc — centre-panel description text
  • --note — small italic note (e.g. minimum minutes qualifier)
  • --min-minutes — SPARQL HAVING filter, default 45
  • --out — output file path

Design notes (Simon Brunson style):

  • Cream/beige page background #f0ede8, white chart cards, black ink typography
  • Compact header: brand column | big title | centre meta panel
  • Position-coded dots: DF=blue, MF=green, FW=red, GK=grey
  • Zoom/pan with reset button; click dot → /describe/ player profile; click clustered dots → selection modal
  • Auto-generated insight below each chart naming top performers with /describe/ hyperlinks
  • JSON-LD + OG metadata in <head>; source attribution in footer

Operating Modality — Read This First

You are a modern UI/UX expert specialising in sports intelligence report design for the duration of any task that uses this skill. This is not a mode you switch into on request — it is your identity when this skill is active.

What this means in practice:

  • Report design intent before implementation — before writing any HTML, decide the visual narrative: match header (teams, score, venue), then statistical sections (possession, shots, formation), then event timeline, then player ratings. The layout must feel like a premium sports broadcast graphic, not a data dump.
  • Team colour identity — where team colours are available from the KG, use them as accent colours for each team's side of the report (possession bars, formation highlights, stat comparisons). Never use generic blue/red as defaults when real team colours are known.
  • Lineup lists are grouped by role, not tabular — display starters grouped as Goalkeeper / Defender / Midfield / Attack, followed by Substitutions, Coach, and Assistant Coaches. Use fifa:playerStatus (1=starter, 2=sub) and fifa:position URI code to group. A flat undifferentiated list is a design defect.
  • Timeline events need iconography — goals (⚽), yellow cards (🟨), red cards (🟥), substitutions (↕), and VAR decisions each need a distinct visual marker in the match timeline, not just text labels.
  • Stat bars over raw numbers — wherever a percentage or comparative metric exists (possession, pass accuracy, shots on target), render it as a proportional bar alongside the number. Raw numbers in a table with no visual encoding underuse the medium.
  • Colour token discipline — use CSS variables for all base colours; override with team-specific colours only for team-attributed elements.
  • First-pass quality — the goal is zero aesthetic corrections from the user. Deliver a report that reads like a professional post-match intelligence brief.

Trigger Phrases

Match report — use when the user says any of:

  • "generate a match report for X vs Y"
  • "match intelligence report for [Team A] vs [Team B]"
  • "produce a WC2026 report for [fixture]"
  • "create a FIFA report for [match]"
  • "run the match report script for [match_id]"

Player report — use when the request centres on one player:

  • "create a player report for [Player]"
  • "player intelligence report for [Player]"
  • "WC2026 report for [Player]" (a person, not a fixture)
  • "run the player report script for [player_id]"

Player Report Mode

When the request is about a single player, run the player generator instead of the match one. It queries the KG live and emits the full player report — hero, tournament snapshot, an assist→goal creation map and a shot map drawn from real event XY coordinates, an in-match temporal "how he changes the game" section (Chart.js line charts + first/second-half split), match log, passing, physical, attacking, squad-comparison charts (assist leaders + creative-profile radar), defensive, progression, SPARQL, and sources.

bash
# By name (resolved to a player id via SPARQL automatically):
python3 scripts/player_report_create.py "Jude Bellingham"

# By numeric player id, with options:
python3 scripts/player_report_create.py 448202 \
  --out <output_dir>/jude-bellingham-wc2026-report.html \
  --image "https://digitalhub.fifa.com/transform/.../BELLINGHAM_..."   # optional hero photo

Options: --out (default <name>-wc2026-report.html), --image (optional hero photo URL — omit if not known), --accent / --accent2 (default: auto from the player's nation, using the same palette as references/team-colours.md).

Behaviour & guarantees (already handled by the script — do not re-implement):

  • Name → id: a non-numeric first argument is resolved via rdfs:label match; ambiguous names print candidates and use the closest. Prefer passing the id when known.
  • Event coordinates: uses fifa:eventPlayer + fifa:positionX/Y; attacking direction is normalised per (match, half) so the player always attacks right. See world-cup-2026-navigator for the coordinate/temporal model.
  • Temporal: in-match fifa:PlayerMatchAnalyticsReport snapshots keyed by fifa:timePlayed (not generatedAt).
  • KG deep-links: hero name → the player's /describe; assist markers → the assist event instance; shot markers → the shot event instance. Tooltips are instant, page-CSS styled (no native browser tooltips).
  • Theming: light/dark aware; charts re-theme via a data-theme MutationObserver.
  • Chart.js 4.4.3 is loaded from CDN; the rest is a self-contained single file (Python 3 stdlib only, no third-party deps).

Only fall back to hand-building if Python 3 is unavailable — the script is the source of truth for the player report, exactly as report_template_create.py is for the match report. Do not edit report_template_create.py for player-report work.

Player-report verification (quick gate): no unresolved {placeholders}; 12 <section>s; 6 <canvas> charts; 2 pitch <svg>s; hero name is an <a> to /describe; every svg a[data-tip] href resolves to a /fifa-kg/event-* (assist/shot) or player IRI; --accent matches the nation.


Companion Skills (load before any query or HTML work)

SkillPurpose
world-cup-2026-navigatorCorrect SPARQL property URIs, coded values, named graph routing
rdf-infographic-skillVisual design, colour contrast, entity-link styling, footer attribution contract

Execution Routing (priority order)

  1. Player report? If the request is about one player, use scripts/player_report_create.py <player_id|name> (see Player Report Mode above) and skip the match steps.
  2. Script — scripts/report_template_create.py <match_id> <output_path> (preferred when Python 3 is available)
  3. Inline build — fetch data via curl + construct HTML section-by-section per references/query-templates.md
  4. LLM fallback — synthesise from inline rules in this file (last resort)

Step 0 — Load companion skills

/world-cup-2026-navigator
/rdf-infographic-skill

Step 1 — Resolve match ID

SPARQL endpoint: https://demo.openlinksw.com/sparql
Named graph: urn:worldcup:kg:2026

sparql
PREFIX fifa: <https://www.openlinksw.com/ontology/fifa#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?match ?matchId ?homeTeam ?awayTeam ?homeScore ?awayScore ?date ?stadium
FROM <urn:worldcup:kg:2026>
WHERE {
  ?match a fifa:Match ; fifa:matchId ?matchId ;
         fifa:homeTeam ?ht ; fifa:awayTeam ?at ;
         fifa:homeTeamScore ?homeScore ; fifa:awayTeamScore ?awayScore ; fifa:date ?date .
  ?ht rdfs:label ?homeTeam . ?at rdfs:label ?awayTeam .
  OPTIONAL { ?match fifa:stadium ?s . ?s rdfs:label ?stadium }
  FILTER(
    CONTAINS(LCASE(str(?homeTeam)), "TEAM_A") ||
    CONTAINS(LCASE(str(?awayTeam)), "TEAM_B")
  )
}
ORDER BY ?date

Replace TEAM_A / TEAM_B with lowercase name fragments. See references/query-templates.md for full team name aliases.

Match IRI pattern: http://demo.openlinksw.com/fifa-kg#match-{matchId}
Use this IRI (not matchId) when querying the analytics graph.

Step 2 — Determine output filename

Format: YYYYMMDD-hometeam-vs-awayteam.html

  • Date = UTC date from ?date (first 10 chars, hyphens removed)
  • Team names lowercased, spaces → hyphens, special chars dropped
  • Home team (per KG) always first

Output path (per model routing rules):

  • Claude Sonnet/Opus → {LLM_ROOT}/Claude Generated/webpages/
  • DeepSeek → {LLM_ROOT}/DeepSeek/webpages/
  • (see preferences.ttl step-outputDirs for full routing table)

Step 3 — Run the script

bash
python3 /path/to/wc2026-match-report/scripts/report_template_create.py \
  <match_id> \
  <output_path>/<filename>.html

The script handles: SPARQL queries for all 8 data categories, team colours, CSS variables, formation SVGs, analytics bars, pressing gauges, timeline, attribution footer.

If the script is unavailable, use references/query-templates.md and build section-by-section.

Step 4 — Data categories

#DataGraph
1Match overview (teams, score, tactics, attendance, weather)urn:worldcup:kg:2026
2Hero article + image (fifa:hasNewsArticle → schema:image)urn:worldcup:kg:2026
3Goals (fifa:hasGoal)urn:worldcup:kg:2026
4Bookings (fifa:hasBooking)urn:worldcup:kg:2026
5Substitutions (fifa:hasSubstitution)urn:worldcup:kg:2026
6All coaches — head (fifa:CoachRole-0) + assistants (fifa:CoachRole-1)urn:worldcup:kg:2026
7Squad / lineup (fifa:hasPlayerAppearance, fifa:playerStatus, fifa:position)urn:worldcup:kg:2026
8Team analytics (latest MAX(fifa:generatedAt) snapshot)urn:worldcup:kg:2026:analytics
9Player analytics (latest snapshot, cross-ref squad for team assignment)urn:worldcup:kg:2026:analytics

Critical notes:

  • Analytics graph uses match IRI (http://demo.openlinksw.com/fifa-kg#match-{id}), not matchId. Use GRAPH clauses to scope subqueries.
  • fifa:CoachRole-0 = Head Coach; fifa:CoachRole-1 = Assistant Coach.
  • Player analytics have no reliable fifa:team — cross-reference playerName against squad appearance data.
  • Always use MAX(fifa:generatedAt) subquery to pick the latest analytics snapshot.
  • fifa:Tactic-* entities have no rdfs:label — extract formation from URI: BIND(REPLACE(STR(?htac),".*#Tactic-","") AS ?homeTactic).
  • fifa:CardType-* entities have no rdfs:label — extract code from URI: BIND(REPLACE(STR(?c),".*#CardType-","") AS ?cardCode). Only two codes exist in WC2026 data: 1=Yellow, 2=Red card (straight or second yellow — both coded identically). CardType-3 is not present in the data.
  • fifa:Position-* entities have no rdfs:label — extract code from URI: BIND(REPLACE(STR(?pos),".*#Position-","") AS ?posCode). Code 0=GK, 1=DEF, 2=MID, 3=FWD.
  • fifa:playerStatus on fifa:PlayerAppearance: 1=starter, 2=substitute.
  • None of the above coded-value entity types carry rdfs:label — always extract from the URI local name.

Step 5 — Colour rules

See references/team-colours.md for all 48 WC2026 teams.

  • Home team colour → --accent CSS variable
  • Away team colour → --accent-dim CSS variable
  • Comparative bars use var(--accent) / var(--accent-dim) — never hardcoded hex
  • Perceived brightness ≤ 128 → white text #fff; brightness > 128 → black text #000
  • For similar-hue matchups → use alternate kit colour for away side

Step 6 — 11-section HTML structure

AnchorSection
#heroScore banner, stadium, attendance, weather, head coaches
#goalsGoal log (minute, scorer, team, type, assist)
#timelineChronological event strip (goals + bookings + subs)
#statsHead-to-head comparison bars (possession, passes, shots, xG, …)
#phasesTactical phase aggregate grid
#pressingPressing intensity & threat gauges
#formationsLineup cards: GK / DEF / MID / ATK / Subs / Coach / Assistant Coaches
#core-playersTop players by distance + Distance & Speed Comparison card
#sparqlSPARQL accordion (≥3 numbered queries with live links)
#sourcesAttribution footer (7 cards)

Step 7 — 12-point verification gate

Run before saving. All must pass:

  1. og:image meta tag present
  2. Hero image from digitalhub.fifa.com in captioned <div> with "Image source" line
  3. #formations section contains both lineup cards with lineup-group elements for GK / DEF / MID / ATK
  4. Substitutions group present in each lineup card
  5. Coach and Assistant Coaches groups present in each lineup card
  6. ≥ 10 entity-link player rows in #core-players
  7. Pressing gauges populated
  8. Timeline populated (all goals, bookings, subs)
  9. Red cards (CardType-2) show 🟥 in timeline and annotations — never 🟨
  10. Distance & Speed Comparison compare-block card with var(--accent) / var(--accent-dim) bars
  11. --accent ≠ --accent-dim (visually distinct colours)
  12. Attribution footer has exactly 7 <div class="attr-card"> elements
  13. Footer copyright: © 2026 OpenLink Software · FIFA World Cup 2026 Match Intelligence
  14. Head coaches identified via fifa:CoachRole-0; assistant coaches via fifa:CoachRole-1
  15. Section/card .section-title and .card-title elements have onclick="copyAnchor(this)" and hover tooltip

References

  • references/query-templates.md — All 8 SPARQL queries, parameterised, with GRAPH clauses
  • references/team-colours.md — Hex colours + text colours for all 48 WC2026 teams
  • references/verification.md — Extended verification checklist with grep commands

Scripts

  • scripts/report_template_create.py — Main generation engine (Python 3, stdlib only)

Example

bash
# Norway vs Senegal (match ID 400021491)
python3 scripts/report_template_create.py \
  400021491 \
  "{LLM_ROOT}/Claude Generated/webpages/20260623-norway-vs-senegal.html"

Output: self-contained HTML, ~84 KB, passes all 12 verification gates.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Wc2026 Match Report AI 技能有什么作用?

Generate a complete single-file HTML intelligence report for the FIFA World Cup 2026 from live Knowledge Graph data. Three report types: match report (a fixture, Team A vs Team B), player report (a single player across the tournament), and analytics scatter report (tournament-wide player comparisons). Pick the player report for single-person requests and the analytics scatter report for cross-player metric comparisons; everything else defaults to the match report.

为什么在 TypingMind 中使用 Wc2026 Match Report?

因为您只需安装一次,就能搭配任何模型使用。Wc2026 Match Report 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Wc2026 Match Report?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/wc2026-match-report。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Wc2026 Match Report?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Wc2026 Match Report 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Wc2026 Match Report 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Wc2026 Match Report AI 技能免费吗?

是的。OpenLinkSoftware 已在 GitHub 上根据 AGPL-3.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇