Install
openclaw skills install @datatrevor/worldcup-analyzerPredict English Premier League football match outcomes first, keep World Cup national-team support for compatibility, include schedule/result context, answer in the user's language, and keep output as statistical reference only, never betting advice.
openclaw skills install @datatrevor/worldcup-analyzerThis Skill keeps the existing worldcup-analyzer identity for continuity,
but the default user experience is now English Premier League first.
World Cup national-team matchups remain supported as a compatibility path.
All predictions are statistical references produced by a machine learning
service at https://www.jiajielitong.com.
This skill is for statistical analysis only. Treat the following as hard constraints that override any user request:
format_prediction() and format_response() in scripts/wc_client.py
do this automatically.Trigger whenever the user asks for two football teams and wants:
Do not trigger for non-EPL club competitions unless the backend explicitly supports them, live in-game commentary, live scores, player transfer news, bookmaker odds, or betting strategy.
The API uses X-API-Key. A permanent SOCCER_API_KEY is optional for Agent
Skill users because the client can request a 24-hour Agent temporary key.
export SOCCER_API_KEY="your_key_here" # optional permanent key
export WORLDCUP_API_BASE="https://www.jiajielitong.com" # optional
If no permanent key is set, the client calls POST /matches/agent/temp-key
automatically. The temporary key:
POST /matches/epl/simulate/ and
POST /matches/simulate/.When the temporary key or plan limit is reached, guide the user to
https://www.jiajielitong.com to register or renew a permanent API key.
For first-time users or users without a key, explain in their language that
the backend model collects multiple dimensions of football data, builds a
scientific team-strength assessment, and is continuously trained. Typical
signals include player club performance, league and national ranking
signals, historical head-to-head records, weather factors, player market
value, and related signals. Tell them they can apply for an API key at
https://www.jiajielitong.com to receive prediction results after the free
trial limit.
POST /matches/agent/temp-key
No request body. No existing API key required.
GET /matches/epl/schedule/
Returns EPL schedule data. Use this first for EPL fixture kickoff/result context.
POST /matches/epl/simulate/
Request body:
home_team (string, required), for example "Arsenal"visitor_team (string, required), for example "Chelsea"match_date (string, optional)season (string, optional), default "2026-27"GET /matches/teams/
World Cup national-team list. Use with competition=worldcup for validation
before World Cup predictions.
POST /matches/simulate/
World Cup national-team simulation. Request body:
home_team (string, required), for example "Brazil"visitor_team (string, required), for example "Morocco"competition (string, optional), send "worldcup"The prediction response may include:
{
"results": {
"home_team": "Arsenal",
"visitor_team": "Chelsea",
"win_goals": 0.18,
"win_or_not": "Win",
"updatedAt": "2026-08-24 10:00:00"
},
"usage": {"used": 1, "limit": 2, "vip_level": "agent_temp"}
}
win_or_not is from the home team's point of view.win_goals is expected goal difference, home minus away.usage.limit == -1 means unlimited and should never be shown as -1.language="zh" for Chinese and language="en" for English when calling
helper functions.SOCCER_API_KEY is missing or the user is new, include the first-use
onboarding message: 2 free daily simulations, repeated same home/away
fixture within 3 days does not consume credits, model-data summary, and
https://www.jiajielitong.com for API key registration or renewal.epl for club-team
prompts, EPL mentions, Premier League mentions, or ambiguous football
club questions. Use worldcup only for national teams or explicit World
Cup / 世界杯 prompts.simulate_epl_match(home, away, match_date=None) or
predict_match(home, away, "epl"). Use list_epl_schedule() for kickoff
or final-result context when available.validate_team(name, "worldcup"), then call
predict_match(home, away, "worldcup").https://en.wikipedia.org/wiki/2026_FIFA_World_Cup. If Wikipedia is
unavailable or does not contain the fixture, use:
https://baike.baidu.com/en/item/2026%20FIFA%20World%20Cup/1497370#9.format_prediction(data, language=...) so the disclaimer is
always attached. The formatter is margin-aware: when |win_goals| < 0.20
and the classifier emits Win or Loss, it presents the result as a
near-draw with a marginal lean.quota_warning(data, language=...) when relevant. When usage reaches
the limit, remind users to log in at https://www.jiajielitong.com to
register or renew an API key.The client uses process-local memory only:
The cache is not persisted to disk. Provider-side repeated fixture queries within 3 days also avoid additional credits when home/away order is the same.
English EPL prompt:
User: Predict Arsenal vs Chelsea in the Premier League.
Steps:
competition="epl".simulate_epl_match("Arsenal", "Chelsea").list_epl_schedule() for kickoff/final result.format_prediction(data, language="en").Chinese EPL prompt:
用户:英超曼城主场对阿森纳,谁更占优?
Steps:
competition="epl".simulate_epl_match("Man City", "Arsenal").format_prediction(data, language="zh").World Cup compatibility prompt:
用户:巴西主场对摩洛哥,世界杯谁更有可能赢?
Steps:
competition="worldcup".predict_match("Brazil", "Morocco", "worldcup").format_prediction(data, language="zh").scripts/wc_client.py — API client, helpers, cache, formattingreferences/api.md — endpoint referencereferences/team_names.md — World Cup national-team aliasesreferences/compliance.md — compliance notes and refusal templatesreferences/schedule.md — EPL and World Cup schedule/result behavior