Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

wc-player-ev

БесплатноБез исполняемых скриптовНе проверен

Computes one player's expected FIFA World Cup Fantasy points for a single round (xEV) from a scout signal — folding start probability, the 60-minute…

lyndonklот lyndonkl★ 208 звёзд на GitHub

Об этом скилле

wc-player-ev — the atomic expected-points unit

Implements the xEV(player) formula defined in footballfantasy/context/frameworks/scoring-rules.md. Everything in this system that talks about a player's value — a strategist weighting a pick, the captain ladder sampling a candidate's distribution, wc-fitness-eval summing raw_xEV — ultimately samples the number this skill produces. So it has one job and must do it precisely: turn a scout signal (minutes model, npxG/xA, set-piece duty, card/rotation/injury risk) plus the round's fixture and clean-sheet signals into a player's expected points for this round, with the decomposition exposed so downstream agents reason about why, not just how much.

Two properties dominate every other term and must never be smoothed over:

  1. The 60-minute cliff. The appearance tier is a step function, not linear in minutes — 59' and 60' are one point apart, and nearly every defensive/clean-sheet return requires the 60' threshold. A nailed-on starter banks this floor; a rotation risk's whole distribution shifts down and widens. Minutes security is the single biggest EV driver after goals.
  2. The penalty / set-piece premium. A confirmed penalty taker and primary set-piece deliverer carries a structurally higher xG/xA than open-play numbers alone imply. This premium is large, position-agnostic, and must be surfaced explicitly (it is a top-3 focus on the FIFA strategy ladder and the reason a mid-price pen-taker often out-EVs a pricier non-taker).

This skill is the floor-and-ceiling factory. It does not decide captaincy (that sequencing belongs to wc-captain-ladder, which samples the per-player distribution this skill emits), does not score rank-relative fitness (that belongs to wc-fitness-eval), and does not derive its own clean-sheet probability or fixture difficulty (those are upstream signals — read them, never recompute).

When to invoke

  • wc-scout chains into it to attach an EV to a player it has just profiled.
  • Any wc-strategist genotype calls it per candidate player and then re-weights the output by genotype (A2 multiplies appeal by low-ownership leverage; A5 maximises the floor term; A4 leans on the fixture-scaled attacking terms against a weak opponent). The skill returns a neutral xEV; the archetype tilt happens in the caller.
  • wc-matchday-tactician calls it for XI/bench ordering and to feed the captain ladder the distributions it sequences.
  • wc-fitness-eval consumes the emitted player-ev signals as raw_xEV inputs — it must read them, not re-derive.

Workflow

- [ ] 1. Read the scout signal for this player+round (start_prob, p60, npxg90, xa90, setpiece_share, pen_taker, rotation_risk, injury, suspension, minutes_model). DO NOT re-scout.
- [ ] 2. Read the round fixture signal (opponent strength / mismatch) and the clean-sheet signal (p_cs, expected_ga for the player's team). DO NOT recompute them.
- [ ] 3. Confirm scoring-rules.md point values: is `confirmed: true`? If not, set a provisional flag — relative ordering holds, absolute magnitudes carry a calibration caveat.
- [ ] 4. Resolve the minutes projection: expected_minutes from minutes_model; derive minutes_factor (= proj_min / 90) and the two appearance probabilities (P(plays), P(plays60+)).
- [ ] 5. Scale attacking output: xG_adj = npxg90 × minutes_factor × fixture_mult; xA_adj = xa90 × minutes_factor × fixture_mult. Add the penalty/set-piece premium into xG_adj/xA_adj where the scout confirms the duty.
- [ ] 6. Compute each EV term with the position-specific lambdas (goal weights GK10/DEF6/MID5/FWD4; cs weights GK4/DEF4/MID1/FWD0; etc.).
- [ ] 7. Sum to xEV. Build the decomposition (one line per term, signed).
- [ ] 8. Estimate variance, ceiling (P90-ish best realistic line), floor (P10-ish — usually the no-60'/blank line).
- [ ] 9. Set confidence: cap at 0.35 if minutes are unconfirmed or any load-bearing fact is web-unconfirmed; cap provisional if step 3 failed.
- [ ] 10. Emit the `player-ev` signal via wc-signal-emitter. Return its path.

The method

The formula (verbatim from scoring-rules.md, with the terms specified)

xEV(player) =   P(plays)        · appearance_tier_EV        # the 1–59' floor
              + P(plays 60+)     · minutes_bonus             # the 60' cliff (step, not ramp)
              + λ_goal(pos)      · xG_adj                    # fixture- & minutes-scaled npxG (+ pen/SP premium)
              + λ_assist         · xA_adj                    # fixture- & minutes-scaled xA  (+ SP-creation premium)
              + λ_cs(pos)        · P(clean sheet | fixture)  # GK/DEF/MID only — needs 60'
              + λ_save           · expected_saves            # GK only
              + λ_defact         · P(def-actions threshold)  # DEF / ball-winning MID
              + λ_setpiece       · set_piece_share           # residual premium not already in xG_adj/xA_adj
              − λ_card           · card_risk                 #
Полный SKILL.md на GitHub

Установить wc-player-ev в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл wc-player-ev?

Computes one player's expected FIFA World Cup Fantasy points for a single round (xEV) from a scout signal — folding start probability, the 60-minute appearance cliff, fixture-and-minutes-scaled npxG/xA, clean-sheet and defensive-action floors, the penalty/set-piece premium, and the card/concede downside into one number plus its full decomposition, variance, ceiling, and floor. This is the atomic EV unit the whole system samples from. Use whenever a single player's per-round point distribution is needed — called by wc-scout, every wc-strategist genotype, wc-matchday-tactician, and wc-fitness-eval (which sums these into raw_xEV). Reads the scout signal; never re-scouts. Emits a player-ev signal.

Как установить скилл wc-player-ev?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл wc-player-ev запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить wc-player-ev с