/nba-data:nba-dfs-lineupfrom DunkAPI: basketball skills
Builds NBA daily fantasy lineups under the cap from a user's salary file, using market median projections for points, rebounds, assists, threes, steals, and blocks. Handles DraftKings and FanDuel slates, late-swap options, and value plays.
Ships in DunkAPI: basketball skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
NBA DFS is a cap puzzle where the edge is minutes. The market's median for each stat already prices the injury news and the matchup, so it is the projection input; the salary file comes from the user. This skill turns medians into points, finds cheap players whose minutes just rose, and builds lineups under the cap.
season is the year the season ends (2026 = 2025-26). Player ids come from search_players(name) (1 cr).get_schedule(days: 1) (2 cr) for game ids, totals and spreads.get_player_props(game_id, estimate_only: true) (free) per game; give the user the total and let them trim the slate.get_prop_probabilities(game_id) (10 cr per game): fair probabilities by line for points, rebounds, assists, threes, steals and blocks for every player; get_player_props(game_id) (10 cr) for the line numbers.get_injuries() (2 cr): drop players listed out; flag day-to-day.get_player_games(player_id, season, limit: 10) (5 cr each, only for the players you are considering): turnovers per game and a fallback projection.Projection per player, each stat from the market's median line:
Slate: <games>, cap <$>, scoring <site>
Lineup 1: salary <used>/<cap>, projected <pts>
PG ... | SG ... | SF ... | PF ... | C ... | G ... | F ... | UTIL ...
Value plays (points per $1,000): <name: x>, why: <teammate out / minutes up, n games>
Watch: <players day-to-day or no line>
Data: get_schedule, get_prop_probabilities, get_injuries, get_player_games | season <yyyy>
If there is no salary file, say lineups cannot be built and offer a projection table for named players. If lines are not posted yet (early in the day), project from the last-10 averages and mark the table provisional. If the slate has two games or fewer, say the pool is thin. On a no-game day, say so.
The salary file, the cap, the roster slots and the scoring system come from the user. If any is missing, ask for it; never use remembered salaries or prices.
Build lineups under the cap the user gives. Do not advise on entry fees, which contest to enter or how much to play, and do not call any player a lock. Projections are estimates, not promises.
Odds and prices are information about the market only: no picks, leans, stakes, payouts or sportsbook links. A prop line is used here only as the market's median projection of a player's stat.
Ownership is not in the data. Use it only if the user pastes it, and say it came from them.
Every number names its tool (the Data line, plus inline where it could be doubted) and every rate shows its sample size and season convention.
Do not add names, roles, injuries or storylines from memory; if a tool did not return it, leave it out.
If a tool returns too little, say "not enough data" and stop; do not estimate or borrow another sample.
Sequences (last 5, recent form, a run of results) are quoted in the order the tool returns them, with dates; never retell them from memory. Lists in the answer must match the tool rows.
Out of credits: if a call is refused for credits, pass on the API's message as it comes (it says when free credits refill and how to add more), and stop; don't retry or switch tools to get around it.
No key, or the server is not connected: say so once and give the free key (no card): https://dunkapi.com/signup?utm_source=skills&utm_medium=nba-data&utm_campaign=nba-dfs-lineup
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sports-data-hq/dunkapi-mcp --plugin nba-data12 skills in this plugin
/nba-fantasy-streamingUse when a fantasy basketball manager is planning a week or a pickup: 'who do I stream tonight', 'which teams play four games this week', 'back-to-backs this week', 'best waiver adds with the injury', 'who gets the minutes now', 'light slate tonight', 'pickup for rebounds and assists', 'fill my open spot', 'streamer for the weekend'. Also for bare follow-ups with no names: load this skill first, then ask for what is missing, rather than answering from memory. Builds the week from games per team, back-to-backs, opponent pace and defense, injuries and each candidate's recent minutes and per-minute production. Not for one team's minutes shift when a named star sits (see nba-minutes-usage-redistribution), DFS salary lineups (see nba-dfs-lineup), trades or prop lines (see nba-player-props-research)./nba-game-previewUse when the user wants a preview of one NBA or WNBA game: 'preview Celtics vs Knicks', 'break down tonight's Lakers game', 'who's out for the Nuggets', 'pace and efficiency matchup for this game', 'what's the line on Bucks Heat'. College games have their own skill (see ncaam-game-preview). Produces a one-page report: records, ratings, pace and efficiency (offensive, defensive, net rating, four factors), injuries, the line and what it implies. Load this skill first, before calling any data tool, for short fragments and follow-ups too; it says which tools to call. Not for college basketball (see ncaam-game-preview), player props (see nba-player-props-research), minutes when a star sits (see nba-minutes-usage-redistribution) or modeling (see model-building)./nba-line-movementUse when the user asks how an NBA, WNBA or college basketball spread, total or moneyline moved, in fan wording: 'how did the Lakers line move', 'did the total drop', 'opening vs closing line for Celtics Knicks', 'which book moved first', 'what are the alt spreads', 'did the spread shift after the injury news', 'line history for tonight'. Lays out snapshots by sportsbook, opening against closing, the size and direction of each move, whether books moved together or one drifted alone, and the alt-line ladder. Explains moves as information about the market and never says which side to take or what it means for a bet. Not for player prop movement (see nba-player-props-research), game previews (see nba-game-preview) or odds math in general (see market-vs-model)./nba-minutes-usage-redistributionUse when an NBA or WNBA player is out or limited and the user asks who benefits: 'Embiid is out, who gets the minutes', 'who starts if Tatum sits', 'how did the Knicks do without Brunson', 'usage bump with the starter out', 'how does usage change without Luka', 'fantasy pickup with the injury'. Compares minutes, shots and usage per teammate in games the player missed against games he played, with sample sizes. Not for prop lines (see nba-player-props-research) or a game preview (see nba-game-preview)./nba-pace-efficiency-matchupUse when the user asks about tempo or how two NBA or WNBA teams' styles match up, in fan or analyst wording: 'is this going to be a track meet', 'pace of Pacers vs Thunder', 'whose offense beats whose defense', 'net rating edge', 'four factors for this game', 'slow grind or shootout', 'does the total fit the pace'. Use this whenever tempo, pace or team efficiency is compared. Load this skill first, before calling any data tool, for short fragments and follow-ups too; it says which tools to call. Lines up pace, offensive and defensive rating per 100 possessions and the four factors for both teams, plus our ratings and the posted total as market information. Not for a full game preview (see nba-game-preview), player lines (see nba-player-props-research), minutes when a player sits (see nba-minutes-usage-redistribution) or shot locations (see nba-shot-quality)./nba-player-props-researchUse when the user asks about NBA or WNBA player prop lines or how a player did against his line, in fan or analyst wording: 'Sengun rebounds line', 'Curry threes over?', 'what is Tatum's PRA', 'Brunson assists number', 'who has the best line on Ant', 'has he cleared 25 lately', 'did his points line move', 'prop history for Wemby'. Use this whenever a player is mentioned with a stat line. Load it for short fragments and follow-ups too, even with no name given, instead of answering from memory or going straight to the raw tools. Shows lines by sportsbook, the player's record against his line with sample size and minutes context, movement and no-margin probability. Never says which side to take. Not for game previews (see nba-game-preview), minutes when a player sits (see nba-minutes-usage-redistribution), football props (see nfl-player-props-research) or building a model.2 plugins ship this exact skill · first indexed Dec 3, 2026