Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

mlb-player-analyzerMLB 球员分析器

Agent Skill

mlb-player-analyzer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

188

周安装

8

GitHub Stars

85

下载量

66
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mlb-player-analyzer(MLB 球员分析器)
来源仓库:https://github.com/lyndonkl/claude
仓库路径:skills/mlb-player-analyzer
安装命令:
npx skills add https://github.com/lyndonkl/claude --skill mlb-player-analyzer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/lyndonkl/claude --skill mlb-player-analyzer

简介

mlb-player-analyzer 用于查找、检索和筛选相关信息,适合球员表现评估。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中的运动员数据对比场景。
  • 通过 npx skills add 命令从 claude 仓库安装。
  • 使用前需确认统计口径一致性,避免跨赛季数据直接比较。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

MLB Player Analyzer

Table of Contents

Example

Scenario: Hitter analysis for Junior Caminero (TB 3B), today's opponent BOS, opp SP Brayan Bello (RHP), park Fenway, light wind.

Inputs assembled from web search:

  • Last 15 days xwOBA:.410 vs season xwOBA.355 (Baseball Savant)
  • Bello 2026 K/9: 8.1, xFIP 4.05, wOBA-vs-RHH.335 (FanGraphs)
  • Fenway park factor: 103 R, 105 HR (FanGraphs park factors)
  • Caminero vs RHP wOBA:.360 (FanGraphs splits)
  • Weather: 62F, 8mph wind LF-to-CF (RotoWire)
  • Lineup: confirmed #3 hitter (MLB.com starting lineups)
  • Season actual wOBA.340 vs xwOBA.370 -> unlucky +.030

Signal computation:

SignalValueQuick read
form_score66rolling xwOBA 15% above season baseline
matchup_score58decent park, neutral SP, slight wind-aided
opportunity_score78#3 slot, ~4.6 expected PAs
daily_quality66START-tier (>=60)
regression_index+15unlucky, buy-window
obp_contribution62projected.355 OBP x 4.6 PAs
sb_opportunity35Bello holds runners average, BOS catcher CS 28%, Caminero sprint 26.5 ft/s
role_certainty100confirmed lineup posted

Recommendation to lineup-optimizer: daily_quality = 66 -> START. regression_index = +15 suggests no need to sit on any recent cold-streak noise.

Pitcher counter-example (pitcher start): Bowden Francis (TOR) at COL. daily_quality replaced by streamability_score. Coors kills streamability_score regardless of raw stuff; skill would emit qs_probability ~28, k_ceiling ~40, era_whip_risk ~82 -> streamability_score ~32 (sub-70 threshold -> SIT / DO NOT STREAM).

Workflow

Copy this checklist and track progress:

MLB Player Analysis Progress:
- [ ] Step 1: Classify player (hitter vs pitcher; SP vs RP)
- [ ] Step 2: Collect season + 15-day performance (Savant, FanGraphs)
- [ ] Step 3: Collect today's context (opp SP/hitters, park, weather, lineup)
- [ ] Step 4: Compute normalized component scores
- [ ] Step 5: Compute composite signals (daily_quality or streamability_score)
- [ ] Step 6: Check regression_index and role_certainty
- [ ] Step 7: Validate against rubric and emit signal file

Step 1: Classify player

Determine role: hitter (any position player), SP (starter), RP (reliever, closer or setup). The signal set is different per role. See resources/methodology.md for role determination rules when a player has dual eligibility (two-way player, opener + bulk).

  • Confirm today's role: is the player in today's lineup? Is the SP on the probable-pitcher chart today?
  • If RP: is this a save-role RP or middle-relief RP? Closer depth lookup required.

Step 2: Collect performance data

Web-search the primary sources. Every URL goes in the signal file's source_urls: list.

  • Baseball Savant player page: season xwOBA, 15-day xwOBA, xBA, barrel %, hard-hit %, sprint speed (hitters); xERA, whiff %, chase %, CSW (pitchers)
  • FanGraphs player page: ATC projections (rest-of-season rate stats), splits tab (vs LHP / vs RHP)
  • If search fails for any metric: record the attempt, set confidence: 0.3, and note the gap in the red-team field

