fetch-gameweek

Fetch FPL Draft gameweek data and generate result CSVs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/harryfliu/fpl_draft_2526 --skill fetch-gameweek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fetch-gameweek
Source: https://github.com/harryfliu/fpl_draft_2526/tree/main/.claude/skills/fetch-gameweek
Command: npx skills add https://github.com/harryfliu/fpl_draft_2526 --skill fetch-gameweek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates fetching FPL Draft gameweek data from the API and provides a local verification environment before deployment, reducing back-and-forth and data-availability issues.

Core Features & Use Cases

  • Automated data fetch: Pulls final or partial gameweek results, transfers history, and per-player stats from the FPL Draft API.
  • Local verification server: Serves the dashboard on http://localhost:8000 for rapid validation.
  • Data generation: Produces required CSVs (final_results_gwX.csv / partial_results_gwX.csv, transfer_history.csv, players_gwX.csv, pl_gwX.csv) and copies static resources (fixture_list.csv, starting_draft.csv, draftdata25_26.xlsx).
  • Optional AI-enabled summaries: Generates summary_gwX.csv and ai_summary_gwX.md for final results.
  • Preparation for deployment: This is a pre-deploy step; works hand-in-hand with deploy-gameweek.

Quick Start

To verify a gameweek locally:

  • Run python3 fetch_gameweek.py --gameweek <number> and then python3 serve_dashboard.py
  • Open http://localhost:8000 to review results before deploying.