Install
openclaw skills install @ravenquasar/worldcup-predictorFIFA World Cup match predictor: dual-mode score model + Elo ratings. Win/draw/loss probabilities & score predictions.
openclaw skills install @ravenquasar/worldcup-predictorA FIFA World Cup match prediction tool based on real schedule data, group standings, and an Elo rating model.
schedule.jsonhttps://api.balldontlie.io/fifa/worldcup/v1Authorization: YOUR_API_KEYStore your API key in ~/.openclaw/openclaw.json:
{
"skills": {
"worldcup-predictor": {
"api_key": "***"
}
}
}
The key innovation: different models for different match types.
Mode A — Blowout Mode (strength gap ≥ 15 points)
Uses an attack × defense weakness product model with a collapse factor:
weakness × (1 + gap × 0.007) — e.g. gap=34 → 1.24x multiplierMode B — Balanced Mode (strength gap < 15 points) A compressed Poisson model that keeps total goals reasonable:
📊 Match Prediction
══════════════════════════════════════
🇦🇷 Argentina vs 🇧🇷 Brazil
📈 Team Strength:
🇦🇷 Argentina [█████████░] 95
🇧🇷 Brazil [█████████░] 93
🏅 Group Ranking:
🇦🇷 Argentina: Group #1
🇧🇷 Brazil: Group #2
⚽ Recent Data:
🇦🇷 Argentina: 2.0 goals/game avg
🇧🇷 Brazil: 1.0 goals/game avg
📊 Win Probability
🇦🇷 Argentina Win: 48.2%
🤝 Draw: 32.2%
🇧🇷 Brazil Win: 19.6%
⚽ Predicted Score: 🇦🇷 2 - 1 🇧🇷
📈 Tournament Draw Rate: 38% (reference)
🔑 Key Analysis
• Argentina ranked higher in group
• Argentina in better form
• Predicted narrow Argentina win
v2.3 achieved 78% (7/9) correct win/draw/loss direction on completed matches.
python3 predict.py match Australia Turkey
python3 predict.py team Brazil
python3 predict.py standings
python3 predict.py today
python3 predict.py schedule
After fetching latest schedule from NetEase:
python3 predict.py update
scripts/predict.pyCore prediction script with the following commands:
| Command | Description |
|---|---|
teams | List all 48 teams (grouped by confederation) |
standings | Auto-calculate group standings |
schedule | View full match schedule |
today | Today's matches + predictions |
match <home> <away> | Predict a specific match |
team <name> | Predict a team's next match |
update | Update schedule cache |
--upcoming | Flag for schedule: show only upcoming matches |
The script reads the API key from ~/.openclaw/openclaw.json (optional, for BALLDONTLIE data enrichment):
{
"skills": {
"worldcup-predictor": {
"api_key": "***"
}
}
}
worldcup-predictor/
├── SKILL.md
└── scripts/
├── predict.py # Core prediction script
└── schedule.json # Schedule cache (auto-generated)