/mlb-data:mlb-dfs-stacksfrom FastballAPI: baseball skills
Builds MLB DFS lineups from salary files using implied team totals and prop medians. Ranks teams by market run expectations, projects hitters and pitchers, and constructs cap-compliant stacks.
Ships in FastballAPI: baseball 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.
MLB DFS is stack-driven: runs come in clusters, so hitters from one lineup share an outcome. Team choice starts with the market's expected runs for each side. This skill derives the implied team totals, projects each hitter and starter from the market's medians, and builds under the cap. Batting orders and probable pitchers are not in the data, so they come from the user's file.
season is the calendar year. Player ids come from search_players(name) (1 cr).get_schedule(days: 1) (2 cr): games, the median total, moneylines and run line.get_player_props(game_id, estimate_only: true) (free) per game; let the user trim.get_player_props(game_id) (10 cr per game): hits, home runs, total bases, RBI, pitcher strikeouts and pitcher outs for every player posted.get_player(player_id, season) (5 cr) for a starter's WHIP and a hitter's walk rate, and get_player_games(player_id, season, limit: 20) (5 cr) for runs and walks per game, only for players you are considering; get_injuries(team) (2 cr).Implied team totals (derive, do not look up):
get_schedule, convert each to implied probability, divide by their sum to remove the margin (fair win probability p for the home side).Slate: <games>, cap <$>, scoring <site>
Implied totals (market): <team: runs> top 6
Lineup 1: salary <used>/<cap>, projected <pts>
P <name> $<s> <pts> (opp implied <r>, win prob <p>) | P ... | C ... | 1B ... | ... | OF x3
Stack: <team> x<n> (order: <as given by you / not given>)
No line / excluded: <names>
Data: get_schedule, get_player_props, get_player, get_player_games, get_injuries | season <yyyy>
If there is no salary file, say lineups cannot be built and offer the implied-total ranking and projections for named players. If props are not posted yet, rank teams by implied total only and say hitters are not projected. If a game has no total, skip the team. On a no-game day or the offseason, 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://fastballapi.com/signup?utm_source=skills&utm_medium=mlb-data&utm_campaign=mlb-dfs-stacks
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mlb, daily-fantasy-sports, draftkings, lineup-builder, stacking
npx claudepluginhub sports-data-hq/sportsdatahq-skills --plugin mlb-data10 skills in this plugin
/mlb-batter-spray-profileUse when the user asks where or how an MLB hitter hits the ball, in fan or analyst wording: 'Tatis spray chart', 'does Seager go oppo', 'is he a pull hitter', 'too many ground balls?', 'fly ball guy?', 'where do his hits go', 'line drive rate for Freeman', 'batted ball mix'. Use this whenever a named hitter and batted-ball direction or type come up. 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. Reports balls in play by trajectory and by field (left, center, right) with hit rates and counts, for a season or the postseason. Not for a game preview (see mlb-game-preview), luck screens (see mlb-regression-candidates), a pitcher's pitch mix (see mlb-pitcher-skill-change), exit velocity leaders or prop prices./mlb-fantasy-waiversUse when a fantasy baseball manager is looking for pickups or deciding on a drop: 'best hitters on the wire', 'who is getting everyday at-bats', 'call-up worth adding', 'is his hot streak real', 'drop candidate', 'platoon bat available', 'who is hitting leadoff now', 'catcher or shortstop to add', 'pitcher to stash'. Ranks players by plate appearances per game over the last two weeks, quality of contact and strikeouts, role and injury status. Also for bare follow-ups with no names: load this skill first, then ask for what is missing, rather than answering from memory. Not for starting-pitcher streaming around a schedule (see mlb-streaming-planner), luck screens (see mlb-regression-candidates), pitch changes (see mlb-pitcher-skill-change), DFS lineups or trades. Cannot see roster percentage.Other plugins' skills for the same job
2 plugins ship this exact skill · first indexed Dec 3, 2026