К основному содержанию
скилл CX Codex

fpl-copilot — скилл для Claude Code: что делает и как установить

Скилл fpl-copilot помогает вести состав в Fantasy Premier League, оценивать форму игроков и выбирать капитана на тур по локальной базе данных.

MIT 295 установок ★ 140 обновлён 2026-10-19

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add sugarforever/01coder-agent-skills --skill fpl-copilot -a claude-code
Открыть на GitHub

Что делает fpl-copilot

Скилл подключает к ИИ-агенту аналитику Fantasy Premier League. Он запрашивает официальные данные игроков, отслеживает статус травм и рассчитывает сложность предстоящих матчей. Для работы скиллу нужен доступ к SQLite 3: через CLI, встроенную библиотеку языка или нативный интерфейс среды. На их основе создаётся локальная база fplcopilot.db в каталоге ~/.fplcopilot/.

Помимо расчётов в чате инструмент генерирует автономные HTML-отчёты с графикой: матрицы матчей, сравнения трансферов и карточки состава. Историю игроков агент подтягивает порциями под конкретный запрос, чтобы не грузить лишний массив данных.

Локальное сохранение составов и гипотетических трансферов остаётся в черновых планах и никогда не отправляет изменения в реальный аккаунт FPL.

Какие задачи решает

  • сравнить трансферные варианты перед дедлайном тура
  • выбрать лучшего капитана по метрикам и расписанию
  • сформировать автономный HTML-отчёт со сложностью матчей
  • сохранить черновой состав без риска для реального аккаунта

Примеры запросов агенту

  • Покажи сложность матчей для моих защитников на следующие три тура
  • Сравни форму Салаха и Палмера перед выбором капитана
  • Посчитай трансферные варианты на замену травмированного форварда

Как установить fpl-copilot

1Через Skills CLI (Vercel)

npx skills add sugarforever/01coder-agent-skills --skill fpl-copilot -a claude-code

2Вручную: положить файлы

~/.claude/skills/fpl-copilot/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/fpl-copilot/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о fpl-copilot

Как установить fpl-copilot в Claude Code?

Выполните команду npx skills add sugarforever/01coder-agent-skills --skill fpl-copilot -a claude-code. Агент разместит файлы скилла по пути ~/.claude/skills/fpl-copilot/SKILL.md.

Что делает скилл fpl-copilot?

Он ведёт локальную статистику Fantasy Premier League, оценивает календарь и генерирует рекомендации по трансферам и выбору капитана.

Отправляет ли скилл трансферы в официальный аккаунт игры?

Нет. Скилл сохраняет все составы и переходы исключительно в локальной базе данных как черновики для аналитики.

Исходный текст

SKILL.md · MIT
---
name: fpl-copilot
version: 1.3.0
description: "Use when the user asks about Fantasy Premier League player stats, transfer advice, captain picks, fixture difficulty, gameweek strategy, or saved squad management."
---

# FPL Copilot

Analyze current FPL data, maintain saved squads, and produce self-contained reports. This skill specifies operations and completion criteria; choose suitable tools or commands from the actual environment.

## Workflow

### 1. Establish capabilities and storage

Inspect the available tools and locate this skill’s resources relative to its installed location. Identify capabilities for HTTP requests, JSON processing, SQLite 3 queries and writes, document persistence, and report delivery. On a shell-equipped host, infer suitable installed commands or scripting libraries; on other hosts, use exposed native tools. Tool names and executables are implementation choices.

Resolve storage once using the rule below, then reuse the resulting mapping for every reference and operation. Keep FPL data separate from the agent application's internal storage.

**Storage resolution (in precedence order):**

1. Use an explicit user-selected FPL location or a host-provided binding for the stable namespace `fpl-copilot`. If these disagree, ask which to use before writing.
2. Without an explicit selection or host binding, use the desktop root `~/.fplcopilot/`, expanded to an absolute path through the current user's home directory. Reuse this root even when the working directory or conversation changes.
3. On a host without a desktop home, request persistent storage for namespace `fpl-copilot` from its storage capability. Reopen its existing binding; if the host cannot provide a stable binding, ask the user to select a durable location before creating state. Conversation-local storage must be identified as such and selected explicitly.

