← Back to Skills Marketplace
eamonnn101

彩票测算器

by Eamonnn101 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
213
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install lottery-divination
Description
梅花易数彩票测算器。根据用户提问时的当前时间,起出梅花易数的本卦、互卦、变卦,并将其转化为双色球(ssq)或大乐透(dlt)的推荐号码。当用户提到「算一注彩票」「帮我选号」「梅花易数选号」「双色球/大乐透推荐号码」「今天买什么号」「算卦选号」「卜一注」「来一注」或任何涉及用易学/玄学方法生成彩票号码的请求时,触发...
README (SKILL.md)

梅花易数彩票测算器

概述

此技能基于梅花易数·时间起卦法,将当前时刻的「天机」转化为彩票推荐号码。核心流程:

  1. 获取当前时间(精确到小时)
  2. 运行 scripts/divination.py 起卦并生成号码
  3. 将 JSON 结果格式化为带有玄学意境的回复

使用步骤

Step 1: 确定彩票类型

如果用户没有明确指定,先询问:

  • 双色球 (ssq): 红球 6 个 (1-33) + 蓝球 1 个 (1-16)
  • 大乐透 (dlt): 前区 5 个 (1-35) + 后区 2 个 (1-12)

Step 2: 获取当前时间并运行脚本

# 获取当前时间
CURRENT_TIME=$(date +"%Y-%m-%d-%H")

# 运行起卦脚本, \x3Ctype> 替换为 ssq 或 dlt
python3 \x3Cskill_path>/scripts/divination.py \x3Ctype> $CURRENT_TIME

脚本输出为 JSON,包含 divination(卦象信息)和 lottery(号码信息)两部分。

Step 3: 格式化输出

将 JSON 结果组织为以下结构回复用户(使用中文,风格略带古意但不晦涩):

卦象部分(简洁展示):

  • 起卦时间与依据(年数、月数、日数、时数)
  • 本卦: 名称 + 卦符 + 上下卦五行
  • 互卦: 名称 + 卦符(一句话解释互卦代表事物发展中段)
  • 变卦: 名称 + 卦符 + 动爻位置(一句话解释变卦代表最终趋势)

号码部分(醒目展示):

  • 直接展示 lottery.format 字段的内容
  • 用加粗或清晰格式让号码一目了然

免责声明 + 金额提示(每次必须附带):

⚠️ 免责声明:梅花易数选号纯属娱乐,彩票本质为随机概率事件。建议单次投入不超过 10~20 元,图个乐呵就好,切勿沉迷,量力而行。

输出风格参考

🔮 梅花易数 · 时间起卦

起卦时刻:2026年03月22日 15:00(丙午年·申时)
取数依据:年数7 + 月数5 + 日数22 + 时数9

━━ 卦象 ━━

本卦:泽火革 ☱☲(上金下火,革故鼎新之象)
互卦:天风姤 ☰☴(事态发展中,有不期而遇之机)
变卦:泽山咸 ☱☶(动爻在初爻,终局感应相通,心意相合)

━━ 双色球推荐号码 ━━

红球: 04 10 15 16 23 32  |  蓝球: 05

💰 小贴士:买个 10~20 块的,娱乐一下就好,中不中都开心!

⚠️ 免责声明:梅花易数选号纯属娱乐,彩票本质为随机概率事件。切勿沉迷,量力而行。

注意事项

  • 每个整点时辰内,同类型彩票的结果是确定的(因为种子由时间决定),这符合「同一天机不可重复泄露」的玄学逻辑
  • 如果用户短时间内多次请求同一类型,号码会相同 — 这是设计如此,可告知用户「天机已定,此时辰内卦象不变」
  • 卦象的简要解读可以自由发挥,但保持简洁,2-3 句话即可,不要长篇大论
  • 始终附带免责声明,这是硬性要求
