agentleFS
Tamircohen28Tamircohen28/jose-claudinho/CLAUDE.md

jose-claudinho

CLAUDE.md0 starsChanged 4 months agoMITView on GitHub

Guidance for Claude Code sessions working in this repo. José Claudinho is a multi-host plugin (Claude Code, Cursor, Codex) that helps a user manage their team in Sport5 Fantasy World Cup 2026. It bundles an MCP server (fantasy-wc), skills and slash commands. It reads the player market, the user's team, rival top teams, league tables and World Cup fixtures; snapshots the best teams each round into local JSON; recommends transfers, captain and lineup under the official game rules; and reports…

  • Reads credentials
  • Installs packages

The file

We split this CLAUDE.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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. Very specific:

    Read-and-recommend only: Never add write/transfer/mutation calls to the Sport5 API.

    line 67
  2. Very specific:

    Rules live in rules.ts: Don't scatter game-rule constants across files.

    line 73
  3. Very specific:

    Public npm registry: Keep mcp-server/.npmrc pinned to registry.npmjs.org.

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
CLAUDE.md

CLAUDE.md — José Claudinho

Guidance for Claude Code sessions working in this repo.

Project overview

José Claudinho is a multi-host plugin (Claude Code, Cursor, Codex) that helps a user manage their team in Sport5 Fantasy World Cup 2026. It bundles an MCP server (fantasy-wc), skills and slash commands. It reads the player market, the user's team, rival top teams, league tables and World Cup fixtures; snapshots the best teams each round into local JSON; recommends transfers, captain and lineup under the official game rules; and reports round utilization (played vs upcoming) and league watchlists. It is read-and-recommend only — it never mutates the user's team.

Key file locations

PathPurpose
.claude-plugin/plugin.jsonClaude Code plugin manifest
.cursor-plugin/plugin.jsonCursor plugin manifest
.codex-plugin/plugin.jsonCodex plugin manifest
.agents/plugins/marketplace.jsonCodex marketplace catalog
AGENTS.mdHost-neutral agent guidance
.mcp.jsonMCP server registration (fantasy-wc, env passthrough)
.envTracked Sport5 session cookie + optional MCP vars (SPORT5_COOKIE, etc.)
mcp-server/src/index.tsRegisters all 21 MCP tools (Zod schemas + handlers)
mcp-server/src/rules.tsAuthoritative encoded game rules (budgets, caps, scoring, chips)
mcp-server/src/sport5Client.tsAuthenticated Sport5 API client + cookie guards
mcp-server/src/transform.tsRaw API → slim DTO transforms
mcp-server/src/analysis.tsbuildSnapshot() + analyzeOwnership()
mcp-server/src/nations.tsNational team registry + Hebrew→TheSportsDB aliases
mcp-server/src/roundUtilization.tsRound utilization + league watchlist logic
mcp-server/src/storage.tsLocal JSON snapshot read/write
mcp-server/src/fixtures.tsWorld Cup fixtures via TheSportsDB
mcp-server/dist/index.jsCommitted single-file esbuild bundle (the runtime artifact)
skills/squad-advice/SKILL.mdThe 10-step weekly recommendation procedure (/squad-advice)
skills/squad-debate/SKILL.mdMulti-agent strategy debate + synthesis (/squad-debate)
skills/transfer-optimizer/SKILL.mdEV-grounded transfer & lineup optimizer (/transfer-optimizer)
skills/snapshot-league/SKILL.mdCapture top teams + market snapshot (/snapshot-league)
skills/fantasy-setup/SKILL.mdConfigure & verify the Sport5 cookie (/fantasy-setup)
skills/team-round-utilization/SKILL.mdPer-team round player status
skills/league-round-utilization/SKILL.mdLeague played vs upcoming table
skills/league-watchlist/SKILL.mdLeague games-of-interest watchlist
skills/league-round-report/SKILL.mdCombined league utilization + watchlist report
skills/league-next24h-matchups/SKILL.mdWC matches in the next 24h with league ownership
skills/shared/references/Shared Hebrew labels, args, errors, report example

Build & test commands

cd mcp-server
npm install          # uses the local .npmrc pinning registry.npmjs.org
npm run typecheck    # tsc --noEmit  — the primary correctness gate
npm run build        # esbuild → dist/index.js  (commit the result)

There is no unit-test suite yet; npm run typecheck is the gate. Always rebuild dist/index.js after changing anything under mcp-server/src/ and commit the bundle.

Commit message convention

Short imperative subject (≤ 72 chars), optional body explaining why. Example: Add cookie guard to league-table tool.

Hard constraints — never change these

  • Read-and-recommend only. Never add write/transfer/mutation calls to the Sport5 API. The plugin must never change the user's team.
  • Credentials in .env only. SPORT5_COOKIE and other secrets belong in the repo-root .env file, which is tracked and committed in this repo. Do not scatter cookies or tokens into source, manifests, skills, or docs. When the Sport5 session expires, update .env and commit the change.
  • Rules live in rules.ts. Don't scatter game-rule constants across files; update the single source of truth.
  • Public npm registry. Keep mcp-server/.npmrc pinned to registry.npmjs.org.
  • Personal GitHub only — TamirCohen28. No Wix accounts, registries or references.
  • Sport5 T&C / FAQ docs are not published. They're gitignored local reference only.

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.