See resources/data-cheatsheet for exact URL patterns.

Step 3: Collect today's context

  • Opp SP (from MLB.com probable pitchers or matchup-analyzer signal if already emitted)
  • Park factor (from FanGraphs park factors, or matchup-analyzer's park_hitter_factor / park_pitcher_factor)
  • Weather (from RotoWire weather-forecast, or matchup-analyzer's weather_risk)
  • Confirmed lineup slot (from MLB.com starting-lineups; posts ~2-3h pre-game)
  • If a matchup-analyzer signal file exists for today's game, consume those signals -- do not re-derive

Step 4: Compute normalized component scores

All raw stats are converted to 0-100 (unipolar) or +/-100 (bipolar) per the signal framework. See resources/methodology.md for each formula.

  • Hitter: form_score, matchup_score, opportunity_score (components of daily_quality)
  • Hitter: regression_index, obp_contribution, sb_opportunity, role_certainty
  • Pitcher: qs_probability, k_ceiling, era_whip_risk
  • Pitcher RP: save_role_certainty

Step 5: Compute composite signals

  • Hitter primary: daily_quality = 0.35 * form_score + 0.40 * matchup_score + 0.25 * opportunity_score
  • Pitcher SP primary: streamability_score = 0.40 * qs_probability + 0.30 * k_ceiling + 0.30 * (100 - era_whip_risk)
  • Pitcher SP weekly: two_start_bonus (bool from FantasyPros two-start page)

Step 6: Check regression and role

  • regression_index = clamp((xwOBA - wOBA) * 500, -100, +100). Positive = unlucky (buy). Negative = lucky (sell / fade).
  • role_certainty (hitter): 100 = confirmed in today's lineup, 70 = probable per beat reporter, 40 = platoon uncertain, 0 = benched or injured
  • save_role_certainty (RP): 100 = locked closer per RotoBaller, 50 = timeshare, 20 = 7th-inning guy

Step 7: Validate and emit

Common Patterns

Pattern 1: Hot Streak Hitter (Sell-the-News)

  • Profile: Rolling 15-day wOBA well above xwOBA (actual outperforming expected)
  • Signal signature: form_score high (>=70), regression_index negative (e.g., -25)
  • Read: Production is BABIP-aided and not backed by Statcast quality. Do not overweight recent numbers.
  • Action feed to lineup-optimizer: trim daily_quality by ~5 points mentally; flag for the waiver-analyst if the user is considering selling high

Pattern 2: Cold Hitter with Loud Contact (Buy-Window)

  • Profile: Rolling 15-day wOBA below season average but xwOBA still strong (>=season xwOBA)
  • Signal signature: form_score depressed, regression_index positive (>=+20), barrel% still good
  • Read: Bad-luck stretch. Underlying contact quality intact. Start through it.
  • Action: keep daily_quality weight as computed; flag positive regression to category-strategist (this is the guy who will pop next week)

Pattern 3: Two-Start Pitcher in a Bad Park

  • Profile: SP with two starts this scoring week, one of which is at COL / CIN / BOS
  • Signal signature: two_start_bonus = true, but one start has era_whip_risk >= 70
  • Read: Volume pays in K and QS, but a blowup in Coors could torch ERA/WHIP for the week
  • Action: Emit both starts as separate pitcher signals, each with its own streamability_score; streaming-strategist decides whether to eat the bad park for the volume

Pattern 4: Closer in Committee / Role Uncertainty

  • Profile: RP with save opportunities but manager has said "mix-and-match" or "matchup based"
  • Signal signature: save_role_certainty <= 50, k_ceiling decent, era_whip_risk low
  • Read: Rostering pays only if saves materialize. Great ratios but the fantasy cat (SV) is unreliable.
  • Action: Note explicitly in the signal body. Waiver-analyst uses this to decide FAAB willingness.

Guardrails

  1. Cite every fact. Every numeric input (xwOBA, projected PAs, park factor, CS%) must trace to a URL in source_urls:. Unsourced claims fail the rubric's Source Citation criterion.
  2. OBP matters more than AVG for this league. Our batting cats are R/HR/RBI/SB/OBP (not AVG). When computing obp_contribution and when choosing which rate stat to weight in form_score, use OBP or wOBA (which is walk-inclusive), never AVG alone. Walk rate is a feature, not a footnote.
  3. QS matters more than W for this league. For qs_probability, compute the probability of 6+ IP and <=3 ER, not the probability of a win. Ignore bullpen-game starters and openers -- they score zero QS points by definition.
  4. Use ATC projections, not Steamer alone. FanGraphs ATC is the consensus ensemble and is the most accurate single source. Steamer and ZiPS can be consulted for triangulation but do not substitute ATC without noting it.
  5. Degrade gracefully on search failure. If a source is unreachable, do not invent numbers. Set that component's confidence to 0.3 and record the gap in the red-team note field. The red-team pass will escalate if confidence < 0.4.
  6. Do not re-derive matchup-analyzer signals. If signals/YYYY-MM-DD-matchup.md exists for today's game, consume opp_sp_quality, park_hitter_factor, park_pitcher_factor, weather_risk, bullpen_state directly. Re-deriving wastes runtime and risks inconsistency across agents.
  7. Timestamp every signal. computed_at: YYYY-MM-DDTHH:MMZ. Morning-brief calls are fresh; afternoon re-checks (once lineups post) supersede the morning signal with higher role_certainty.
  8. Range-check every number. 0-100 signals never exceed 100 or go negative. +/-100 signals (regression_index) are clamped. The mlb-signal-emitter validator rejects out-of-range values -- check before calling.
  9. Plain-English body. The frontmatter is for machines; the body must be jargon-free or translate jargon inline for the end user. "xwOBA" -> "expected offensive output based on how hard and at what angle he hit the ball, regardless of whether balls found gloves."

Quick Reference

Composite formulas (see resources/methodology.md for derivations):

daily_quality       = 0.35 * form_score + 0.40 * matchup_score + 0.25 * opportunity_score
streamability_score = 0.40 * qs_probability + 0.30 * k_ceiling + 0.30 * (100 - era_whip_risk)
regression_index    = clamp((xwOBA - wOBA) * 500, -100, +100)

Action thresholds (feed to lineup-optimizer / streaming-strategist):

SignalSTART / STREAMNeutralSIT / FADE
daily_quality (hitter)>= 6045-59< 45
streamability_score (SP)>= 7055-69< 55
save_role_certainty (RP)>= 7040-69< 40
regression_index>= +25 (buy)-24..+24<= -25 (sell)

Source priority (always try in this order):

NeedPrimaryFallback
ProjectionsFanGraphs ATCSteamer, ZiPS, FantasyPros
Statcast / xwOBA / xERABaseball Savant-- (no substitute)
Lineup / probable SPMLB.comRotoWire, FanGraphs Roster Resource
Park factorFanGraphs park factorsBaseball-Reference park factors
WeatherRotoWire weather forecastGoogle weather + MLB.com game page
Closer depthRotoBaller closer chartsPitcher List, Closer Monkey
Two-start weekFantasyPros two-start plannerFanGraphs probables grid

Key resources:

Inputs required:

  • Player name (exact, with team abbreviation if ambiguous, e.g., "Will Smith (LAD)")
  • Player's MLB team (3-letter abbr)
  • Today's opponent SP (if known; otherwise skill will web-search MLB.com probables)
  • Today's park / weather (from matchup-analyzer signal file if available)

Outputs produced:

  • signals/YYYY-MM-DD-player-<lastname>-<firstinitial>.md (one file per player analyzed per day)
  • Populated with all hitter or pitcher signals per signal-framework.md
  • Body includes plain-English translation for the end user

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.45%
按下载量换算21

Claude

31.04%
按下载量换算20

Cursor

18.89%
按下载量换算12

Gemini CLI

8.65%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills