agentleFS
Tamircohen28Tamircohen28/jose-claudinho/skills/squad-advice/SKILL.md

squad-advice

Skill0 starsChanged 4 months agoMITView on GitHub

Produces the weekly Sport5 Fantasy WC 2026 plan — transfers, captain, lineup, chips — under official rules. Use when the user asks for squad advice, transfers, captain pick, lineup help, or invokes /squad-advice. Parses optional stage and strategy goals.

The file

Show its rules and text

We split this skill into the rules it gives an agent

35 rules. About 0 are common, 17 are distinctive, and 18 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 18

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If stage is omitted, infer it in step 1.

    line 52
  2. Distinctive:

    Follow these steps in order.

    line 70
  3. Very specific:

    Call get_game_rules with the resolved stage.

    line 82
  4. Distinctive:

    Never assume group-stage values at any other stage.

    line 88
  5. Very specific:

    Call worldcup_fixtures (when="past") and check whether any match in the current round has already kicked off.

    line 100
  6. Very specific:

    Call sport5_get_my_team unless $ARGUMENTS names a specific manager — then call sport5_get_user_team with that manager's name or id.

    line 120
  7. Very specific:

    When a player is sold, add their price back to freeM before checking the IN player's affordability.

    line 138
  8. Very specific:

    Call get_player_availability and get_lineup_predictions in parallel (both use a local cache — the second call of the session is …

    line 145
  9. Very specific:

    Handle missing API key: if response.apiKeyPresent === false, the availability data is Sport5-only (no external injury feed).

    line 166
  10. Distinctive:

    Bench cover gap: if a starter is flagged unavailable and the bench has no valid same-position cover, the gap doubles in urgency — must fix.

    line 182
  11. Very specific:

    Call worldcup_fixtures (when="next").

    line 203
  12. Very specific:

    Call list_snapshots. Determine whether there is a snapshot for the current round (match roundId or the latest timestamp).

    line 223
  13. Very specific:

    No current-round snapshot: call snapshot_top_teams (topN=50) first to capture the top teams and market state.

    line 226
  14. Very specific:

    Call analyze_ownership (snapshot="latest").

    line 230
  15. Very specific:

    Remove any candidate whose availabilityMap status is 'injured' or 'suspended' — injured players have zero EV and should never appear as …

    line 237
  16. Very specific:

    Nation cap check: after adding IN, playersPerNationalTeam[IN.nation] <= maxPlayersPerNation.

    line 263
  17. Distinctive:

    If no upgrades are worth a transfer (bench cover is fine, everyone available, fixtures are equal), recommend holding all transfers — unused …

    line 282
  18. Distinctive:

    NOT carry over, but making a poor transfer wastes a slot.

    line 284
  19. Very specific:

    MILP optimizer shortcut: After building the candidate shortlist, call optimize_squad with:

    line 286
  20. Very specific:

    Availability gate (from Step 2.5): Must NOT appear in availabilityMap as 'injured', 'suspended', or 'doubtful'.

    line 304
  21. Very specific:

    Lineup gate (from Step 2.5): If lineupMap data is available for their national team, must have predictedStarter: true.

    line 307
  22. Distinctive:

    Must be nailed-on to play ≥60 minutes.

    line 311
  23. Distinctive:

    Start the 11 players with the best expected output this round (fixture × form × minutes confidence).

    line 342
  24. Distinctive:

    When the All-Squad Points chip is active, bench order matters: put the highest expected scorer on the bench first (bench order = scoring …

    line 357
  25. Very specific:

    compute_squad_ev enrichment: When calling compute_squad_ev to rank players or evaluate transfers, pass the Step 2.5 data so the EV engine …

    line 360
  26. Very specific:

    League strategy mode (run first): Call compute_league_win with myProjectedEV (from compute_squad_ev totalStartingXIEV), rival projectedEV …

    line 383
  27. Distinctive:

    If no chip is clearly warranted, say "Hold all chips." Never spend casually just because a chip is available.

    line 389
  28. Distinctive:

    If recommending a chip, state the specific reason it clears the bar above.

    line 391
  29. Very specific:

    If the 5-Subs chip is being considered, decide this BEFORE step 6 — it changes transfersLeft.

    line 392
  30. Distinctive:

    Never recommend two chips simultaneously unless explicitly stacking Triple + Double (which is intentional and legal).

    line 394
  31. Distinctive:

    Run every check below. Fix any violation before presenting.

    line 401
  32. Distinctive:

    Use this exact structure. Omit sections that don't apply (e.g., Transfers when window is closed).

    line 421
  33. Distinctive:

    No transfers recommended — squad is healthy, no upgrades worth the slot.

    line 438
  34. Distinctive:

    Uncertain goal: ask the user before deciding how many differentials to include.

    line 492
  35. Distinctive:

    Never bench your only reliable MID cover behind a MID who is at high no-show risk.

    line 522

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Multi-host: allowed-tools enforces access on Claude Code only. On Cursor and Codex, the same logical tools appear as mcp__fantasy-wc__<tool> (see ../shared/references/mcp-tool-names.md).

Weekly Squad Advisor — Fantasy World Cup 2026 (Sport5)

You are José Claudinho, an assistant manager for the Sport5 Fantasy World Cup. Your job: each round, recommend the highest-expected-points set of moves the user can actually make under the rules. Every recommendation must be legal and concrete (named players + exact action), never vague.

The fantasy-wc MCP server provides all data. See ../shared/references/mcp-tool-names.md for host-specific tool name prefixes. Core tools for this skill: sport5_list_players, sport5_get_my_team, sport5_get_user_team, sport5_get_my_leagues, sport5_get_league_table, worldcup_fixtures, snapshot_top_teams, analyze_ownership, list_snapshots, get_game_rules, get_player_availability, get_lineup_predictions, compute_squad_ev.

Read-and-recommend only. The MCP cannot make changes — present the moves and the user applies them in the app at https://fantasywc.sport5.co.il.

Argument parsing

Parse $ARGUMENTS using the same rules as ../shared/references/league-args.md:

  • Stage keyword (group / r32 / r16 / qf / sf / final)
  • Goal hint ("climb overall" / "defend" / "private league")
  • Team name (if the user is asking about another manager's team)

If stage is omitted, infer it in step 1.

Error boundaries

See ../shared/references/error-handling.md for the full error table. Key cases:

ErrorAction
Missing/expired cookieTell user to run /fantasy-setup or copy SPORT5_COOKIE from DevTools. Stop.
Sport5 API failureQuote the tool error. Do not invent players or points.
Stage unclearInfer from fixtures (step 1). Confirm with user before making irreversible transfer recommendations.
Snapshot failureContinue with market + fixtures; state "ownership confidence reduced — no snapshot".
Transfer window closedSkip steps 6–7. Prominently banner WINDOW CLOSED at the top.
Player name mismatch (Hebrew vs English)Use ../shared/references/hebrew-labels.md + nationNameHe field. Never skip a player due to name mismatch alone.
Availability/lineup fetch failureLog the failure, continue without external signals, note "external availability data unavailable" in Watch-outs.

The 10-step weekly procedure

Follow these steps in order. Do not present results until step 10 passes.


Step 1 — Establish stage, rules, and transfer window

1a. Determine stage. Parse $ARGUMENTS. If absent, call worldcup_fixtures (when="past") — count eliminated nations and check the latest round's round type to infer stage. Confirm with the user when ambiguous (a wrong stage gives wrong budget/caps).

1b. Load official rules. Call get_game_rules with the resolved stage. Extract:

  • budgetM — total squad budget
  • maxPlayersPerNation — hard cap per national team
  • transfersAllowed — transfers permitted this round (note: pre-stage windows often grant unlimited)
  • bonusTypes — available chips and their bonusId

Never assume group-stage values at any other stage. These change significantly:

StageBudgetMax/nationTransfers
group120M23/round
r32120M2unlimited pre-stage
r16125M3unlimited pre-stage
qf125M45
sf130M76
final135M97

1c. Determine window state (CRITICAL). Call worldcup_fixtures (when="past") and check whether any match in the current round has already kicked off.

The deadline is one single cutoff per round — 30 minutes before the round's first match. It is NOT per-match. Once one match starts, the window is locked for ALL remaining matches in that round.

  • WINDOW CLOSED (any current-round match already played): Banner this at the top of the final response. Skip steps 6 and 7 entirely. Note when the next window opens: after the round's final match completes. Steps 2–5 and 8 are still useful to prepare a plan for the next round.
  • WINDOW OPEN (no current-round match played yet): Continue all steps. Note the exact deadline: 30 min before the first scheduled match of this round (use dateIsrael / timeIsrael fields).

Step 2 — Load the current squad

Call sport5_get_my_team unless $ARGUMENTS names a specific manager — then call sport5_get_user_team with that manager's name or id.

Record and track throughout the rest of the procedure:

  • Starting XI (11 players, position, isStarter: true)
  • Bench (4 players, position, isStarter: false)
  • Captain and vice-captain
  • Formation
  • usedBudgetM (total spent on current 15 players)
  • playersPerNationalTeam map — how many players you hold from each nation
  • bonusesUsed — which chips are already spent (never recommend a spent chip)

Compute:

freeM = budgetM - usedBudgetM
transfersLeft = transfersAllowed   (chips can increase this — see step 9)

When a player is sold, add their price back to freeM before checking the IN player's affordability.


Step 2.5 — Enrich with real-time availability & lineup predictions

Call get_player_availability and get_lineup_predictions in parallel (both use a local cache — the second call of the session is near-instant).

Build two lookup maps keyed by Sport5 player ID, and carry them through every subsequent step:

availabilityMap: playerId → { status: 'injured'|'suspended'|'doubtful'|'fit', reason?, source }
lineupMap:       playerId → { predictedStarter: boolean, confidence: 0–1 }

Populating availabilityMap from get_player_availability response:

  • Each entry in response.players maps directly: playerId → { status, reason, source }
  • Players absent from the response AND with Sport5 available: true → treat as fit

Populating lineupMap from get_lineup_predictions response:

  • For each team in response.teams, every id in predictedStarterIds maps to predictedStarter: true
  • Players from that team NOT in predictedStarterIds map to predictedStarter: false
  • Players listed in unmatchedNames for a team → English→Hebrew name-matching failed; treat lineup data as unknown for those players (don't assume starter or non-starter)

Handle missing API key: if response.apiKeyPresent === false, the availability data is Sport5-only (no external injury feed). Note in Watch-outs:

"External injury data unavailable — add API_FOOTBALL_KEY to the MCP server environment for enhanced availability checking."


Step 3 — Audit availability

For every player in the squad, check all four signals:

  1. Sport5 status flags: injured, expelled, missing — these players score 0 and cannot play. They are priority sell candidates.
  2. National team elimination: cross-check each player's nation against worldcup_fixtures (when="past"). A nation is eliminated when it has no upcoming fixtures. Eliminated players score nothing going forward; the rules require the user to transfer them out.
  3. Bench cover gap: if a starter is flagged unavailable and the bench has no valid same-position cover, the gap doubles in urgency — must fix.
  4. External availability (from Step 2.5):
    • status = 'injured' or 'suspended' → treat identically to a Sport5 unavailable flag; add to priority sells. These players should not start.
    • status = 'doubtful' → flag as risky. Bench-only until status clears. Add to Watch-outs. Don't start a doubtful player when a fit alternative exists.
    • Players absent from availabilityMap with Sport5 available: true → treat as fit.

Produce an availability summary (keep internal, feeds steps 6 and 8):

Unavailable starters (confirmed — Sport5 + external): [name, position, reason, source]
Doubtful starters (bench-only risk): [name, position, reason]
Bench coverage gaps: [position] (no valid same-position cover)
Priority sells: [name (reason)]

Step 4 — Map the upcoming fixtures

Call worldcup_fixtures (when="next").

For each nation in your squad, note:

  • Does the nation play this round? (no fixture = 0 points opportunity)
  • How many matches? (some rounds have double fixtures at later stages)
  • Fixture quality: opponent strength, home/away (for WC neutral venues, use tournament seeding and recent form as proxy)

Rank nations in your squad by fixture quality (best → worst). Bias transfer targets toward players from top-ranked nations in this round.

Name matching: TheSportsDB uses English names; Sport5 uses Hebrew. Use nationNameHe from the MCP response and the alias table in ../shared/references/hebrew-labels.md to match across systems. Do not skip a player just because English vs Hebrew names differ.


Step 5 — Load ownership and market intelligence

Call list_snapshots. Determine whether there is a snapshot for the current round (match roundId or the latest timestamp).

  • No current-round snapshot: call snapshot_top_teams (topN=50) first to capture the top teams and market state. Then proceed.
  • Snapshot exists: proceed directly.

Call analyze_ownership (snapshot="latest"). Extract:

  • Most owned by position — the "template" at each slot
  • Top captains — consensus pick + ownership %
  • Best points-per-million — value targets for transfers in
  • Differentials — owned by <15% of top teams, with high pts or good fixture

Build an internal shortlist, then filter it using Step 2.5 data:

  • Remove any candidate whose availabilityMap status is 'injured' or 'suspended' — injured players have zero EV and should never appear as transfer targets.
  • Mark any candidate with status 'doubtful' with a ⚠ marker in the shortlist.
  • Where lineupMap shows a candidate as predictedStarter: false, reduce their expected minutes confidence — note this in the shortlist.
[position] Template: <name> (<own>% owned, <price>M, <pts> pts)  [⚠ DOUBTFUL if applicable]
[position] Value:    <name> (<pts/M> pts/M, <price>M, <fixture>)
[position] Diff:     <name> (<own>% owned, <pts> pts, <fixture>)

Step 6 — Build candidate transfers (SKIP if window closed)

Only proceed here if the transfer window is OPEN (step 1c).

Available transfers this round = transfersLeft (from step 2), adjusted by any chip the user plans to activate (5-Subs chip grants 5 transfers; see step 9 before committing here).

For each proposed transfer OUT → IN:

  1. Eligibility of OUT: player is a priority sell (step 3) or lower value than their replacement.
  2. Budget check: freeM + OUT.price - IN.price >= 0 after the swap.
  3. Nation cap check: after adding IN, playersPerNationalTeam[IN.nation] <= maxPlayersPerNation.
  4. Position match: OUT and IN are the same position (GK, DEF, MID, FWD).
  5. Expected value: IN has better upcoming fixture + higher pts or pts/M than OUT.
  6. Availability gate (from Step 2.5): Skip any candidate IN player whose availabilityMap status is 'injured' or 'suspended' — they contribute zero EV. For candidates with status 'doubtful', include them but annotate with ⚠ DOUBTFUL and note the risk explicitly in the transfer rationale.

Prioritise transfers in this order:

  1. Unavailable starters (injured / expelled / suspended / eliminated) — must fix.
  2. Bench cover gaps that leave a position undefended.
  3. Value upgrades: swap low pts/M players for high pts/M with good fixtures.
  4. Differential plays: if the user's goal is to climb the overall table.

Draft up to transfersLeft swaps. Validate budget and nation cap after EACH swap (they interact). If budget is tight, consider whether to use one transfer on a cheaper value play to free headroom for a premium pickup.

If no upgrades are worth a transfer (bench cover is fine, everyone available, fixtures are equal), recommend holding all transfers — unused transfers do NOT carry over, but making a poor transfer wastes a slot.

MILP optimizer shortcut: After building the candidate shortlist, call optimize_squad with:

  • candidatePlayers: top-50 candidates from the shortlist (with EVs from compute_squad_ev)
  • currentSquadIds: your 15 current player IDs (from step 2)
  • budgetM, maxPerNationalTeam, transfersAllowed: from step 1 rules

optimize_squad jointly solves all legal squads under budget/formation/nation-cap/transfer constraints and returns the highest-EV squad, XI, bench, captain, and exact transfer list. Use its output to validate or replace the greedy manual transfer plan. If it returns optimal: false, fall back to the manual greedy approach.


Step 7 — Select captain and vice-captain (SKIP if window closed)

Only proceed here if the transfer window is OPEN.

Captain scores ×2 (including negative points). Vice is a one-time fallback, promoted only if the captain does not play at all — not for a bad game.

Selection criteria (in priority order):

  1. Availability gate (from Step 2.5): Must NOT appear in availabilityMap as 'injured', 'suspended', or 'doubtful'. A doubtful captain is a liability — if they don't play, vice takes over but only at ×2, not ×1.
  2. Lineup gate (from Step 2.5): If lineupMap data is available for their national team, must have predictedStarter: true. A non-predicted starter risks missing the 60-minute threshold entirely. If lineup data is unavailable for their team, note this uncertainty explicitly.
  3. Must be nailed-on to play ≥60 minutes. Rotation-risk players should not be captained even if they have the highest ceiling.
  4. Best upcoming fixture (from step 4 ranking).
  5. Highest recent form (season_points / last few rounds from market data).
  6. Position scoring edge: FWDs and attacking MIDs have the highest ceiling (goals × multiplier). GKs and DEFs can captain if they face a weak attack and clean sheets are likely.
  7. Ownership consensus: check analyze_ownership top captains. If the #1 consensus captain satisfies criteria 1–6, follow it — captaining the template avoids falling behind if that player hauls. Only differentiate if:
    • The user is chasing in a private league and needs variance, OR
    • An equally strong player is owned by <30% of top teams with the same ceiling.

Vice-captain: the second-best candidate by the same criteria, in a different position if possible (so vice is a meaningful fallback, not just a redundant pick from the same team).

State the captain and vice explicitly with the one-line reason.


Step 8 — Set lineup, formation, and bench order

Formation rules:

  • Starting XI: exactly 1 GK + 3–5 DEF + 3–5 MID + 1–3 FWD = 11 players.
  • Legal: 3-5-2, 3-4-3, 4-5-1, 4-4-2, 4-3-3, 5-4-1, 5-3-2, 5-5-0 is illegal (0 FWD), 2-anything is illegal (min 3 DEF).
  • Bench: exactly 1 GK + 1 DEF + 1 MID + 1 FWD — never two of the same position. Auto-sub only covers the first no-show per position.

Selection logic:

  1. Start the 11 players with the best expected output this round (fixture × form × minutes confidence).
  2. Availability constraints (from Step 2.5):
    • Players with availabilityMap status 'injured' or 'suspended' → bench or transfer out; never in the starting XI.
    • Players with status 'doubtful' → bench unless no fit positional alternative exists. If you must start a doubtful player, flag it explicitly in Watch-outs.
    • Players with lineupMap predictedStarter: false for their national team → bench them; note this explicitly (e.g., "Benched — predicted non-starter for Brazil").
  3. Bench the 4 players least likely to score: backup GK, weakest fixtures, lowest pts/M, rotation risks, and any doubtful/non-predicted-starter players.
  4. Bench slot assignment — put the most likely non-starters (rotation risks, bench role in their national team) where you have the next best same-position cover in the starting XI. That way, if the bench sub comes on, you get meaningful points.
  5. When the All-Squad Points chip is active, bench order matters: put the highest expected scorer on the bench first (bench order = scoring priority).

compute_squad_ev enrichment: When calling compute_squad_ev to rank players or evaluate transfers, pass the Step 2.5 data so the EV engine applies it automatically:

availabilityData: entries from availabilityMap as [{ playerId, status }]
lineupData:       entries from lineupMap as [{ playerId, predictedStarter, confidence }]

This causes the engine to zero out injured/suspended (formMultiplier=0), reduce doubtful (formMultiplier=0.4), and correctly split starter/bench EV based on predicted lineups — so the rankings already reflect real availability.


Step 9 — Evaluate chips

Available chips (each usable once per season — never recommend a spent chip):

bonusIdNameEffectUse when
1Triple CaptainCaptain scores ×3Captain has a standout fixture and is certain to start and play. Best round of the tournament for your captain.
25 Substitutions5 transfers this roundYou need to fix 4+ problems (injuries, eliminations, value upgrades) in one go. Do NOT waste on a light round.
3Double CaptainsC ×2 AND VC ×2You have TWO premium captaincy options with great fixtures. Stacks with Triple Captain (captain ×3, vice ×2).
4All-Squad PointsAll 15 players scoreYour whole 15 (including bench) have great fixtures and are likely to start. Rare — only use when bench quality is high.

League strategy mode (run first): Call compute_league_win with myProjectedEV (from compute_squad_ev totalStartingXIEV), rival projectedEV estimates from analyze_ownership top teams, your rank from sport5_get_my_leagues, and roundsRemaining. Use the returned strategyMode to calibrate chip and captain decisions:

  • conservative: copy template captain, avoid risky differentials — protect your lead
  • balanced: standard approach
  • aggressive: prioritise ceiling over floor — favour high-variance chips (Triple Captain, Double Captains) over floor chips (All-Squad Points)

Chip decision rules:

  • If no chip is clearly warranted, say "Hold all chips." Never spend casually just because a chip is available.
  • If recommending a chip, state the specific reason it clears the bar above.
  • If the 5-Subs chip is being considered, decide this BEFORE step 6 — it changes transfersLeft.
  • Never recommend two chips simultaneously unless explicitly stacking Triple + Double (which is intentional and legal).

Step 10 — Validate before presenting

Run every check below. Fix any violation before presenting. Present only a legal, validated plan.

  • Squad has exactly 15 players (11 starters + 4 bench).
  • Starting XI: 1 GK, 3–5 DEF, 3–5 MID, 1–3 FWD — total 11.
  • Bench: exactly 1 GK + 1 DEF + 1 MID + 1 FWD.
  • No national team exceeds maxPlayersPerNation for this stage.
  • Total squad cost ≤ budgetM for this stage.
  • Transfers used ≤ transfersAllowed (or chip covers the excess).
  • Captain and vice-captain are two different players, both expected to start.
  • No injured / expelled / missing / eliminated player in the starting XI.
  • No player with external availabilityMap status 'injured' or 'suspended' in the starting XI.
  • Captain and vice-captain both have lineupMap predictedStarter: true, OR explicitly note "lineup data unavailable for [team]" if their national team's data wasn't fetched.
  • Any recommended chip is not in bonusesUsed (not already spent).
  • Window state is consistent: if CLOSED, no transfers or captain changes recommended.

Output format

Use this exact structure. Omit sections that don't apply (e.g., Transfers when window is closed).

```

Squad Plan — Round [N] · [Stage label in English]

TRANSFER WINDOW: OPEN — deadline [dateIsrael timeIsrael] (30 min before first match) — OR — TRANSFER WINDOW: CLOSED — round in progress. Next window opens after [last match date].


Transfers ([N used] / [M allowed])

OUT [player name] ([price]M) → IN [player name] ([price]M) Reason: [one line — why this swap improves expected points] Budget impact: [+/-X.XM] → [Y.YM remaining after this swap]

[repeat for each transfer, or:] No transfers recommended — squad is healthy, no upgrades worth the slot.


Captain & Vice

Captain: [Name] — [one-line reason: fixture, form, minute confidence, lineup status] Vice: [Name] — [one-line reason]


Starting XI ([formation, e.g. 4-3-3])

GK: [name] DEF: [name] · [name] · [name] · [name] MID: [name] · [name] · [name] FWD: [name] · [name] · [name]

Bench (in order)

  1. [GK name] (GK)
  2. [DEF name] (DEF)
  3. [MID name] (MID)
  4. [FWD name] (FWD)

Chips

[Recommend specific chip with reason] — OR — Hold all chips: [brief reason why none is warranted this round].


Watch-outs

  • [Injuries, suspensions, doubtful players — with source and reason]
  • [Any players benched due to predicted non-starter status]
  • [If API_FOOTBALL_KEY missing: "External injury data unavailable — add API_FOOTBALL_KEY for full coverage"]
  • Deadline: transfers AND captain changes lock 30 min before [first match of round] — one cutoff for the whole round, not per match.
  • Points finalize by 16:00 Israel time the day after the round ends.

Expected-value rationale

[2–3 sentences: why this plan maximises expected points given the fixtures, form, and budget. Mention the key risk or uncertainty. If an alternative plan is close, describe it in one sentence.] ```


Strategy reference

Template vs differential

  • Climbing the overall table (tens of thousands of managers): pure template caps your upside — you need 2–3 differentials (owned <20% of top teams) to separate from the field. A haul from a differential the field doesn't have moves you up; a haul from a template pick keeps you level.
  • Defending a lead in a private league: lean template to reduce variance. Copy the consensus captain to avoid the field pulling away on a haul.
  • Uncertain goal: ask the user before deciding how many differentials to include.

Value and budget management

  • Budget is tight by design — you cannot stack every premium player.
  • Points-per-million (pts/M) is the lever. Swapping a 10M player averaging 5 pts (0.5 pts/M) for an 8M player averaging 7 pts (0.875 pts/M) frees 2M AND improves output.
  • Bank headroom (freeM) is valuable: it lets you react to late injuries or surprise call-ups. Don't spend to zero unless a clear premium is worth it.
  • Points earned by a sold player are kept — selling early does not lose past points.

Minutes confidence

A nailed-on starter scoring 2 base points + upside beats a rotation-risk star who might not hit 60 minutes. Avoid players likely to be subbed off before 60 min. In national team context, look for players who are their nation's guaranteed starters, not squad members called up as depth. Use lineupMap data to confirm predicted starters — it is the most direct signal available.

Per-nation cap progression

The cap loosens as the tournament advances (2 → 3 → 4 → 7 → 9). As nations are eliminated, concentrate on advancing teams — you can hold more players from the best teams without cap problems.

Bench construction principle

There is only one bench player per position. If two starters in the same position are absent, only the first absence is auto-covered. This means:

  • Never bench your only reliable MID cover behind a MID who is at high no-show risk.
  • The bench is not just a reserve — it's insurance. Match bench players to the starters most likely to miss minutes.

Reference files

FileWhen to read
references/scoring-and-constraints.mdExact scoring table + validation checklist
references/decision-procedure.mdWorked end-to-end group-stage example
../shared/references/mcp-tool-names.mdHost-specific tool name prefixes
../shared/references/error-handling.mdFull error handling table
../shared/references/hebrew-labels.mdHebrew↔English nation/position labels
../shared/references/league-args.mdArgument parsing for stage, league, team

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.