Derive `fplcopilot.db`, `squads/`, `reports/`, and `player-history-sync.json` from that one root. If the host uses separate resource handles, persist their mapping under the same namespace through the host's storage configuration. Verify that mapping can be reopened before claiming cross-conversation persistence. Every mention of a “resolved” location in the references means this mapping, never a fresh location choice.

Inspect the selected location before initializing it. When competing existing mappings are discovered, ask which is authoritative; preserve existing data until the user selects a migration. Report the chosen root or handles and persistence scope when first establishing the mapping.

SQLite 3 is required for structured FPL storage; the `sqlite3` executable is one possible interface, not a dependency. Use an available SQLite interface: the CLI, a scripting-language library, or a native primitive/tool backed by SQLite (such as Expo SQLite). Discover which interface is available and use it consistently. Initialize a new database from `references/schema.sql`; execute reference SQL through the selected interface, preserving the schema and calculation semantics. If a required capability is missing, identify the blocked operation and complete only the supported parts; distinguish unsaved output and unavailable live data explicitly.

**Complete when:** the agent has identified working operations and persistent locations for the requested task, or reported a specific missing capability.

### 2. Establish data freshness

Before data analysis, read `references/sync.md` and the relevant mappings in `references/api.md`. Inspect successful-refresh metadata and refresh missing or stale datasets according to that contract. Fetch only the player histories required for the requested calculation; a full-player batch requires an explicit user request.

**Complete when:** required datasets have successful refresh timestamps and verified persisted records, or the answer can identify the age and limitations of a usable cached snapshot. An unsuccessful refresh is not evidence of fresh data.

### 3. Load squads and analyze

For “my squad/team,” check saved squads before asking the user to share again. Read `references/squad.md` for selection, persistence, and validation. Read `references/analysis.md` for metrics and decision frameworks; use the documented formulas with the available query/calculation capabilities. Resolve player IDs by stored names, checking ambiguity before selecting a player.

Save newly shared squads and confirmed changes using the squad reference. Keep hypothetical transfers in draft plans; recording a change locally does not submit it to the user's FPL account. After squad analysis, persist key takeaways in Notes.

**Complete when:** recommendations are backed by retrieved data and documented calculations, and every required squad write is verified or explicitly reported as unsaved.

### 4. Deliver the result

Use Markdown for quick lookups, short reasoning, deadlines, and small results. For the spatial or comparative outputs below, read `references/html-output.md` and adapt the matching template with actual data.

| Output | Template |
|--------|----------|
| Squad formation, bench, totals | `templates/squad-view.html` |
| Fixture difficulty matrix | `templates/fixture-matrix.html` |
| Transfer comparison | `templates/transfer-comparison.html` |
| Captain ranking with reasoning | `templates/captain-ranking.html` |
| Gameweek strategy | `templates/gameweek-report.html` |

Create one self-contained HTML report with inline CSS, JavaScript, and SVG; use vanilla HTML/CSS/JS and responsive layouts. Store it under the resolved `reports/` location as `{YYYY-MM-DD}-{slug}.html`. Provide the supported preview, attachment, share link, or accessible file path. Infer an appropriate viewing operation when available. When report creation or delivery is unavailable, provide the substantive result in chat and identify the missing report capability.

**Complete when:** the user has a substantive answer and an accessible report reference where supported, with data freshness and any limitations stated.

## Reference routing

Read each resource before performing its operation:

| Resource | Operation |
|----------|-----------|
| `references/sync.md` | Refresh, normalize, persist, and verify FPL datasets |
| `references/api.md` | Resolve endpoints and API-to-storage field mappings |
| `references/schema.sql` | Initialize storage or resolve tables, types, and keys |
| `references/analysis.md` | Compute metrics and recommendations |
| `references/squad.md` | Load, validate, create, or update squads |
| `references/html-output.md` | Generate and deliver reports |

