agentleFS
Tamircohen28Tamircohen28/jose-claudinho/skills/league-next24h-matchups/SKILL.md

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".

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
  1. Distinctive:

    If no fixtures fall in the window, output:

    line 52
  2. Very specific:

    Default league: הכצים (id 36127).

    line 60
  3. Very specific:

    If $ARGUMENTS names a different league, call sport5_get_my_leagues to find it.

    line 61
  4. Distinctive:

    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 …

    line 83
  5. Very specific:

    If a side has no league players: output (no players owned in the league).

    line 105
  6. Distinctive:

    If one player is owned by multiple fantasy teams, print one line per team.

    line 106
  7. Distinctive:

    No blank lines between fixtures except the mandatory blank line after the last "For … plays:" block before the next fixture header.

    line 107

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

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 times
  • league_watchlist — current-round fixtures with fantasy-team player mappings
  • sport5_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 names
  • fixture.timeIsrael, fixture.dateIsrael — already in IL time
  • sides — 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. Use fixture.timeIsrael from the watchlist when available; otherwise derive from UTC time +3h.
  • <Team A> / <Team B> = English names from worldcup_fixtures output.
  • 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

SituationHandling
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 failsFall 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 gameInclude 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.

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.