Xpersona
S

Soccer Predict

CLAWHUB · Unverified

Football match betting prediction system. Auto-scrapes data from titan007.com (Asian handicap, over/under, European odds, fundamentals, lineups, corners, hal...

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1706b4ts9a9km5d4g553ea0b584s028:soccer-predict
  1. Install using `clawhub skill install s1706b4ts9a9km5d4g553ea0b584s028:soccer-predict` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/superluigi0309/soccer-predict before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-superluigi0309-soccer-predict/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

52,600 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: 足球预测 / soccer-predict
description: >
  Football match betting prediction system. Auto-scrapes data from titan007.com (Asian handicap,
  over/under, European odds, fundamentals, lineups, corners, half-time goals), runs a 5-step
  quantitative analysis framework, and outputs betting recommendations with predicted scores.
  Supports concise/visual dual output modes, post-match review, and auto weight optimization.
  Triggers: (1) match ID like "2908467" or match description, (2) requests to analyze/predict
  football matches, (3) match results for review like "比分2比1", (4) handicap/over-under analysis.
---

# 足球博彩预测 / Football Betting Prediction

三大工作流:数据采集 → 预测分析 → 赛后复盘

## 输出模式选择

用户请求预测时,询问或推断偏好的输出格式:

- **简洁模式 (Concise)**: 快速结果 - 最佳推荐、概率、EV、预测比分
- **可视化模式 (Visual/Detailed)**: 完整 HTML 报告,含数据表格、公式、图表

未指定时:默认使用可视化模式以获得最佳用户体验。

---

## 工作流一:赛前数据采集

用户提供比赛 ID 或比赛描述时,从 titan007.com 采集数据。

1. 构建 URL: `https://zq.titan007.com/analysis/{match_id}cn.htm`
2. 使用 `browser navigate` 打开页面
3. 使用新球体育数据提取数据。详见 [references/data-collection.md](references/data-collection.md)

**关于首发阵容**:首发阵容通常在开赛前30-60分钟公布。提前收集时标注"阵容待公布",使用现有阵容深度信息。接近开球时如有需要可重新检查。

**需采集数据点:**
- 比赛信息(球队、联赛、时间、场地、天气)
- 亚盘(让球盘):"即"和"早"行,所有机构
- 大小球盘:"即"和"早"行,所有机构
- 欧赔(胜平负):"即"和"早"行,前10+机构
- 球队基本面(近期战绩、主客场、历史交锋、联赛排名)
- 大小球增强数据:半场进球、角球
- 首发阵容(如比赛前30-60分钟内可用)

采集完成后,立即进入工作流二。

---

## 工作流二:预测分析

对收集的数据运行五步预测框架。详见 [references/prediction-framework.md](references/prediction-framework.md)

**输出模式决定呈现方式:**
- **简洁**:基于文本的快速摘要,关键数字
- **可视化**:完整 HTML 报告,数据表格、概率条、公式展示

**步骤概述:**
1. **数据整理** - 将所有收集的数据分类整理
2. **基本面分析** - 盘口合理性、走势追踪、机构意图、欧亚转换
3. **盘口概率计算** - 计算亚盘和大小球的真实隐含概率
4. **模型预测** - 两个逻辑回归模型:亚盘模型(权重:盘口0.35 > 基本面0.20+0.20 > 阵容0.15 > 战意0.10)和大小球模型(含xG、联赛因子、半场进球、角球等)
5. **EV 计算与推荐** - 计算每个投注选项的期望值,输出最佳推荐和预测比分

**默认初始权重**:基于 AI 概率判断设置,通过赛后复盘自动优化。

**输出格式:**
- 亚盘分析及其赢盘概率
- 大小球分析及其赢盘概率
- 所有选项的 EV 值
- 最佳投注推荐
- 预测比分

---

## 工作流三:赛后复盘

用户提供比赛结果或请求复盘时触发。详见 [references/review-framework.md](references/review-framework.md)

**流程:**
1. 回顾本场比赛的所有赛前数据和预测分析
2. 运行偏差分析,比较预测与实际结果
3. 识别预测错误的根本原因
4. **自动优化**:根据预测误差调整特征权重
5. 将更新后的框架保存到内存文件以持久化
6. 输出所有已分析比赛的累计准确率统计

**持久化**:将框架更新和比赛历史保存到内存文件,以便跨会话学习。

**目标**:亚盘和大小球预测准确率均达到 70% 以上。

---

## 参考文档

- [data-collection.md](references/data-collection.md) - 数据采集指南
- [prediction-framework.md](references/prediction-framework.md) - 预测分析框架
- [review-framework.md](references/review-framework.md) - 赛后复盘与学习框架

README.md

# ⚽ Soccer Predict — Football Betting Prediction Skill

AI-powered football match prediction & betting analysis system for [OpenClaw](https://github.com/openclaw/openclaw).

[![ClawHub](https://img.shields.io/badge/ClawHub-soccer--predict-blue)](https://clawhub.ai)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Version](https://img.shields.io/badge/version-1.0.0-orange)](CHANGELOG.md)

## Features

- **Automated Data Collection** — Scrapes pre-match data from titan007.com: Asian handicap, over/under, European odds, team fundamentals, lineups, corner kicks, half-time goals
- **5-Step Quantitative Analysis**
  1. Data organization & validation
  2. Fundamental analysis (handicap rationality, line movement, bookmaker intent)
  3. True implied probability calculation (margin-adjusted)
  4. Logistic regression models (Asian handicap + over/under)
  5. EV calculation & betting recommendations
- **Dual Output Modes** — Concise (quick results) or Visual (full HTML reports with charts)
- **Post-Match Review & Learning** — Automated deviation analysis, weight optimization, accuracy tracking
- **Enhanced Over/Under Model** — Half-time goal patterns, corner data, league factors, environmental variables

## Install

```bash
# From ClawHub (recommended)
npx clawhub install soccer-predict

# Or from GitHub
git clone https://github.com/superluigi0309/soccer-predict.git ~/.openclaw/skills/soccer-predict
```

## Quick Start

### Option 1: Match ID

Get the match ID from [titan007.com](https://zq.titan007.com/) → click "数据分析" → the number in the URL:

```
预测比赛 2908467
```

### Option 2: Match Description

```
预测 2026.3.15 09:30 MLS Real Salt Lake vs Austin FC
```

### Post-Match Review

After the match, provide the result for automated learning:

```
复盘 比分 2-1
```

## Output Modes

| Mode | Description |
|------|-------------|
| **Concise** | Best pick, probability, EV, predicted score |
| **Visual** | Full HTML report with data tables, probability bars, formulas |

Default: Visual mode.

## How It Works

```
Match ID/Description
       ↓
┌──────────────┐
│ Data Scraping │ ← titan007.com (odds, lineups, fundamentals)
└──────┬───────┘
       ↓
┌──────────────────────┐
│ 5-Step Analysis      │
│ 1. Data Organization │
│ 2. Fundamentals      │
│ 3. Probability Calc  │
│ 4. Regression Models │
│ 5. EV & Recommend    │
└──────┬───────────────┘
       ↓
   Prediction Output
       ↓
┌──────────────┐
│ Post-Match   │ → Weight auto-optimization
│ Review       │ → Accuracy tracking (target: 70%+)
└──────────────┘
```

## Repository Structure

```
soccer-predict/
├── SKILL.md                     # Skill definition (main entry)
├── README.md                    # This file
├── CHANGELOG.md                 # Version history
├── LICENSE                      # MIT
├── clawhub.json                 # ClawHub metadata
└── references/
    ├── data-collection.md       # Data scraping guide
    ├── prediction-framework.md  # Analysis framework
    └──

_meta.json

{
  "ownerId": "kn766zz6whrxch69ycf9ag75bd84sbfh",
  "slug": "soccer-predict",
  "version": "1.1.0",
  "publishedAt": 1776094335686
}

references/data-collection.md

# Data Collection Guide

## Table of Contents
1. [Data Source](#data-source)
2. [Input Formats](#input-formats)
3. [Data Points to Extract](#data-points-to-extract)
4. [Extraction Procedure](#extraction-procedure)

## Data Source

Base URL: `https://zq.titan007.com/analysis/{match_id}cn.htm`

Use 新球体育 (XinQiu Sports) data provider on the page.

## Input Formats

Accept either format from user:
- **Match ID only**: e.g. `2908467` -> construct URL `https://zq.titan007.com/analysis/2908467cn.htm`
- **Match description**: e.g. `2026.3.15 09:30 美职业 皇家盐湖城vs奥斯丁` -> search or confirm match ID with user

## Data Points to Extract

### 1. Asian Handicap (让球盘)
- Extract only rows labeled "即" (instant/live) and "早" (early/opening)
- Fields: home odds, handicap line, away odds
- Note which team is giving the handicap
- Record all available bookmaker data

### 2. Over/Under (大小球盘)
- Extract only rows labeled "即" (instant/live) and "早" (early/opening)
- Fields: over odds, total goals line, under odds
- Record all available bookmaker data

### 3. European Odds (欧赔胜平负)
- Extract only rows labeled "即" (instant/live) and "早" (early/opening)
- Fields: home win odds, draw odds, away win odds
- Record all available bookmaker data (at least top 10)

### 4. Team Fundamentals & History (基本面信息)

#### Core Fundamentals (核心基本面)
- Recent form (last 5-10 matches: W/D/L, goals scored/conceded)
- Home/away performance (home win rate / away win rate)
- Season total goals scored / conceded (and per-game average)
- Home/away goals scored / conceded separately
- Last 10 same-venue matches (home team: last 10 home; away team: last 10 away)

#### Head-to-Head History (历史交锋)
- All available historical matches between these two teams
- Recent 3-5 years of H2H records: W/D/L, goal trends
- Average goals in H2H matches

#### League Standings (联赛排名)
- Current league table position for both teams
- Points gap between teams
- Games played difference

#### Match Importance (比赛重要性)
- Both teams' motivation for this match
- Relegation battle / title race / playoff implications
- Recent scheduling (double headers, fatigue factors)

### 5. Lineups & Detailed Data (首发阵容与详细数据)

#### IMPORTANT: Lineup Timing
- **Note**: Starting lineups are typically published 30-60 minutes before match kickoff
- If collecting data earlier than this window, mark lineup data as "not yet available"
- Re-check for lineups closer to kickoff time if user requests update
- If lineup not available, proceed with prediction using available squad depth info from bench

#### When Available, Extract:
- Starting XI for both teams
- Key player stats (goals/assists this season)
- Injury/suspension list (especially core players - impact assessment)
- Bench strength / notable substitutes

#### Enhanced Data for Over/Under (大小球增强)
- Half-time goals data (半场进球数/模式)
- Corner kicks statistics (角球数据)
- Goal difference distribution (净胜球分布: 净胜2+/1/0/-1/-2+)

## Extraction Procedure

1. Navigate to the match analysis page using `browser na

references/prediction-framework.md

# Prediction Framework

## Table of Contents
1. [Output Modes](#output-modes)
2. [Step 1: Data Organization](#step-1-data-organization)
3. [Step 2: Fundamental Analysis](#step-2-fundamental-analysis)
4. [Step 3: Odds Probability Calculation](#step-3-odds-probability-calculation)
5. [Step 4: Model Prediction](#step-4-model-prediction)
6. [Step 5: Win Probability & Betting Advice](#step-5-win-probability--betting-advice)

---

## Output Modes

User can specify preferred output format:

### Mode A: 简洁模式 (Concise)
Quick prediction results only - best for fast decisions:
- Match info summary
- Key odds data (main lines)
- Best pick with probability and EV
- Predicted score

### Mode B: 可视化模式 (Visual/Detailed)
Full analysis with tables and charts:
- Complete data tables (all odds, all bookmakers)
- Detailed step-by-step analysis
- Probability calculations with formulas
- Visual probability bars
- EV analysis for all options

**Default**: If user doesn't specify, use Mode B (Visual) for first prediction, then ask preference.

---

## Step 1: Data Organization

Organize all collected data into these categories:

### 1. Fundamentals
- Recent form (last 5-10 matches: W/D/L, goals scored/conceded)
- Home/away performance (home win% / away win%)
- Head-to-head records (last 3-5 years: W/D/L, goal trends)
- League standings and points gap
- Both teams' match motivation
- **If lineup not yet published**: Note "阵容未公布" and proceed with available data

### 2. Squad & Lineup
- Starting XI (if available - typically 30-60 min before kickoff)
- Key player stats (goals/assists)
- Injury/suspension list (especially core player absence impact)
- Bench depth (substitute player quality)
- **If unavailable**: Mark as "待公布" and use squad depth info only

### 3. Match Importance
- Both teams' motivation (relegation battle / title race / playoff fight)

### 4. European Odds (1X2)
- Complete home/draw/away odds data ("即" = instant and "早" = early/opening rows)
- **IMPORTANT**: Use "即" (instant/live) data for final calculation

### 5. Asian Handicap
- Complete handicap data ("即" and "早" rows)
- **CRITICAL**: Must record BOTH "早" (early) AND "即" (instant) data
- **FINAL CALCULATION**: Use "即" (instant/live) data only - this is the final odds before match
- Analyze line movement: if "早" → "即" changed (up/down), record the trend
- Rule: the team with lower European odds corresponds to the handicap-giving side (upper plate)
- Upper plate odds are on the handicap-giving team's side

### 6. Over/Under
- Complete over/under data ("即" and "早" rows)
- **FINAL CALCULATION**: Use "即" (instant/live) data for final calculation

### 7. Enhanced Data (for Over/Under Model)
- Half-time goals patterns (半场进球模式)
- Corner kicks statistics (角球数据)
- Goal difference distribution (净胜球分布)

---

## Step 2: Fundamental Analysis

Perform deep analysis based on collected data:

### 2.1 Handicap Rationality Check
Use machine learning baseline model to analyze whether the handicap is reasonable.
- Determine 

Sponsored

Ads related to Soccer Predict and adjacent AI workflows.