Pulls live PGA Tour, LPGA, and DP World Tour data from ESPN's public endpoints without any API keys. You get tournament leaderboards, hole-by-hole scorecards, season schedules, golfer profiles with stats, and news. The skill is clear about what golf data looks like: individual athletes in multi-day tournaments with scores relative to par, not team matchups. It's direct about what doesn't exist too, no FedEx Cup standings or betting odds here. If you're building anything that needs current golf scores or player info across the major tours, this handles the ESPN API quirks so you don't have to figure out their player ID system or score formats yourself.

skills.sh installs
780
GitHub stars
268
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

Files

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:

which sports-skills || pip install sports-skills

If pip install fails with a Python version error, the package requires Python 3.10+. Find a compatible Python:

python3 --version  # check version
# If < 3.10, try: python3.12 -m pip install sports-skills
# On macOS with Homebrew: /opt/homebrew/bin/python3.12 -m pip install sports-skills

No API keys required.

Quick Start

Prefer the CLI — it avoids Python import path issues:

sports-skills golf get_leaderboard --tour=pga
sports-skills golf get_schedule --tour=pga --year=2026
sports-skills golf get_news --tour=pga

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 get_leaderboard results or ESPN golf URLs — never guessed.

Important: Golf is Not a Team Sport

Sponsors

Details

Repository
github.com/machina-sports/sports-skills
Categories
Backend & APIs, Automation & Workflows
First seen
Jun 3, 2026

More from machina-sports/sports-skills

All 18
1atlascloudai avataratlas-cloudatlascloudai/atlas-cloud-skillsAtlas Cloud API integration skill — quickly call 300+ AI image generation, video generation, audio (TTS, music, speech-to-text), 3D generation, and LLM models t772skills.sh installs
2encoredev avatarencore-migrateencoredev/skillsMigrate an existing backend application to Encore. Supports any source framework, targets Encore.ts or Encore Go. Drives a structured DISCOVER → PLAN → MIGRATE 767skills.sh installs
3adobe avatarappbuilder-testingadobe/skillsGenerate and run tests for Adobe App Builder actions and UI components. Scaffolds Jest unit tests, integration tests against deployed actions, contract tests fo766skills.sh installs
4ruvnet avatarpii-detectruvnet/rufloDetect and flag personally identifiable information (PII) in text, code, and configurations. Use before committing code, writing logs, storing data, or sending 763skills.sh installs
5mattbx avatarshadcn-component-discoverymattbx/shadcn-skillsDiscover shadcn-compatible components and registries across the entire ecosystem before writing any custom UI. Use PROACTIVELY before building tables, forms, mo761skills.sh installs
6zeropointrepo avataryoutube-datazeropointrepo/youtube-skillsUse when structured YouTube data is needed: pasted video/channel/playlist links, transcripts for analysis, video metadata, channel upload history, search result759skills.sh installs