Agent skill · data analytics · machina-sports

golf-data

PGA Tour, LPGA, and DP World Tour golf data via ESPN public endpoints — tournament leaderboards, scorecards, season schedules, golfer profiles/overviews, and news. Zero config, no API keys. Use when: user asks about golf scores, tournament leaderboards, scorecards, PGA Tour schedule, golfer profiles, golfer season stats, LPGA results, or golf news. Don't use when: user asks about other sports — use football-data (soccer), nfl-data (NFL), nba-data (NBA), wnba-data (WNBA), nhl-data (NHL), mlb-data (MLB), tennis-data (tennis), cricket-data (cricket), cfb-data (college football), cbb-data (college basketball), or fastf1 (F1). For betting odds use polymarket or kalshi. For news use sports-news.

Why this skill is useful

Provides specific commands and parameters for accessing golf data that the AI wouldn't reliably generate on its own.

What it needs

Requires sports-skills installed locally. About 4k tokens when loaded. Last updated 2026-08-06. 201 stars on the source repository.

What this skill does

Golf Data (PGA / LPGA / DP World Tour) Before writing queries, consult references/api-reference.md for endpoints, player IDs, and score formats. Setup Before first use, check if the CLI is available: If pip install fails with a Python version error, the package requires Python 3.10+. Find a compatible Python: No API keys required. Quick Start Prefer the CLI — it avoids Python import path issues: CRITICAL: Before Any Query CRITICAL: Before calling any data endpoint, verify: The tour parameter is specified (pga, lpga, or eur) — there is no default tour. Player IDs are obtained from getleaderboard results or ESPN golf URLs — never guessed. Important: Golf is Not a Team Sport Tournaments, not games: Each event is a multi-day tournament (typically 4 rounds, Thu–Sun). Individual athletes: The leaderboard has 72–147 individual golfers, not 2 teams. Score relative to par: Scores are strings like "-17", "E" (even), "+2" — not point totals. One event per week: Unlike team sports, golf has one tournament per week per tour. No standings endpoint: FedEx Cup standings are not available via this API. The tour Parameter Most commands require --tour=pga, --tour=lpga, or --tour=eur: PGA: PGA Tour (men's professional golf) LPGA: LPGA Tour (women's professional golf) EUR: DP World Tour (formerly European Tour) If the user doesn't specify, default to pga. If they say "women's golf" or "LPGA", use lpga. If they mention the European Tour or DP World Tour, use eur. Commands Command Description --- --- getleaderboard Current tournament leaderboard with all golfer scores getschedule Full season tournament schedule getplayerinfo Individual golfer profile getplayeroverview Detailed overview with season stats, rankings, recent results getscorecard Hole-by-hole scorecard for a golfer getnews Golf news articles See references/api-reference.md for full parameter lists and return shapes. Examples Example 1: Current leaderboard User says: "What's the PGA leaderboard right now?" Actions: 1. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills machina-sports/golf-data

View the source on GitHub

Browse the @skills marketplace