← 返回 Skills 市场
mumuli2021

双色球预测技能 V3.6

作者 mumuli2021 · GitHub ↗ · v3.6.0 · MIT-0
cross-platform ⚠ suspicious
125
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install lottery-predictor-v3-6
功能描述
基于 V3.6 智能评分系统的双色球预测工具,8 项维度评分 + 金手指波动,≥4 球命中率 46.1%(1000 期回测)
使用说明 (SKILL.md)

🎰 彩票预测技能(V3.6 智能评分系统)

基于 3431 期历史数据,采用 8 项维度智能评分系统 + 金手指波动,提供科学的双色球预测推荐。

≥4 球命中率:46.1%(1000 期回测)


核心算法

8 项维度评分系统(满分 100 分)

维度 权重 说明
1. 历史频率 18% 正态分布评分,基于 3431 期历史数据
2. 遗漏动态 22% 考虑历史平均/最大遗漏,冷号回补加分
3. 重复号 15% 上期开出号码加分(平均 1.08 个/期)
4. 近期热度 15% 近 10 期出现次数,追踪短期趋势
5. 近期趋势 10% 近 30 期出现次数,追踪中期趋势
6. 连号预测 8% 历史连号规律(65.1% 概率)
7. 同尾预测 7% 历史同尾规律(尾 0/1/2/3 较热)
8. 2 码组合 5% 历史高频 2 码组合规律
9. 金手指波动 ±1% 每个维度独立随机波动,增加不可预测性

评分计算公式

def calculate_score(num, weights, data):
    score = 0
    
    # 1. 历史频率(正态分布)- 18 分
    z_score = (freq - freq_mean) / freq_std
    freq_score = (1 / (1 + exp(-z_score))) * 18
    
    # 2. 遗漏动态 - 22 分
    miss_ratio = miss / miss_mean
    miss_score = min(miss_ratio * 11, 22)
    
    # 3. 重复号 - 15 分
    repeat_score = 15 if num in last_period else 0
    
    # 4. 近期热度(近 10 期)- 15 分
    recent10_score = (recent_10_count / 10) * 15
    
    # 5. 近期趋势(近 30 期)- 10 分
    recent30_score = (recent_30_count / 30) * 10
    
    # 6. 连号预测 - 8 分
    consec_score = consecutive_bonus.get(num, 0)
    
    # 7. 同尾预测 - 7 分
    same_tail_score = 5 + tail_counts[tail] if tail in tail_counts else 2
    
    # 8. 2 码组合 - 5 分
    pair_score = 5 if num in pair_numbers else 2
    
    # 应用金手指波动(±1%)
    fluctuation = random.uniform(0.99, 1.01)
    score = (freq_score + miss_score + repeat_score + 
             recent10_score + recent30_score + consec_score + 
             same_tail_score + pair_score) * fluctuation
    
    return min(score, 100)

蓝球评分系统(4 项维度,满分 100 分)

维度 权重 说明
历史热度 40 分 3431 期出现次数
近期热度 30 分 近 100 期出现次数
遗漏回补 20 分 根据遗漏分级(冷号回补加分)
连号/同尾 10 分 连号 +5 分,同尾 +5 分

模型特点

  • 8 项维度智能评分:全面覆盖历史、遗漏、趋势、形态
  • 金手指波动:±1% 随机波动,增加不可预测性
  • 基于 3431 期历史数据:数据基础扎实
  • 1000 期回测验证:≥4 球命中率 46.1%
  • 纯离线分析:无 API 调用,保护隐私
  • 可解释性报告:每个推荐附带评分和依据
  • 参数规范完整:22 个核心参数定义清晰

回测数据

1000 期回测结果

指标 V3.6 说明
≥3 球命中率 77.2% 772/1000 期
≥4 球命中率 46.1% 461/1000 期 ⭐
≥5 球命中率 13.6% 136/1000 期
平均命中 3.33 个/期 3330/1000

不同权重配置对比

配置 ≥3 球 ≥4 球 ≥5 球 平均命中
V3.6-C 重复号优先 77.2% 46.1% 13.6% 3.33
V3.6-D 均衡配置 77.6% 46.0% 14.2% 3.34
V3.6-E 近期双优先 77.4% 45.9% 13.6% 3.33
V3.6-B 遗漏优先 77.8% 45.6% 14.3% 3.34
V3.6-A 高频优先 78.0% 45.5% 13.7% 3.33

可用工具

predict_lottery

预测下一期彩票号码

参数:

  • issue (string, 必需): 预测期号,格式 YYYYNNN(如 2026035)
  • lottery_type (string, 可选): 彩种类型,默认 "ssq"(双色球)
  • red_count (integer, 可选): 推荐红球数量,默认 12
  • blue_count (integer, 可选): 推荐蓝球数量,默认 4
  • combo_count (integer, 可选): 推荐组合数量,默认 5