## Data conventions

- Resolve names against `web_name`, then partial display names and full names; clarify ambiguous matches.
- Prices use 0.1m units: `130` means £13.0m. Display as `£X.Xm`; normalize by cost in millions for value comparisons.
- Positions are GKP, DEF, MID, FWD, mapped from API codes 1–4.
- Availability codes: `a` available, `d` doubtful, `i` injured, `s` suspended, `u` unavailable.
- FDR runs from 1 (very easy) to 5 (very hard).

© sugarforever · MIT · sugarforever/01coder-agent-skills

Похожие скиллы

Все скиллы по теме «Данные и базы» →
football-data machina-sports Скилл football-data для Claude Code, Codex, Cursor и других платформ, который подключает футбольные данные: турнирные таблицы, расписания, xG, трансферы, профили игроков и прогнозы. Работает без API-ключей. CX Codex +1 2 400установок world-cup machina-sports Скилл world-cup связывает агента с данными чемпионатов мира по футболу и витриной Machina Storefront. Находит статистику и запрашивает платные прогнозы только с явного согласия. CX Codex +1 713установок SportIQ utkarshgupta885 MCP-сервер SportIQ поставляет ИИ-ассистентам спортивную аналитику, турнирные симуляции и коэффициенты букмекеров для ЧМ-2026, Формулы-1 и крикета IPL. CX Codex +1 2 384установок sportsbarwatch haraldcb MCP-сервер sportsbarwatch для Claude Code ищет спортбары с прямыми трансляциями матчей по всему миру и расписания игр в городах. Помогает найти, где посмотреть игру любимой команды. CX Codex +1 896установок claudinho arturogarrido MCP-сервер claudinho выводит расписание футбольных матчей, турнирные таблицы и текущий счёт в чат агента. Пригодится футбольным болельщикам прямо во время работы с кодом. CX Codex +1 ★ 37звёзд репо sportscore-mcp Backspace-me MCP-сервер sportscore-mcp передаёт ИИ-ассистенту спортивные результаты, расписание турниров и таблицы чемпионатов по футболу, баскетболу, теннису и крикету без API-ключа. CX Codex +1 ★ 15звёзд репо

Из того же набора18

Весь набор →
publish-x-article Скилл publish-x-article для Claude Code переносит Markdown-статью в редактор X Articles с сохранением форматирования. Ведёт блог в X Premium. CX Codex +1 457установок interactive-input Скилл interactive-input добавляет в ответы агента интерактивные UI-элементы: радиокнопки, чекбоксы, текстовые поля. Когда нужен опрос, тест или форма — агент показывает готовый блок, а не список текстом. CX Codex +1 441установок share-reading Скилл share-reading помогает собрать пост для соцсетей о статье, ссылке или заметке: несколько вариантов с разной подачей и обязательной ссылкой на источник. CX Codex +1 440установок personal-chinese-writing-style Скилл personal-chinese-writing-style держит китайский текст в одной типографике: кавычки, тире и многоточие по вашим правилам, без латинских запятых и точек между иероглифами. CX Codex +1 408установок cover-image Скилл cover-image создаёт обложки статей в рисованном стиле. Выбирает композицию и палитру по тексту или позволяет задать вручную. CX Codex +1 291установок promote-post Скилл promote-post готовит цепляющие твиты-тизеры для опубликованных статей по ссылке или файлу без спойлеров и сухих пересказов. CX Codex +1 277установок codex-cli Позволяет агенту делегировать задачи по коду, ревью и генерации картинок в OpenAI Codex CLI через команду codex exec. CX Codex +1 237установок claude-session-manager Скилл claude-session-manager превращает локальные JSONL-логи Claude Code в читаемые Markdown-файлы с разговором, дайджестом и вызовами инструментов. CX Codex +1 207установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой