← 返回 Skills 市场
qichenx

六爻预测

作者 QiChen · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
139
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install liuyao-divination
功能描述
提供专业六爻预测功能,进行中国传统易学占卜。支持起卦、排盘、纳甲、寻世应、定六亲、配六神及吉凶判断。使用此 skill 可以获得完整的六爻卦象,包含本卦、变卦、世爻应爻、六亲、六神、空亡信息和吉凶预测。触发词:六爻预测、六爻占卜、起卦、排盘、/liuyao
使用说明 (SKILL.md)

六爻预测 Skill

概述

通过 Python 脚本完成完整六爻占卜流程:起卦 → 排盘 → 纳甲 → 定六亲 → 配六神 → 吉凶判断。

使用方法

脚本路径:/home/node/.openclaw/skills/liuyao-divination/liuyao_standalone.py

执行起卦

python3 /home/node/.openclaw/skills/liuyao-divination/liuyao_standalone.py "占卜问题" --sex 男

参数说明:

  • 第一个参数:所占事项(问题描述)
  • --sex:卦主性别(男/女,默认男)

输出格式

【占卜问题】{question}
【卦主】{sex}

【日期】{year}年 {month}月 {day}日 {hour}时
【旬空】{lacks}

【本卦六爻】
上爻:{state} {六亲}{纳甲} {六神} {世/应}
五爻:...
(从上至下排列)

【变卦六爻】(如有变爻则显示)
...

【卦宫】{宫名}
【世爻】第X爻
【应爻】第X爻
【缺失六亲】{defects}

【吉凶判断】
结果:{大吉/吉/小吉/平/小凶/凶/大凶}
分析:{详细说明}

六爻基础知识

  • 六爻顺序:初爻 → 二爻 → 三爻 → 四爻 → 五爻 → 上爻
  • 六亲:父母、官鬼、兄弟、妻财、子孙
  • 六神:青龙、朱雀、勾陈、腾蛇、白虎、玄武
  • 吉凶等级:大吉、吉、小吉、平、小凶、凶、大凶

用神参考

用神 所主事项
妻财 求财、婚姻、财物、投资
官鬼 功名、官职、工作、疾病、诉讼
父母 长辈、房屋、文书、考试
子孙 晚辈、医药、出行、解忧
兄弟 朋友、竞争、合作

工作流程

  1. 用户提出占卜问题和性别
  2. 执行 liuyao_standalone.py 获取卦象数据
  3. 将输出结果整理成易读格式呈现给用户
  4. 结合用神参考给出专业解读建议

相关链接

安全使用建议
This skill appears to be a self-contained, local Python implementation of 六爻占卜 with no network calls or credential requests. Before installing: (1) If you care about provenance, verify the referenced GitHub repo and review the full repository; the package owner is unknown and homepage is empty. (2) The script optionally tries to use the lunar-python package—install it if you want more accurate lunar/八字 results. (3) As with any skill that runs code, run it in a safe environment (or inspect the included files) if you have security concerns. Overall there are no red flags for unexpected data exfiltration or privilege escalation.
功能分析
Type: OpenClaw Skill Name: liuyao-divination Version: 1.0.1 The skill bundle provides a legitimate implementation of traditional Chinese Liu Yao divination. The Python scripts (liuyao_standalone.py and liuyao_skill.py) contain complex but domain-appropriate logic for calculating hexagrams, elements, and interpretations based on user input and time. The code uses standard libraries for hashing and randomization and lacks any indicators of data exfiltration, malicious execution, or prompt injection. All instructions in SKILL.md and skill.yaml are consistent with the stated purpose of providing a divination assistant.
能力评估
Purpose & Capability
The name/description (六爻预测) match the provided Python implementation and SKILL.md: both implement 起卦/排盘/纳甲/配六神/吉凶判断. Files and instructions are proportional to that purpose.
Instruction Scope
SKILL.md directs the agent to run the included local script and format its output. The instructions reference only the local script path and result formatting; they do not ask the agent to read unrelated files, environment variables, or transmit data to external endpoints.
Install Mechanism
No install spec is present (instruction-only with included source files). The package uses only standard-library imports or an optional lunar-python dependency; no third-party downloads or obscure URLs are used.
Credentials
The skill declares no required environment variables, credentials, or config paths. The code does not read env vars or request secrets; optional dependency (lunar-python) is for calendar calculations only.
Persistence & Privilege
Skill is not forced-always (always: false) and uses the platform's default autonomous invocation setting. It does not attempt to modify other skills or system-wide configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install liuyao-divination
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /liuyao-divination 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Updated documentation to include related links for the GitHub repository and ClawHub showcase.
v1.0.0
liuyao-divination v1.0.0 - Initial release providing professional Chinese Liu Yao (六爻) divination. - Supports full prediction workflow: question entry, hexagram casting, plate layout, Na Jia, relationship assignment, six spirits matching, and fortune judgment. - Outputs detailed hexagram information, including moving/static lines, relationships (six kin), six spirits, void lines, and auspiciousness prediction. - Command-line usage included with flexible question and gender settings. - Provides formatted result dashboards and a concise reference for Yi Jing and Liu Yao basics.
元数据
Slug liuyao-divination
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

六爻预测 是什么?

提供专业六爻预测功能,进行中国传统易学占卜。支持起卦、排盘、纳甲、寻世应、定六亲、配六神及吉凶判断。使用此 skill 可以获得完整的六爻卦象,包含本卦、变卦、世爻应爻、六亲、六神、空亡信息和吉凶预测。触发词:六爻预测、六爻占卜、起卦、排盘、/liuyao. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 139 次。

如何安装 六爻预测?

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

六爻预测 是免费的吗?

是的,六爻预测 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

六爻预测 支持哪些平台?

六爻预测 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 六爻预测?

由 QiChen(@qichenx)开发并维护,当前版本 v1.0.1。

💬 留言讨论