← 返回 Skills 市场
彩票测算器
作者
Eamonnn101
· GitHub ↗
· v1.0.1
· MIT-0
213
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install lottery-divination
功能描述
梅花易数彩票测算器。根据用户提问时的当前时间,起出梅花易数的本卦、互卦、变卦,并将其转化为双色球(ssq)或大乐透(dlt)的推荐号码。当用户提到「算一注彩票」「帮我选号」「梅花易数选号」「双色球/大乐透推荐号码」「今天买什么号」「算卦选号」「卜一注」「来一注」或任何涉及用易学/玄学方法生成彩票号码的请求时,触发...
使用说明 (SKILL.md)
梅花易数彩票测算器
概述
此技能基于梅花易数·时间起卦法,将当前时刻的「天机」转化为彩票推荐号码。核心流程:
- 获取当前时间(精确到小时)
- 运行
scripts/divination.py起卦并生成号码 - 将 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 句话即可,不要长篇大论
- 始终附带免责声明,这是硬性要求
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lottery-divination - 安装完成后,直接呼叫该 Skill 的名称或使用
/lottery-divination触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
彩票测算器 是什么?
梅花易数彩票测算器。根据用户提问时的当前时间,起出梅花易数的本卦、互卦、变卦,并将其转化为双色球(ssq)或大乐透(dlt)的推荐号码。当用户提到「算一注彩票」「帮我选号」「梅花易数选号」「双色球/大乐透推荐号码」「今天买什么号」「算卦选号」「卜一注」「来一注」或任何涉及用易学/玄学方法生成彩票号码的请求时,触发... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 213 次。
如何安装 彩票测算器?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lottery-divination」即可一键安装,无需额外配置。
彩票测算器 是免费的吗?
是的,彩票测算器 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
彩票测算器 支持哪些平台?
彩票测算器 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 彩票测算器?
由 Eamonnn101(@eamonnn101)开发并维护,当前版本 v1.0.1。
推荐 Skills