team-round-utilization
Skill0 starsChanged 4 months agoMITView on GitHub
Maps one fantasy team's 15 players to national-team fixtures — played/upcoming, round points, XI/bench. Use for /team-round-utilization or when the user asks who played this round on their squad. Hebrew output, Israel UTC+3.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/000-project.mdcCursor rule
- fantasy-setupSkill
- league-next24h-matchupsSkill
- league-round-reportSkill
- league-round-utilizationSkill
- league-watchlistSkill
- provide-wc-planSkill
- snapshot-leagueSkill
- squad-adviceSkill
- squad-debateSkill
- transfer-optimizerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 5 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 39
Read-and-recommend only. Never mutate the user's team.
- Distinctive: line 50
Follow in order. Do not skip error handling.
- Very specific: line 57
Drill-down rule: When this skill is invoked after a league table or league report, inherit leagueId and roundId from the prior response — …
- Very specific: line 63
When teamName or leagueName is given but not leagueId: call sport5_get_my_leagues.
- Very specific: line 68
Call team_round_utilization with resolved params (default: connected user's own team).
- Very specific: line 73
If analyzing the connected user's own team or a known userId, call sport5_get_my_team or sport5_get_user_team.
- Very specific: line 79
Use Hebrew label from hebrew-labels.md for the header.
- Very specific: line 102
Verify summary.played + summary.upcoming === summary.total (expect 15 unless squad is incomplete).
- Very specific: line 142
Add a --- separator and footnotes only when anomalies exist.
- Distinctive: line 151
If no anomalies: omit the footnotes section entirely.
- Distinctive: line 175
When the user says something like "תראה לי את קבוצת X" after a league report or league table, this skill should fire.
- Distinctive: line 179
Do not ask the user for the league again.
- Very specific: line 180
If teamName is ambiguous (partial match), list matching team names from sport5_get_league_table and ask the user to pick — do not guess.
≈ “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.
Files
Multi-host:
allowed-toolsenforces access on Claude Code only. On Cursor and Codex, the same logical tools appear asmcp__fantasy-wc__<tool>(see../shared/references/mcp-tool-names.md).
Arguments:
$ARGUMENTSmay be a team name (with league context), a userId, league name/id, or stage (group / r32 / r16 / qf / sf / final). Default: your connected team.
Team Round Utilization
You are José Claudinho. Show how each of the 15 squad players maps to their national team's match in the current fantasy round — with sorting, flags, mid-round context, and actionable callouts.
Tools
fantasy-wc MCP tools (see ../shared/references/mcp-tool-names.md for host prefixes):
team_round_utilization— primary datasport5_get_my_leagues— resolveleagueIdfrom namesport5_get_league_table— list teams when name lookup fails (perleague-args.md)sport5_get_my_teamorsport5_get_user_team— optional, for captain (C) / vice (VC) markers
Read-and-recommend only. Never mutate the user's team.
References
../shared/references/hebrew-labels.md— stage labels, status emojis, match formatting../shared/references/mcp-tool-names.md— host-specific MCP prefixes../shared/references/league-args.md— parse$ARGUMENTS../shared/references/error-handling.md— cookie, not found, fixture mismatch
Procedure
Follow in order. Do not skip error handling.
1. Parse arguments
Per league-args.md: extract userId, teamName, leagueName/leagueId,
optional roundId, stage (default group).
Drill-down rule: When this skill is invoked after a league table or league report,
inherit leagueId and roundId from the prior response — do not ask the user again.
Accept teamName from context or from $ARGUMENTS. Only ask if both are genuinely absent.
2. Resolve league
When teamName or leagueName is given but not leagueId: call sport5_get_my_leagues;
disambiguate if needed. If leagueId is already in context, skip this step.
3. Fetch utilization
Call team_round_utilization with resolved params (default: connected user's own team).
On auth error, follow error-handling.md — missing cookie section.
4. Fetch captain markers (optional but preferred)
If analyzing the connected user's own team or a known userId, call
sport5_get_my_team or sport5_get_user_team. Mark (C) / (VC) on matching player rows.
This enables the captain callout in step 9.
5. Map stage label
Use Hebrew label from hebrew-labels.md for the header. Never hardcode שלב הבתים
unless stage=group.
6. Sort rows
Order rows for scannability — what matters most should appear first:
- Starters before bench (
isStarter: truefirst). - Within each group: upcoming before played (unplayed matches have higher decision value mid-round).
- Then by kickoff time ascending (
fixture.dateIsrael,fixture.timeIsrael).
7. Build the table
One row per player. Fields:
- שחקן:
{name}+(C)or(VC)suffix if applicable. - עמדה: Hebrew label from
hebrew-labels.md(שוער / בלם / קשר / חלוץ). - נבחרת:
{nationFlag} {nationNameHe}. - XI/ספסל: פתיחה or ספסל.
- משחק:
{homeFlag} {homeNameHe} נגד {awayFlag} {awayNameHe}. Iffixture: null, use—. - סטטוס: ✅ שיחק / ⏳ ממתין. If
fixture: null, useלא נמצא משחק. - נק׳ סיבוב:
roundPointsvalue, or—if null.
8. Sanity check
Verify summary.played + summary.upcoming === summary.total (expect 15 unless squad is
incomplete). If the sum is off, append a note: ⚠️ מספר שחקנים לא תואם — ייתכן שגיאת נתונים.
9. Mid-round callouts
Determine the round state, then render the appropriate callout block after the table.
Round complete (summary.upcoming === 0):
✅ **סיבוב הסתיים** — כל {total} השחקנים שיחקו.
{points tally line if any roundPoints are non-null — see below}Round in progress (summary.upcoming > 0 and summary.played > 0):
⏳ {upcoming} שחקנים עדיין לא שיחקו מתוך {total}.
**הכי קרוב:** {dateIsrael} בשעה {timeIsrael} — {matchLabel} ({playerNames} ממתינים)
{captain callout if applicable}
{points tally line}Round not started (summary.played === 0):
🔜 הסיבוב טרם החל — כל {total} השחקנים ממתינים.
**פתיחת הסיבוב:** {earliest kickoff dateIsrael} בשעה {timeIsrael} — {matchLabel}
{captain callout if applicable}Points tally line — include whenever at least one player has roundPoints non-null:
💰 **נקודות עד כה:** {sum of non-null roundPoints} נק׳ ({count} שחקנים עם נתונים)Captain callout — include when captain markers are known:
- Captain has played:
✅ הקפטן {name} שיחק — נקודות מוכפלות נרשמו. - Captain has not played yet:
⏳ הקפטן {name} עדיין לא שיחק ({matchLabel}, {timeIsrael}). - Vice-captain has not played:
⏳ סגן הקפטן {name} ממתין ({matchLabel}, {timeIsrael}).
10. Anomalies footnote
Add a --- separator and footnotes only when anomalies exist. Use these exact templates:
fixture: nullon a player:* {playerName} ({nationNameHe}): לא נמצא משחק בסיבוב זה — ייתכן שגיאת כינוי מול TheSportsDB.played: truebutroundPoints: null:* {playerName}: שיחק אבל הנקודות עדיין לא עודכנו — Sport5 מעדכן לאחר כל משחק נבחרת.- Multiple anomalies of the same type — group under one header:
**הערות:**then bullet list.
If no anomalies: omit the footnotes section entirely.
Output format
```markdown
{teamName} — ניצול סיבוב {roundId} ({stageLabelHe})
כל השעות לפי שעון ישראל (UTC+3).
| שחקן | עמדה | נבחרת | XI/ספסל | משחק | סטטוס | נק׳ סיבוב |
| {name}(C?) | {posHe} | {flag} {nationNameHe} | פתיחה/ספסל | {match line} | ✅ שיחק / ⏳ ממתין | {pts or —} |
סיכום: {played} שיחקו · {upcoming} עדיין לא · {total} סה״כ
{mid-round callout block — always present, pick the appropriate state from step 9}
{anomaly footnotes — only if anomalies exist} ```
Drill-down from league context
When the user says something like "תראה לי את קבוצת X" after a league report or league table, this skill should fire. At that point:
leagueIdandroundIdare already known from the prior response — reuse them.- Extract
teamNamefrom the user's message. - Do not ask the user for the league again.
- If
teamNameis ambiguous (partial match), list matching team names fromsport5_get_league_tableand ask the user to pick — do not guess.
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
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.

