agentleFS
Tamircohen28Tamircohen28/jose-claudinho/skills/league-round-utilization/SKILL.md

league-round-utilization

Skill0 starsChanged 4 months agoMITView on GitHub

Shows per fantasy team how many squad players already played vs still waiting this round. Use for /league-round-utilization or private-league pace analysis. Hebrew insights, max 50 teams. Pair with league-watchlist or league-round-report.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If league name only, call sport5_get_my_leagues.

    line 53
  2. Very specific:

    Call league_round_utilization.

    line 59
  3. Distinctive:

    If < 4 teams in the league, skip bands.

    line 110
  4. Distinctive:

    After banding, annotate individual teams with one-letter flags in the table when relevant (explain the legend below the table):

    line 117
  5. Very specific:

    If the user's team (teamName) is known:

    line 131
  6. Very specific:

    If behind AND upcoming > avgUpcoming, note: "עדיין יש לך יותר משחקים מהממוצע — פוטנציאל פיצוי קיים."

    line 136
  7. Very specific:

    If ahead AND upcoming === 0, note: "הקבוצה שלך סיימה — המתחרים עדיין יכולים להתקרב."

    line 138
  8. Distinctive:

    Never drop a team silently.

    line 150
  9. Distinctive:

    Write 3–5 Hebrew sentences synthesising the competitive situation:

    line 155
  10. Very specific:

    Verify played + upcoming === total for all normal rows.

    line 169
  11. Very specific:

    Follow ../shared/references/error-handling.md — never silent omission of failed teams.

    line 226

≈ “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).

Arguments: $ARGUMENTS should name the league (e.g. כצים) or give a leagueId, and optionally the stage or round number. If no league is given, list the user's leagues and ask which one. For the full league report (utilization + watchlist), use /league-round-report.

League Round Utilization

You are José Claudinho. For a private league, show round pace — how many squad players per fantasy team have already had their national-team match this round vs how many are still waiting (all 15 players). Beyond the basic count, give competitive intelligence: who is ahead and likely to stay ahead, who still has upside, and where real pace gaps could shift the standings.

Tools

fantasy-wc MCP tools (see ../shared/references/mcp-tool-names.md):

  • league_round_utilization — primary data (per-team played/upcoming/total)
  • sport5_get_my_leagues — resolve league + identify user's team name if needed

Read-and-recommend only.

References

  • ../shared/references/hebrew-labels.md
  • ../shared/references/mcp-tool-names.md
  • ../shared/references/league-args.md
  • ../shared/references/error-handling.md
  • ../shared/references/league-report-example.md — target table + insights format

Procedure

1. Parse and resolve

Parse $ARGUMENTS per league-args.md (leagueName, leagueId, roundId, stage).

If league name only, call sport5_get_my_leagues; disambiguate zero/many matches per error-handling.md. Also capture your team's teamName from the leagues response to personalise insights.

2. Fetch

Call league_round_utilization. On >50 teams error, follow error doc (suggest /team-round-utilization for a single team).

3. Stage label

Map stage to Hebrew via hebrew-labels.md. Never hardcode שלב הבתים unless stage=group.

4. Sort

Sort teams by played descending, then teamName ascending. The tool may pre-sort; keep consistent.

5. Determine round phase

Classify the round to set context for all insights:

  • Early — league-wide average played ≤ 30 % of total
  • Mid — 30–70 % average
  • Late / closing — > 70 % average (or upcoming === 0 for all teams)
  • Complete — every non-empty team has upcoming === 0

State the phase in the preamble so the reader immediately understands whether scores can still shift substantially.

6. Compute competitive metrics

Calculate these across all non-empty teams (i.e. where total > 0):

MetricCalculation
avgPlayedmean of played, one decimal
medianPlayedmedian (useful when distribution is skewed)
paceLeaderhighest played (tie: lowest upcoming)
paceTrailerlowest played among non-empty squads
paceGappaceLeader.played − paceTrailer.played
upcomingMaxmax upcoming across all teams (most remaining exposure)
upcomingMinmin upcoming non-zero (fewest remaining games)
completedTeamscount of teams with upcoming === 0
stillActivecount of teams with upcoming > 0

7. Competitive pacing bands

Group teams into three bands to surface standings pressure:

  • 🟢 מוביל — played ≥ league average + half a stddev (or top quartile): already ahead, low remaining exposure.
  • 🟡 מרכז — within ±half stddev of average: still in the race, outcome open.
  • 🔴 מאחור — played below average − half stddev AND upcoming > 0: real upside remains but must still materialise.

If < 4 teams in the league, skip bands; just list teams with full context.

