← Back to Skills Marketplace
qichenx

六爻预测

by QiChen · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
139
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install liuyao-divination
Description
提供专业六爻预测功能,进行中国传统易学占卜。支持起卦、排盘、纳甲、寻世应、定六亲、配六神及吉凶判断。使用此 skill 可以获得完整的六爻卦象,包含本卦、变卦、世爻应爻、六亲、六神、空亡信息和吉凶预测。触发词:六爻预测、六爻占卜、起卦、排盘、/liuyao
README (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. 结合用神参考给出专业解读建议

相关链接

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install liuyao-divination
  3. After installation, invoke the skill by name or use /liuyao-divination
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug liuyao-divination
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 六爻预测?

提供专业六爻预测功能,进行中国传统易学占卜。支持起卦、排盘、纳甲、寻世应、定六亲、配六神及吉凶判断。使用此 skill 可以获得完整的六爻卦象,包含本卦、变卦、世爻应爻、六亲、六神、空亡信息和吉凶预测。触发词:六爻预测、六爻占卜、起卦、排盘、/liuyao. It is an AI Agent Skill for Claude Code / OpenClaw, with 139 downloads so far.

How do I install 六爻预测?

Run "/install liuyao-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 QiChen (@qichenx); the current version is v1.0.1.

💬 Comments