返回:

  • last_period: 上期开奖回顾(和值、跨度、大小比、奇偶比等)
  • miss_analysis: 遗漏分析(热号、冷号、蓝球遗漏)
  • red_top12: 红球推荐 TOP12(含评分和特征标记)
  • blue_top4: 蓝球推荐 TOP4(含评分)
  • combos: 推荐组合(5 组,含区间比、大小比、奇偶比、和值、AC 值等)
  • backtest_stats: 回测统计数据(≥3 球、≥4 球、≥5 球命中率)

get_prediction_history

获取历史预测记录

参数:

  • limit (integer, 可选): 返回记录数,默认 10

返回:

  • 历史预测记录列表(期号、预测号码、实际开奖、命中数)

verify_prediction

验证预测准确率(开奖后使用)

参数:

  • issue (string, 必需): 期号
  • actual_numbers (array, 必需): 实际开奖号码

返回:

  • hit_count: 命中数量
  • hit_rate: 命中率
  • analysis: 详细分析报告

定价策略

  • 免费: 3 次/月(体验核心功能)
  • 付费: ¥29/月(无限次 + 高级功能)
  • 性价比: 市场最低价(竞品¥50-200/月)

付费功能:

  • ✅ 无限次预测
  • ✅ 历史预测记录
  • ✅ 准确率验证
  • ✅ 多期对比分析
  • ✅ 参数自定义
  • ✅ 优先支持

使用示例

基础预测

帮我预测双色球 2026035 期
用 lottery-predictor-v3.6 预测下一期

查看历史

查看上期预测准确率
显示最近 10 期预测记录

自定义参数

预测双色球,推荐 18 个红球,6 个蓝球
生成 10 组推荐组合

环境要求

需要设置以下环境变量:

  • LOTTERY_DB_PATH: 彩票数据库路径(默认:~/.openclaw/workspace/projects/caipiao/data/caipiao.db)

系统要求:

  • Python >= 3.8
  • SQLite3

输出说明

上期开奖回顾

  • 红球、蓝球
  • 和值(历史平均 100.9)
  • 跨度(历史平均 24.1)
  • 大小比(历史 49:51)
  • 奇偶比(历史 51:49)
  • 012 路(历史 1:1:1)
  • AC 值(历史平均 6.8)
  • 连号、重号

遗漏分析

  • 平均遗漏(5.3 期)
  • 最大遗漏(60 期)
  • 热号 TOP10(遗漏 0-4 期)
  • 冷号 TOP5(遗漏>8 期)
  • 蓝球遗漏 TOP3

红球推荐

  • TOP12 号码池(按评分排序)
  • 每个号码附带评分(满分 100 分)
  • 特征标记:重(重号)、连(连号)、边(边号)

蓝球推荐

  • TOP4 号码(按评分排序)
  • 每个号码附带评分(满分 100 分)

推荐组合

  • 5 组推荐组合
  • 每组包含:
    • 红球 6 码
    • 蓝球 2 码
    • 区间比(一区:二区:三区)
    • 大小比(小号:大号)
    • 奇偶比(奇数:偶数)
    • 和值
    • AC 值
    • 重号数量

核心参数规范

基础参数(9 个)

  1. 遗漏:自上期开出到本期间隔期数
  2. 理论次数:总期数×理论概率
  3. 出现概率:实出次数/总期数×100%
  4. 平均遗漏:总遗漏/(出现次数 +1)
  5. 最大遗漏:MAX(遗漏值)
  6. 欲出几率:本期遗漏/平均遗漏×理论概率
  7. 回补几率:(上期遗漏 - 本期遗漏)/循环周期
  8. 上期遗漏:最近两期间隔
  9. 本期遗漏:最近一次出现到现在间隔

形态参数(4 个)

  1. 重号:上期∩本期
  2. 连号:COUNT(相邻号码对)
  3. 边号:上期±1
  4. 012 路:号码 MOD 3

数值参数(7 个)

  1. 和值:Σ(6 红球)
  2. AC 值:不同差值 -5
  3. 区间:01-11/12-22/23-33
  4. 跨度:MAX-MIN
  5. 尾数:号码 MOD 10
  6. 和尾:和值 MOD 10
  7. 振幅:|本期 - 上期|

冷热参数(2 个)

  1. 红球冷热:近 4 期出现为热
  2. 蓝球冷热:近 16 期出现为热

版本历史

V3.6(2026-03-29)

  • ✅ 8 项维度智能评分系统
  • ✅ 金手指波动(±1%)
  • ✅ 1000 期回测验证(≥4 球命中率 46.1%)
  • ✅ 22 个核心参数规范定义
  • ✅ 5 组推荐组合(含详细参数)

V2.15(2026-03-28)

  • ✅ 7 种数学模型
  • ✅ 3430 期历史数据
  • ✅ 红球 TOP10 + 蓝球 TOP4

免责声明

本技能仅供娱乐参考,不保证中奖!

彩票本质是随机事件,历史规律不代表未来结果!

请理性购彩,量力而行!


