← 返回 Skills 市场
sudaqinnishui

体彩兑奖

作者 sudaqinnishui · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
834
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install lottery-checker
功能描述
中国体育彩票查奖工具(大乐透批量查询)。检查用户提供的大乐透号码是否中奖,支持单注或多注批量查询,自动生成精美报表,显示各奖项中奖人数和金额。
使用说明 (SKILL.md)

中国体育彩票查奖工具 - 大乐透批量版

查询最新开奖结果,检查大乐透号码是否中奖,生成精美报表。

支持的彩种

只支持 超级大乐透 (dlt)

号码格式

大乐透: 前区5个数字+后区2个数字

  • 格式: 03,15,22,28,33+05,12
  • 数字范围: 前区 01-35,后区 01-12
  • 分隔符: 逗号 , 和加号 +

使用方法

单注查询

python3 skills/lottery-checker/scripts/check_lottery.py '{"numbers":"03,15,22,28,33+05,12"}'

多注批量查询(推荐)

python3 skills/lottery-checker/scripts/check_lottery.py '{"numbers":["03,15,22,28,33+05,12","01,02,03,04,05+06,07","09,11,19,30,35+01,12"]}'

JSON格式输出

python3 skills/lottery-checker/scripts/check_lottery.py '{"numbers":["03,15,22,28,33+05,12"],"format":"json"}'

输出示例

UI报表格式

╔══════════════════════════════════════════════════════════════════════╗
║                    🎰 大乐透批量查奖报告                     ║
╠══════════════════════════════════════════════════════════════════════╣
║  📅 第 26018 期    2026-02-11                                      ║
╠══════════════════════════════════════════════════════════════════════╣
║  🎱 开奖号码:                                                        ║
║      前区:09 11 19 30 35                                           ║
║      后区:01 12                                                    ║
╠══════════════════════════════════════════════════════════════════════╣
║  📋 您的号码及中奖情况:                                              ║
║                                                                      ║
║  ┌──────┬────────────────────────────┬────────────┬────────┐  ║
║  │ 序号 │          号码              │  中奖等级  │  状态  │  ║
║  ├──────┼────────────────────────────┼────────────┼────────┤  ║
║  │   1  │    03,15,22,28,33+05,12    │     -      │   ❌   │  ║
║  │   2  │    01,02,03,04,05+06,07    │     -      │   ❌   │  ║
║  │   3  │    09,11,19,30,35+01,12    │   一等奖   │   🎉   │  ║
║  └──────┴────────────────────────────┴────────────┴────────┘  ║
║                                                                      ║
║  ✅ 中奖统计:共 1 注中奖                                            ║
║                                                                      ║
╠══════════════════════════════════════════════════════════════════════╣
║  📊 本期各奖项中奖情况:                                              ║
║                                                                      ║
║  ┌────────────┬──────────────┬──────────────────┐  ║
║  │   奖项     │   中奖注数   │    单注奖金      │  ║
║  ├────────────┼──────────────┼──────────────────┤  ║
║  │   一等奖   │     7        │   669.22万       │  ║
║  │ 一等奖(追加)│     6        │   535.38万       │  ║
║  │   二等奖   │     86       │   20.88万        │  ║
║  └────────────┴──────────────┴──────────────────┘  ║
║                                                                      ║
║  💵 奖池滚存:7.62亿                                                  ║
║  📈 本期销量:3.49亿                                                  ║
║                                                                      ║
╚══════════════════════════════════════════════════════════════════════╝

💡 提示:数据来自中国体彩中心官方API,仅供参考
📌 实际奖金以当地体彩中心兑奖为准

报表内容

  1. 期号信息 - 显示最新期号和开奖日期
  2. 开奖号码 - 清晰展示前区和后区号码
  3. 批量对比 - 表格形式展示所有号码及中奖状态
  4. 中奖统计 - 汇总中奖注数
  5. 奖项详情 - 各奖项中奖注数和单注奖金
  6. 奖池信息 - 显示奖池滚存和本期销量

中奖规则(大乐透)

