betting
Betting analysis — odds conversion, de-vigging, edge detection, Kelly criterion, arbitrage detection, parlay analysis, and line…
Polymarket sports prediction markets — read-only live odds, prices, order books, events, series, and market search. No auth required. Covers NFL, NBA, MLB, football (EPL, UCL, La Liga), tennis, cricket, MMA, esports. Supports moneyline, spreads, totals, and player props. Use
Claude Code
$ npx -y skills add machina-sports/sports-skills --skill polymarket --agent claude-code
Codex
$ npx skills add machina-sports/sports-skills --skill polymarket -a codex -y
Cursor
$ npx skills add machina-sports/sports-skills --skill polymarket -a cursor -y
Gemini CLI
$ npx skills add machina-sports/sports-skills --skill polymarket -a gemini-cli -y
GitHub Copilot
$ npx skills add machina-sports/sports-skills --skill polymarket -a github-copilot -y
OpenCode
$ npx skills add machina-sports/sports-skills --skill polymarket -a opencode -y
Windsurf
$ npx skills add machina-sports/sports-skills --skill polymarket -a windsurf -y
name: polymarket
description: |
Polymarket sports prediction markets — read-only live odds, prices, order books, events, series, and market search. No auth required. Covers NFL, NBA, MLB, football (EPL, UCL, La Liga), tennis, cricket, MMA, esports. Supports moneyline, spreads, totals, and player props.
Use when: user asks about sports betting odds, prediction markets, win probabilities, market sentiment, or "who is favored to win" questions and only needs read-only market intelligence.
Don't use when: user asks about actual match results, scores, or statistics — use the sport-specific skill. Don't use for historical match data. Don't use for news — use sports-news instead. Don't use for placing, cancelling, or managing orders — use the separate polymarket-trading skill only after explicit user approval.
license: MIT
metadata:
author: machina-sports
version: "0.4.0"
risk:
mode: read_only
money_movement: false
secrets_required: false
external_network: true
untrusted_content: trueBefore writing queries, consult `references/api-reference.md` for sport codes, command parameters, and price format.
This skill is intentionally **read-only**. It can fetch market metadata, implied probabilities, order books, and recent price/trade history from public Polymarket endpoints. It must not configure wallets or place/cancel orders.
Prefer the CLI — it avoids Python import path issues:
sports-skills polymarket search_markets --sport=nba --sports_market_types=moneyline sports-skills polymarket get_todays_events --sport=epl sports-skills polymarket search_markets --sport=epl --query="Leeds" --sports_market_types=moneyline sports-skills polymarket get_sports_config
Python SDK (alternative):
from sports_skills import polymarket polymarket.search_markets(sport='nba', sports_market_types='moneyline') polymarket.get_todays_events(sport='epl') polymarket.search_markets(sport='epl', query='Leeds') polymarket.get_sports_config()
Without the `sport` parameter:
WRONG: search_markets(query="Leeds") → often 0 single-game results RIGHT: search_markets(sport='epl', query='Leeds') → returns Leeds markets
Core read-only commands have no dependencies and no API keys. They work out of the box.
If the user explicitly asks to place/cancel orders or manage a wallet, stop and load/use the separate `polymarket-trading` skill. Do not continue from this read-only skill.
1. `search_markets --sport=nba` (or epl, nfl, bun, etc.) 2. Each market includes outcomes with prices (price = probability). `search_markets` returns only open markets (its own `active` true and `closed` not true, even when the event is open). A `sport` search stays inside that league, and a sport code that cannot be resolved returns an error, never every sport. Use `get_event_details` to see closed markets. 3. For detailed prices, use `get_market_prices --token_id=<clob_token_id>`.
1. `get_todays_events --sport=epl` — games kicking off today (UTC); pass `--date=YYYY-MM-DD --timezone=<IANA zone>` for the user's local day. Kickoff is `game_start_time`, not the listing `start_date`. 2. It reads ONE page. If `complete` is false (`truncated`/`next_offset`, `unknown_start`, `unknown_market_state`, or `offset>0`), say coverage is partial — never "no games". Page on with `--offset=<next_offset>`. 3. Each event includes nested markets; known closed/inactive/not-accepting markets are dropped, `accepting_orders: null` means unknown. Add `--sports_market_types=moneyline --compact=true` for a short summary. 4. Outcome prices are indicative. For executable bid/ask, take `clob_token_id` and call `get_order_book` / `get_market_prices`. 5. For upcoming fixtures on any date, use `get_sports_events --sport=epl`.
1. `search_markets --sport=nba --query="Lakers" --sports_market_types=moneyline` 2. `get_market_prices --token_id=<id>` for live CLOB prices. 3. Present probabilities with liquidity/freshness caveats.
1. Find market via `search_markets --sport=nba`. 2. Get `clob_token_id` from the outcomes. 3. `get_price_history --token_id=<id> --interval=1w` 4. Present price movement as historical market-implied probability, not advice.
| Command | Description | |---|---| | `get_sports_config` | Available sport codes | | `get_todays_events` | A league's games on a date (default today, UTC), one page with coverage fields | | `search_markets` | Find markets by sport, keyword, and type | | `get_sports_markets` | Browse all sports markets | | `get_sports_events` | Browse sports events (`sport` for one league, any date) | | `get_series` | List series (leagues) | | `get_market_details` | Single market details | | `get_event_details` | Single event details | | `get_market_prices` | Current CLOB prices | | `get_order_book` | Full order book | | `get_price_history` | Historical prices | | `get_last_trade_price` | Most recent trade | | `get_esports_events` | Esports prediction markets (CS2/LoL/Dota2/Valorant) — implied probabilities via outcome prices |
See `references/api-reference.md` for full parameter lists and return shapes.
Example 1: Tonight's NBA favorites User says: "Who's
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.
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,…