league-next24h-matchups
Skill0 starsChanged 4 months agoMITView on GitHub
Shows every World Cup match kicking off in the next 24 hours (Israel time) and which fantasy teams in a private league own players in each game. Use for /league-next24h-matchups or when the user asks "what games are on today/tonight with my league players" or "who in כצים plays tonight".
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/000-project.mdcCursor rule
- fantasy-setupSkill
- league-round-reportSkill
- league-round-utilizationSkill
- league-watchlistSkill
- provide-wc-planSkill
- snapshot-leagueSkill
- squad-adviceSkill
- squad-debateSkill
- team-round-utilizationSkill
- transfer-optimizerSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 52
If no fixtures fall in the window, output:
- Very specific: line 60
Default league: הכצים (id 36127).
- Very specific: line 61
If $ARGUMENTS names a different league, call sport5_get_my_leagues to find it.
- Distinctive: line 83
If a 24h fixture is not in the watchlist (it belongs to the next fantasy round, or simply has no league players), both sides are treated as …
- Very specific: line 105
If a side has no league players: output (no players owned in the league).
- Distinctive: line 106
If one player is owned by multiple fantasy teams, print one line per team.
- Distinctive: line 107
No blank lines between fixtures except the mandatory blank line after the last "For … plays:" block before the next fixture header.
≈ “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).
League Next-24h Matchup Report
Produce a clean matchup list: every WC game kicking off in the next 24 hours (Israel time), annotated with which הכצים (or named) fantasy-league teams own players on each side.
Tools
worldcup_fixtures— upcoming WC fixtures with UTC kickoff timesleague_watchlist— current-round fixtures with fantasy-team player mappingssport5_get_my_leagues— resolve league name → id when not hardcoded
Read-and-recommend only.
Procedure
Step 1 — Get current Israel time
Run via Bash:
TZ=Asia/Jerusalem date +"%Y-%m-%dT%H:%M:%S"Israel is UTC+3 (no DST during the WC). Derive now_IL and cutoff_IL = now_IL + 24h.
Step 2 — Fetch upcoming WC fixtures
Call worldcup_fixtures(when="next", limit=50).
Each fixture has a date (YYYY-MM-DD UTC) and time (HH:MM UTC). Combine them
into an ISO UTC timestamp. Convert to Israel time (+3h). Keep only fixtures where
kickoff_IL is strictly between now_IL and cutoff_IL.
If no fixtures fall in the window, output:
No World Cup matches in the next 24 hours.and stop.
Step 3 — Resolve the league
Default league: הכצים (id 36127).
If $ARGUMENTS names a different league, call sport5_get_my_leagues to find it.
Record the resolved league id as leagueId (defaulting to 36127) and use it for all
subsequent calls in Steps 4 and 7 — never hardcode 36127 once a different league was named.
Step 4 — Fetch league player-fixture mappings
Call league_watchlist(leagueId=<resolved leagueId>, includePlayed=false).
The tool returns fixtures[], each with:
fixture.homeTeam,fixture.awayTeam— English team namesfixture.timeIsrael,fixture.dateIsrael— already in IL timesides— keyed by nationTeamId:sides[id] → { nationNameHe, nationFlag, teams: [{ fantasyTeamName, players: ["name", …] }] }
Step 5 — Match 24h fixtures to watchlist
For each fixture kept in Step 2, find its counterpart in the watchlist by matching
English team names (homeTeam / awayTeam) case-insensitively. Use the matched
entry's sides data for player ownership.
If a 24h fixture is not in the watchlist (it belongs to the next fantasy round, or simply has no league players), both sides are treated as empty.
Step 6 — Output
Print only the formatted list below — no headers, no totals, no extra prose. Fixtures in chronological order by Israel kickoff time.
[HH:MM] <Team A> vs <Team B>:
For <Team A> plays:
<Player Name> - <Fantasy team name>
...
For <Team B> plays:
<Player Name> - <Fantasy team name>
...Rules:
HH:MM= Israel kickoff time. Usefixture.timeIsraelfrom the watchlist when available; otherwise derive from UTC time +3h.<Team A>/<Team B>= English names fromworldcup_fixturesoutput.- If a side has no league players: output
(no players owned in the league). - If one player is owned by multiple fantasy teams, print one line per team.
- No blank lines between fixtures except the mandatory blank line after the last "For … plays:" block before the next fixture header.
Step 7 — Edge cases
| Situation | Handling |
Game in the next fantasy round (not covered by league_watchlist) | Show (no players owned in the league) for both sides; add note: [next round — watchlist not available yet] |
league_watchlist call fails | Fall back: call league_round_utilization(leagueId=<resolved leagueId>) to get each team's player list; cross-reference nationTeamId against the 24h fixture nations manually |
worldcup_fixtures returns no date/time for a game | Include the game with [?:??] and skip the 24h filter for it |
Arguments
$ARGUMENTS may contain:
- A league name (e.g.
כצים,friends) — overrides the default league. - Nothing — use הכצים (id 36127) automatically.
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.

