/mlb-data:mlb-win-prob-swingsfrom FastballAPI: baseball skills
Ranks plate appearances from a finished MLB game by win probability swing and run value to identify turning points. Use for questions like 'what flipped last night's game' or 'biggest momentum shift'.
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.
A box score says who won; the plate-appearance log says when. This skill ranks one game's plate appearances by how far they moved our win probability.
https://mcp.fastballapi.com/mcp). Call them; never fill in a number from memory.season is the calendar year. Game ids from get_games(date or team, season) (2 cr) or get_schedule (2 cr).get_plate_appearances(game_id) (10 cr) returns the game in order with the base-out state before, the result, runs, the home team's win probability after the plate appearance (our model: inning, outs, runners, score, team ratings and the two starters) and our run value (RE24). Up to 1,000 rows a page.get_games(...) (2 cr) for the game id.get_plate_appearances(game_id) (10 cr); page with offset if rows are cut.get_game(game_id) (5 cr) for the box score and final score.Win probability comes from a model, so a swing is the model's reading, not a fact about effort or clutch. Late-game swings are larger because fewer outs remain; compare plays within the game, not across games. Do not rank players as clutch from one game.
<Away> at <Home> | <date> | final <score> | plate appearances read <n>
Biggest swings (winner's side): 1) <inning, outs, runners, score, batter vs pitcher, result>: <before> to <after> (<swing>), RE24 <v>
2) ... 3) ...
When the game turned: <the stretch where the favourite changed, if it did>
Read: 2-3 bullets, swings stated as computed from get_plate_appearances
Data: get_games, get_plate_appearances[, get_game] | season <yyyy>, game <id>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mlb, win-probability, game-analysis, turning-points, baseball
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-dfs-stacksUse when someone has an MLB daily fantasy slate: 'build my MLB DraftKings lineup', 'best stacks tonight', 'which team has the highest implied total', 'who do I pair with this pitcher', 'one-off hitters to fill out the stack', 'cheap pitcher plays', '5-3 stack', 'Coors stack', 'salary file for tonight, make a lineup'. Ranks teams by the market's implied run total, projects hitters and starting pitchers from prop medians in fantasy points and builds lineups under the cap from the user's salary file. 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 entry fees, contest choice or how much to play, which it will not advise; not for a week of pitching matchups (see mlb-streaming-planner), season-long waivers (see mlb-fantasy-waivers) or prop research.Other plugins' skills for the same job
2 plugins ship this exact skill · first indexed Dec 3, 2026