betting
Betting analysis — odds conversion, de-vigging, edge detection, Kelly criterion, arbitrage detection, parlay analysis, and line…
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
Claude Code
$ npx -y skills add machina-sports/sports-skills --skill golf-data --agent claude-code
Codex
$ npx skills add machina-sports/sports-skills --skill golf-data -a codex -y
Cursor
$ npx skills add machina-sports/sports-skills --skill golf-data -a cursor -y
Gemini CLI
$ npx skills add machina-sports/sports-skills --skill golf-data -a gemini-cli -y
GitHub Copilot
$ npx skills add machina-sports/sports-skills --skill golf-data -a github-copilot -y
OpenCode
$ npx skills add machina-sports/sports-skills --skill golf-data -a opencode -y
Windsurf
$ npx skills add machina-sports/sports-skills --skill golf-data -a windsurf -y
name: golf-data description: | 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. license: MIT metadata: author: machina-sports version: "0.1.0"
Before writing queries, consult `references/api-reference.md` for endpoints, player IDs, and score formats.
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.
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 calling any data endpoint, verify:
Most commands require `--tour=pga`, `--tour=lpga`, or `--tour=eur`:
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`.
| Command | Description | |---|---| | `get_leaderboard` | Tournament leaderboard with all golfer scores (current, or `event_id` / `date`) | | `get_schedule` | Full season tournament schedule | | `get_player_info` | Individual golfer profile | | `get_player_overview` | Detailed overview with season stats, rankings, recent results | | `get_scorecard` | Hole-by-hole scorecard for a golfer (current, or `event_id` / `date`) | | `get_news` | Golf news articles |
See `references/api-reference.md` for full parameter lists and return shapes.
Example 1: Current leaderboard User says: "What's the PGA leaderboard right now?" Actions: 1. Call `get_leaderboard(tour="pga")` Result: Current tournament leaderboard sorted by position with each golfer's score and round-by-round breakdown
Example 2: Season schedule User says: "Show me the LPGA schedule for 2026" Actions: 1. Call `get_schedule(tour="lpga", year=2026)` Result: Full LPGA tournament calendar with names, dates, and venues
Example 3: Golfer profile User says: "Tell me about Scottie Scheffler" Actions: 1. Call `get_player_info(player_id="9478", tour="pga")` Result: Scheffler's profile with age, nationality, height/weight, turned pro year
Example 4: Upcoming major User says: "When is the Masters this year?" Actions: 1. Derive year from `currentDate` 2. Call `get_schedule(tour="pga", year=<derived_year>)` 3. Search results for "Masters Tournament" Result: Masters date, course (Augusta National), and tournament ID
Example 5: Player scorecard User says: "Show me Scottie Scheffler's scorecard" Actions: 1. Call `get_scorecard(tour="pga", player_id="9478")` Result: Hole-by-hole scores for each completed round with strokes and score-to-par
Example 6: Player season form User says: "How has Rory McIlroy been playing this season?" Actions: 1. Call `get_player_overview(player_id="3470", tour="pga")` Result: Season stats (scoring average, earnings, wins, top-10s), world ranking, and recent results
If a command is not listed in the Commands table above, it does not exist.
When a command fails, **do not surface raw errors to the user**. Instead: 1. If no active tournament, tell the user and suggest checking the schedule 2. If a player ID is wrong, suggest using `get_leaderboard` to find current player IDs 3. Only report failure with a clean message after exhausting alternatives
Error: `sports-skills` command not found Cause: Package not installed Solution: Run `pip install sports-skills`
Error: No active tournament on leaderboard Cause: Golf tournaments run Thursday–Sunday; between events the leaderboar
Open-source agent skills for live sports data and prediction markets. Built for the Agent Skills spec. Works with sportsclaw, OpenClaw, Claude Code, Cursor, Copilot, Gemini CLI, Hermes Agent, and every major AI agent. Zero API keys. Zero signup.
Betting analysis — odds conversion, de-vigging, edge detection, Kelly criterion, arbitrage detection, parlay analysis, and line…
College Basketball (CBB) data via ESPN public endpoints and the NCAA's official endpoints — scores, standings, rosters,…
College Football (CFB) data via ESPN public endpoints and the NCAA's official endpoints — scores, standings, rosters, schedules,…
Cricket data via ESPN public endpoints and Cricsheet open data — live-ish series scoreboards, standings, match summaries and news…
Raw reference for ESPN's undocumented public JSON endpoints, for a league or operation that no dedicated sports-skills skill…
Esports data — Dota 2 (OpenDota) and League of Legends esports (Leaguepedia). Pro matches, tournaments, teams, and structured LoL…
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…