Usage Guidance
This skill appears coherent and self-contained: it computes divination from the current time and deterministically generates lottery numbers, and it does not request secrets or contact external services. Before installing, consider: (1) review the full script yourself (or run it in a sandbox) — the code includes contradictory comments and multiple reassignments in the gua/爻 logic, which suggest possible bugs or unintended mapping mistakes; (2) outputs are deterministic per time seed (same number within the same hour), which is expected by design; (3) there is an inherent ethical/financial risk — the skill encourages gambling, so ensure you present the provided disclaimer to users and avoid promoting heavy spending; and (4) if you want extra assurance, run the script locally to confirm it prints only JSON and no network activity or unexpected file writes.
Capability Analysis
Type: OpenClaw Skill Name: lottery-divination Version: 1.0.1 The skill is a lottery number generator based on traditional Chinese 'Meihua Yishu' divination. The Python script (scripts/divination.py) implements pure mathematical and astrological logic to derive numbers from timestamps without any network access, file system interaction, or sensitive data exposure. The instructions in SKILL.md are well-aligned with the stated purpose and include appropriate disclaimers regarding gambling.
Capability Assessment
Purpose & Capability
Name/description, SKILL.md instructions, and the bundled Python script all align: they compute a time-seeded divination (卦) and map it to lottery numbers (ssq/dlt). There are no declared environment variables or unrelated requirements.
Instruction Scope
SKILL.md directs the agent to get the current time and run scripts/divination.py with the chosen lottery type and time; format the returned JSON and always include a disclaimer. The instructions do not ask the agent to read unrelated files, access other credentials, or send data to external endpoints.
Install Mechanism
No install spec — the skill is instruction-plus-a-script. The script is run directly with python3. There are no remote downloads or package installations specified in the skill metadata.
Credentials
The skill declares no required environment variables, uses no credentials, and the script as provided only uses standard libraries (sys, json, hashlib, random, datetime). There is no evidence of access to unrelated secrets or config.
Persistence & Privilege
Skill flags are default (not always:true). It does not request persistent system presence, nor does it modify other skills or system-level configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install lottery-divination
  3. After installation, invoke the skill by name or use /lottery-divination
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- 增强免责声明及提示:新增关于理性购彩和建议投入金额的说明,推荐单次购买彩票不超过10~20元。 - 输出示例中加入💰娱乐提示,鼓励用户“中不中都开心”。 - 免责声明文本调整,更突出购彩娱乐性与风险警示。 - 其余核心流程、使用步骤和回复结构保持不变。
v1.0.0
- Initial release of the 梅花易数彩票测算器 skill. - Transforms current time into 六十四卦 to generate recommended numbers for 双色球 or 大乐透 based on Meihua Yishu divination. - Automatically triggers on any request involving lottery number selection via 易学/玄学 methods, even with casual user phrases. - Presents卦象 details (本卦、互卦、变卦) alongside formatted lottery numbers in an ancient-inspired, easy-to-understand style. - Always includes a mandatory disclaimer emphasizing entertainment and responsible participation.
Metadata
Slug lottery-divination
Version 1.0.1
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is 彩票测算器?

梅花易数彩票测算器。根据用户提问时的当前时间,起出梅花易数的本卦、互卦、变卦,并将其转化为双色球(ssq)或大乐透(dlt)的推荐号码。当用户提到「算一注彩票」「帮我选号」「梅花易数选号」「双色球/大乐透推荐号码」「今天买什么号」「算卦选号」「卜一注」「来一注」或任何涉及用易学/玄学方法生成彩票号码的请求时,触发... It is an AI Agent Skill for Claude Code / OpenClaw, with 213 downloads so far.

How do I install 彩票测算器?

Run "/install lottery-divination" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 彩票测算器 free?

Yes, 彩票测算器 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 彩票测算器 support?

彩票测算器 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 彩票测算器?

It is built and maintained by Eamonnn101 (@eamonnn101); the current version is v1.0.1.

💬 Comments