技能版本:V3.6
回测数据:1000 期
≥4 球命中率:46.1%
数据基础:3431 期历史数据
创建时间:2026-03-29
维护者:成哥写作模型团队

安全使用建议
This skill is an offline Python/SQLite lottery predictor and generally matches its description, but note two practical inconsistencies before installing: (1) SKILL.md and metadata require LOTTERY_DB_PATH, yet scripts (especially scripts/v3.6_prediction.py) use a hardcoded DB path in your home directory rather than reading that env var — confirm which DB the skill will read to avoid accidental use of an unintended database. (2) There is an auto_publish.sh script that invokes the ClawHub CLI to publish the package — it won't run by itself, but review or remove it if you don't want a helper script that could be executed to publish files. Recommended steps: (A) inspect scripts/v3.6_prediction.py and v2.15_prediction.py locally and run them against a test copy of your DB (not your real data) to confirm behavior; (B) set LOTTERY_DB_PATH and try invoking the v2.15 script with --db to verify it respects the env/argument; (C) if you prefer the skill to use a configurable DB, modify v3.6_prediction.py to read os.environ['LOTTERY_DB_PATH'] (or refuse to run if unset); (D) if you will install, ensure the DB file path is readable only to you (appropriate filesystem permissions) and contains only the expected lottery data. If you want me to, I can show the exact lines to change in scripts/v3.6_prediction.py to make it honor LOTTERY_DB_PATH and to remove or noop the auto_publish.sh behavior.
功能分析
Type: OpenClaw Skill Name: lottery-predictor-v3-6 Version: 3.6.0 The skill bundle is a lottery prediction tool that uses statistical models (e.g., mean reversion, normal distribution) to analyze historical data stored in a local SQLite database. Analysis of the Python scripts (scripts/v3.6_prediction.py and scripts/v2.15_prediction.py) confirms they perform only mathematical calculations and database queries as described, with no evidence of network exfiltration, credential theft, or unauthorized execution. The package.json correctly restricts permissions to local filesystem read access and disables network connectivity.
能力评估
Purpose & Capability
Name/description (lottery predictor) align with required binaries (python3, sqlite3) and the code files; requiring a database path (LOTTERY_DB_PATH) is reasonable for an offline predictor. However the repository metadata lists a homepage/README referencing publishing and monetization which is peripheral to the core purpose.
Instruction Scope
SKILL.md and metadata declare LOTTERY_DB_PATH as the env var for the DB, but scripts are inconsistent: v2.15 accepts --db (and uses a DEFAULT_DB_PATH), while v3.6_prediction.py ignores LOTTERY_DB_PATH and uses a hardcoded DB_PATH under the user's home (~/.openclaw/...). This mismatch could cause confusion or unexpected access to a different DB file than the one you intended. Instructions otherwise stay within the skill's scope (read DB, compute scores, print results) and do not instruct exfiltration or network calls.
Install Mechanism
No install spec (instruction-only packaging) and included scripts are Python/ shell — nothing is downloaded from arbitrary URLs. Presence of an auto-publish shell script is noted but it only calls the ClawHub CLI (clawhub) and does not embed external downloads.
Credentials
The only required environment variable declared is LOTTERY_DB_PATH which is appropriate for a local DB-driven tool. However v3.6 script ignores the env var and uses a hardcoded path; package metadata and SKILL.md expect LOTTERY_DB_PATH to be used. The skill requests filesystem read permission only; no network credentials or unrelated secrets are requested.
Persistence & Privilege
always:false and no unusual persistence or modifications to other skills are requested. Included auto_publish.sh can publish the skill if executed, but it is not an automatic persistent component of the agent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lottery-predictor-v3-6
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lottery-predictor-v3-6 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.6.0
Version 3.6.0 - 全新 8 项维度智能评分系统,综合历史、遗漏、热度等多维特征 - 新增“金手指波动”机制,每期评分±1%增强不可预测性 - 基于 3431 期历史数据,回测 1000 期≥4 球命中率达 46.1% - 推荐组合升级,输出 5 组并附详细参数(区间比、和值、AC 值等) - 参数规范细化,22 个核心指标定义清晰 - 提供历史预测/验证接口,支持自定义球数和组合数
元数据
Slug lottery-predictor-v3-6
版本 3.6.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

双色球预测技能 V3.6 是什么?

基于 V3.6 智能评分系统的双色球预测工具,8 项维度评分 + 金手指波动,≥4 球命中率 46.1%(1000 期回测). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 125 次。

如何安装 双色球预测技能 V3.6?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lottery-predictor-v3-6」即可一键安装,无需额外配置。

双色球预测技能 V3.6 是免费的吗?

是的,双色球预测技能 V3.6 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

双色球预测技能 V3.6 支持哪些平台?

双色球预测技能 V3.6 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 双色球预测技能 V3.6?

由 mumuli2021(@mumuli2021)开发并维护,当前版本 v3.6.0。

💬 留言讨论