Awesome-omni-skill Fantasy Premier League
This skill should be used when the user asks about "FPL", "Fantasy Premier League", "my FPL team", "captain pick", "who should I captain", "transfer suggestions", "best transfers", "FPL player stats", "fixture difficulty", "gameweek", "FPL points", "wildcard", "free hit", "bench boost", "triple captain", or any fantasy football related queries for the English Premier League.
git clone https://github.com/diegosouzapw/awesome-omni-skill
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data-ai/fantasy-premier-league" ~/.claude/skills/diegosouzapw-awesome-omni-skill-fantasy-premier-league && rm -rf "$T"
skills/data-ai/fantasy-premier-league/SKILL.mdFantasy Premier League Assistant
Comprehensive Fantasy Premier League assistant providing team analysis, transfer suggestions, captain picks, fixture planning, and player statistics using the official FPL API.
FPL API Overview
The official FPL API is publicly accessible at
https://fantasy.premierleague.com/api/. No authentication required for public endpoints.
Key Endpoints
| Endpoint | Description |
|---|---|
| All players, teams, gameweeks, game settings |
| Manager info and overall stats |
| Team picks for a gameweek |
| Transfer history |
| Season history and past seasons |
| Individual player detailed stats |
| All fixtures (add for specific gameweek) |
| Live gameweek data with bonus points |
Finding Team ID
The user's team ID is found in their FPL URL:
https://fantasy.premierleague.com/entry/{TEAM_ID}/event/{GW}
Core Workflows
Fetching Bootstrap Data
Always start by fetching bootstrap data for current game state:
curl -s "https://fantasy.premierleague.com/api/bootstrap-static/" | jq .
Key data in bootstrap response:
- All players with stats, prices, ownershipelements
- All 20 Premier League teamsteams
- All 38 gameweeks with deadlinesevents
- Position types (GKP, DEF, MID, FWD)element_types
Analyzing a User's Team
- Get team ID from user
- Fetch current gameweek from bootstrap data
- Fetch team picks:
/entry/{team_id}/event/{gw}/picks/ - Cross-reference with bootstrap
for player detailselements - Analyze formation, captain choice, bench order
Transfer Suggestions
- Fetch user's current team
- Analyze players by form, fixtures, expected points
- Identify underperforming assets
- Suggest replacements considering:
- Budget (selling price vs purchase price)
- Fixture difficulty rating (FDR)
- Form (recent points per game)
- Expected goals/assists (if discussing)
Captain Recommendations
Evaluate captain options based on:
- Fixture difficulty (home vs away, opponent strength)
- Recent form (points in last 5 gameweeks)
- Historical performance against opponent
- Set piece involvement
- Penalty taker status
Fixture Difficulty Analysis
Use the
team_h_difficulty and team_a_difficulty from fixtures endpoint. Scale is 1-5:
- 1-2: Easy fixtures (green)
- 3: Medium fixtures (yellow)
- 4-5: Hard fixtures (red)
Chip Strategy
Wildcard
- Best used during international breaks or injury crises
- Two per season (one before GW20, one after)
- Unlimited free transfers that gameweek
Free Hit
- One per season
- Temporary unlimited transfers for single gameweek
- Best for blank or double gameweeks
Bench Boost
- All bench players score points
- Best during double gameweeks with 15 playing assets
Triple Captain
- Captain scores 3x instead of 2x
- Best for premium asset in double gameweek
Data Interpretation
Player Status Codes
- Availablea
- Doubtful (yellow flag)d
- Injured (red flag)i
- Suspendeds
- Unavailableu
Key Player Metrics
- Average points over last 30 daysform
- Season averagepoints_per_game
- Ownership percentageselected_by_percent
- Current price (divide by 10 for actual price)now_cost
- Price change this gameweekcost_change_event
- Influence + Creativity + Threat combinedict_index
Usage Patterns
Quick Team Check
When user asks "how's my team doing" or "analyze my team":
- Request team ID if not known
- Fetch current picks
- Provide formation, total value, captain choice
- Flag injury concerns
Transfer Planning
When user asks "who should I transfer" or "best transfers":
- Analyze current squad
- Identify problem positions
- Suggest 2-3 options per position with reasoning
Gameweek Preview
When user asks about upcoming gameweek:
- Show deadline time
- Highlight fixture standouts
- Suggest captain options
- Note any blank/double gameweek implications
Additional Resources
Reference Files
- Detailed API endpoint documentationreferences/api-guide.md
- Player metrics and what they meanreferences/metrics.md
Scripts
- Fetch and format team datascripts/fetch-team.sh
- Get upcoming fixtures with FDRscripts/fetch-fixtures.sh