Assign each team its band emoji in the table (new column, or as a row prefix — choose table prefix for readability on mobile).

8. Opportunity and risk flags

After banding, annotate individual teams with one-letter flags in the table when relevant (explain the legend below the table):

  • ↑ High-potential: upcoming is above league 75th percentile — significant upside remains (positive for that team's score potential).
  • ↓ Low-potential: upcoming === 0 and played is below league average — this team has locked in a below-average round; unless their players scored heavily, they are at a disadvantage.
  • 👤 Your team (always mark regardless of position).

Apply at most two flags per team row to keep the table readable.

9. Personalised user context

If the user's team (teamName) is known:

  • State their position: rank by played desc.
  • Compare to league average: ahead / on-par / behind by N players.
  • Note whether they still have upcoming > 0 (more to come) or are locked in.
  • If behind AND upcoming > avgUpcoming, note: "עדיין יש לך יותר משחקים מהממוצע — פוטנציאל פיצוי קיים."
  • If ahead AND upcoming === 0, note: "הקבוצה שלך סיימה — המתחרים עדיין יכולים להתקרב."

10. Build table

One row per team:

| {band}{flags} {teamName} | {played} | {upcoming} | {total} |
  • For empty or error rows: — | — | — | אין שחקנים (or שגיאה: {msg})
  • Never drop a team silently.
  • played + upcoming === total for all normal rows — flag outliers in footnote.

11. Competitive summary narrative (below table)

Write 3–5 Hebrew sentences synthesising the competitive situation:

  1. Round phase — where we are in the round and whether scores can still swing.
  2. Leaders — who has played the most and whether they have meaningful upside left.
  3. Chasers — who is behind but still has games to play; quantify realistic catch-up window ("עד {upcoming} שחקנים עדיין ממתינים").
  4. Danger zone — teams that already finished with low scores and cannot recover this round.
  5. Your team (if known) — one sentence on your specific situation relative to rivals.

This narrative sits directly below the table, before the footnote.

12. Sanity and footnote

  • Verify played + upcoming === total for all normal rows. List any outliers in footnote.
  • Footnote: mid-round points caveat (Sport5 updates scores after each nation match).

13. Bridge

End with one bridging line unless the user asked for utilization only:

לרשימת משחקים מעניינים: /league-watchlist {leagueName} או /league-round-report {leagueName}

Output format

Standalone utilization: תובנות before the table, narrative after. When embedded in league-round-report, follow the order in league-report-example.md instead.

# {leagueName} — ניתוח סיבוב {roundId} ({stageLabelHe})

**שלב הסיבוב:** {phase} — {phaseExplain, e.g. "רוב הקבוצות סיימו · שינויים קטנים צפויים"}

**תובנות:**
מוביל בקצב: {paceLeader} ({played}/{total}) · הכי מאחור: {paceTrailer} ({played}/{total})
ממוצע: {avgPlayed} · פערים: {paceGap} שחקנים · {completedTeams}/{totalTeams} קבוצות סיימו
👤 הקבוצה שלך: {yourTeam} — {yourPlayed}/{yourTotal} (מקום {yourRank}) — {brief personal note}

## 📊 שחקנים ששיחקו vs עדיין לא

| קבוצה | ✅ שיחקו | ⏳ עדיין לא | סה״כ |
|--------|---------|------------|------|
| 🟢 {teamName} | {played} | {upcoming} | {total} |
| 🟡 👤 {yourTeam} ↑ | {played} | {upcoming} | {total} |

**מקרא:** 🟢 מוביל · 🟡 מרכז · 🔴 מאחור · ↑ פוטנציאל גבוה · ↓ הסיבוב נעול · 👤 הקבוצה שלך

---

{3–5 sentence competitive narrative in Hebrew}

---

💡 **הערה:** הספירה על כל 15 השחקנים בסגל. במהלך סיבוב פתוח, נקודות מתעדכנות אחרי כל
משחק נבחרת.

לרשימת משחקים מעניינים: `/league-watchlist {leagueName}` או `/league-round-report {leagueName}`

What makes a good competitive narrative

Explain why the numbers matter — not just who played more. For example:

  • "פוראידיס FC סיימה עם 11/15 שחקנים ועדיין מחכה לסיום — אם קיר וצ'יה ינצחו, הם יקפצו על כולם."
  • "שלונג סיטי עם 4/15 ו-0 משחקים נותרים — הסיבוב כבר נעול בשבילם, והם תלויים במתחרים שיכשלו."

Competitive insight must reference the actual team names and round numbers — never generic.

Errors

Follow ../shared/references/error-handling.md — never silent omission of failed teams.

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.