Skip to content
Data
Skill

/sports-images

High-resolution, open-licensed sports photos from Wikimedia Commons, found through Wikidata. Photos of players, coaches, drivers, teams and venues at 3000px and up (4K on request), each with its license, author and a ready credit line. No API key required, zero config. Use when:

From plugin
sports-skills
27331 skills

Claude Code

$ npx -y skills add machina-sports/sports-skills --skill sports-images --agent claude-code

SKILL.md

sports-images.SKILL.md
name: sports-images
description: |
  High-resolution, open-licensed sports photos from Wikimedia Commons, found through Wikidata. Photos of players, coaches, drivers, teams and venues at 3000px and up (4K on request), each with its license, author and a ready credit line. No API key required, zero config.

  Use when: user needs a large photo they are allowed to publish, such as a magazine cover or spread, an article hero image, a poster or a social card, of a player, a team in action or a stadium. Also use to check the license and the credit line of a Commons file.
  Don't use when: user asks for a team logo, crest, badge, kit or a small headshot: use metadata (TheSportsDB). Don't use for scores, standings, stats or odds: use the sport-specific skill (football-data, nfl-data, nba-data, wnba-data, nhl-data, mlb-data, tennis-data, golf-data, cricket-data, cfb-data, cbb-data, fastf1). Results are photos by volunteers, not official or agency pictures, and coverage of lesser-known players is thin.
license: MIT
metadata:
  author: machina-sports
  version: "0.1.0"

Sports Images

Before writing queries, consult `references/api-reference.md` for the parameters and the fields of an image.

A name search on a photo site returns whatever shares the name. This skill resolves the name to a Wikidata entity first (a sports person, a team or a venue), then asks Wikimedia Commons for the files that depict that entity.

Quick Start

Prefer the CLI — it avoids Python import path issues:

sports-skills images find_images --name="Bukayo Saka" --min_long_edge=3840
sports-skills images find_images --name="Arsenal" --kind=team --orientation=landscape
sports-skills images search_entities --query="Vinicius"
sports-skills images get_image --file="File:1 bukayo saka arsenal 2025.jpg" --width=1920

Python SDK (alternative):

from sports_skills import images

photos = images.find_images(name="Bukayo Saka", min_long_edge=3840)
venue = images.find_images(name="Emirates Stadium", sort="largest", limit=5)
entities = images.search_entities(query="Arsenal", kind="team")
one = images.get_image(file="File:1 bukayo saka arsenal 2025.jpg", width=1920)

CRITICAL: Before Any Query

CRITICAL: Before calling any images command, verify:

  • The name is specific. `"Vinicius"` works, but pass `kind` (`person`, `team` or `venue`) when a name is shared: `"Arsenal"` is a club, a tube station and a video game.
  • When `alternatives` in the response holds the entity the user meant, call `find_images` again with that `qid`.
  • `min_long_edge` is the long edge in pixels. The default is 3000; use 3840 for 4K. Lower it when the response says the photos exist but are smaller.

CRITICAL: Before publishing or handing over any image:

  • Show the `credit` line with the image. Every license except public domain requires it.
  • Check `license.sharealike`. A CC BY-SA photo that is cropped, retouched or composed into artwork must keep the same license. Pass `allow_sharealike=false` to leave those out.
  • Check `restrictions`. `personality` means the person shown has rights of their own; `trademark` covers crests and logos. The license covers only the photographer's copyright, so commercial use (advertising, merchandise, a cover that sells a product) may need separate clearance. Tell the user; do not decide for them.
  • Use `preview_url` for layout and `original_url` for print. Originals can be very large (tens of megabytes).

Commands

| Command | Required | Optional | Description | |---|---|---|---| | `find_images` | name or qid | kind, min_long_edge, limit, orientation, allow_sharealike, sort, width, language | Open-licensed photos of a sports person, team or venue | | `search_entities` | query | kind, limit, language | Sports people, teams and venues that match a name, with their Wikidata ids | | `get_image` | file | width | License, author, credit line and a sized rendition for one Commons file |

Reading a result

Each image carries `width`, `height`, `megapixels`, `orientation`, `date` (when the photo was taken, when Commons knows it), `license` (name, URL, `attribution_required`, `sharealike`), `author`, `credit`, `restrictions` and `match`.

`match` says how the file was found:

  • `depicts`: a Commons volunteer stated that the file shows this entity. The more precise of the two.
  • `category`: the file sits in the entity's Commons category.

The skill never searches by file name alone: a name in a file title is not evidence of who is in the photo.

Results whose file name carries the entity's name are listed first, then newest first. A "depicts" statement covers anything in the frame, so read `title` and `description` before picking a photo: a parade photo can depict a club because someone wears its shirt.

`skipped` counts what the filters removed (`too_small`, `license`, `sharealike`, `orientation`, `not_a_photo`), which tells you which filter to loosen.

Workflows

Cover or hero photo of a player

1. `find_images --name="<player>" --min_long_edge=3840 --orientation=portrait` 2. Pick by `title`, `description` and `date`; prefer `match: depicts`. 3. Hand over `preview_url` (or `original_url` for print) together with `credit`, and state any `restrictions`.

Stadium or matchday spread

1. `find_images --name="<stadium>" --kind=venue --orientation=landscape --sort=largest` 2. For the team itself, `find_images --name="<team>" --kind=team --orientation=landscape`.

A name that could be several things

1. `search_entities --query="<name>"` 2. Show the user the candidates when more than one fits, then `find_images --qid=<chosen qid>`.

Checking a photo the user already has

1. `get_image --file="<Commons URL or file title>"` 2. Report the license, the credit line and the restrictions.

Examples

Example 1: Magazine cover photo User says: "I need a 4K photo of Erling Haaland for a cover" Actions: 1. Call `find_images(name="Erling Haaland", min_long_edge=3840, orientation="portrait")` 2. Present

Read more
@machina-sports
Ships withsports-skills

Open-source Agent Skills and a Python SDK for scores, stats, news, and prediction-market data. Public read-only tools do not require an account. See the changelog for releases. Live catalog: sports-skills.sh, one page per skill.

Stars on GitHub

Momentum

stars in total
273
Star history of machina-sports/sports-skills on GitHub, a chart by star-history.com

Other skills on sports-skills.

betting

betting

Betting analysis — odds conversion, de-vigging, edge detection, Kelly criterion, arbitrage detection, parlay analysis, and line…

cbb-data

cbb-data

College Basketball (CBB) data via ESPN public endpoints and the NCAA's official endpoints — scores, standings, rosters,…

cfb-data

cfb-data

College Football (CFB) data via ESPN public endpoints and the NCAA's official endpoints — scores, standings, rosters, schedules,…

cricket-data

cricket-data

Cricket data via ESPN public endpoints and Cricsheet open data — live-ish series scoreboards, standings, match summaries and news…

espn-api

espn-api

Raw reference for ESPN's undocumented public JSON endpoints, for a league or operation that no dedicated sports-skills skill…

esports

esports

Esports data — Dota 2 (OpenDota) and League of Legends esports (Leaguepedia). Pro matches, tournaments, teams, and structured LoL…

More skills from other plugins.

paddleocr-doc-parsing

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…

paddleocr2mo93k
@paddlepaddle@paddlepaddleInstall Skill
context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem03w69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog4w41k
@posthog@posthogInstall Skill

Questions about sports-images.

Which coding agents can use sports-images?
sports-images installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.