奖项 前区匹配 后区匹配 奖金
一等奖 5个 2个 浮动(约500万-1000万)
二等奖 5个 1个 浮动(约10万-30万)
三等奖 5个 0个 10,000元
四等奖 4个 2个 3,000元
五等奖 4个 1个 300元
六等奖 3个 2个 200元
七等奖 4个 0个 100元
八等奖 3个+1个 或 2个+2个 15元
九等奖 3个+0个 或 2个+1个 或 1个+2个 或 0个+2个 5元

数据来源

  • 中国体育彩票管理中心官方API
  • 实时更新,与官方同步

注意事项

  1. 号码格式需严格匹配示例格式
  2. 支持同时查询多注号码(推荐批量查询)
  3. 查询结果仅供参考,实际奖金以当地体彩中心公告为准
  4. 如需兑奖,请前往当地体彩销售点或体彩中心
安全使用建议
This skill appears to do what it says (checking lottery numbers against the official API), but the Python script disables SSL certificate verification before making API calls — that reduces transport security and could allow man-in-the-middle interception of the responses. If you want to use it: (1) inspect or run the script in an isolated environment; (2) consider editing the script to remove the lines that set check_hostname=False and verify_mode=ssl.CERT_NONE so HTTPS certificate validation is enforced; (3) verify the sporttery.cn endpoints are acceptable for your use; (4) avoid running it on systems with sensitive data or credentials since it performs network calls. If you cannot or do not want to edit the script, treat the network results as potentially tampered and proceed cautiously.
功能分析
Type: OpenClaw Skill Name: lottery-checker Version: 1.0.0 The skill bundle is classified as suspicious due to a critical security vulnerability found in `scripts/check_lottery.py`. The script disables SSL certificate verification (`ssl.CERT_NONE` and `check_hostname = False`) when making HTTPS requests to the official lottery API (`https://webapi.sporttery.cn/gateway/lottery/getHistoryPageListV1.qry`). This exposes the communication to Man-in-the-Middle (MITM) attacks, allowing an attacker to potentially intercept and tamper with the lottery results, which could mislead the user. While this is a severe flaw, it does not show clear evidence of intentional malicious behavior like data exfiltration or system compromise.
能力评估
Purpose & Capability
Name, description, SKILL.md usage and the included Python script all align: the tool fetches lottery results from sporttery.cn and compares user-provided大乐透 numbers. The script even contains mappings for related lottery types, which is more capability than the SKILL.md highlights but is not inherently problematic.
Instruction Scope
SKILL.md instructs running the bundled Python script with JSON input; the script performs only network queries to the sporttery.cn API and local parsing/formatting. However, the script creates an SSL context with check_hostname=False and verify_mode=ssl.CERT_NONE (disabling certificate verification) before making requests — this weakens transport security and opens the request to silent MITM attacks. The SKILL.md does not mention this behavior.
Install Mechanism
No install spec; the skill is instruction+script only and does not download or install third-party packages or binaries. This is low-risk from an installation perspective.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The network calls go to the official-looking sporttery.cn endpoints declared in the script, which is proportionate to a lottery-checking tool.
Persistence & Privilege
The skill does not request always:true, does not modify system or other skills, and has no install steps that persist credentials or change agent config. Default autonomous invocation is allowed but not combined with broad privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lottery-checker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lottery-checker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the "lottery-checker" tool for China Sports Lottery Super Lotto (大乐透) batch prize checking. - Supports single or batch ticket input with user-friendly number format. - Automatically generates detailed, visually appealing reports showing each ticket's prize status, prize distribution, jackpot, and sales figures. - Provides JSON output option for programmatic access. - Retrieves real-time draw results and prize data from the official China Sports Lottery API. - Offers clear instructions, output examples, and the latest prize matching rules.
元数据
Slug lottery-checker
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

体彩兑奖 是什么?

中国体育彩票查奖工具(大乐透批量查询)。检查用户提供的大乐透号码是否中奖,支持单注或多注批量查询,自动生成精美报表,显示各奖项中奖人数和金额。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 834 次。

如何安装 体彩兑奖?

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

体彩兑奖 是免费的吗?

是的,体彩兑奖 完全免费(开源免费),可自由下载、安装和使用。

体彩兑奖 支持哪些平台?

体彩兑奖 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 体彩兑奖?

由 sudaqinnishui(@sudaqinnishui)开发并维护,当前版本 v1.0.0。

💬 留言讨论