← Back to Skills Marketplace
ray1012

Liuyao Bagua

by Ray1012 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
224
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install liuyao-bagua
Description
六爻八卦算命技能。当用户请求算命、排盘、八字分析、看卦、看相、命运预测、或提供出生年月日时激活。执行Python脚本进行四柱八字、五行分析、今年卦象解读。
README (SKILL.md)

六爻八卦算命技能

触发条件

用户发送以下内容时激活:

  • "算命"、"排盘"、"八字分析"、"看卦"
  • 提供出生日期:"2000年1月1日出生"
  • 询问命运、运势、事业、财运

使用方式

用户提供出生年月日(年份必须完整,如 1990年),直接调用脚本:

python /root/.openclaw/skills/liuyao-bagua/scripts/liuyao_fortune.py \x3C年> \x3C月> \x3C日> [目标年]

注意:目标年默认为 2026(今年)。用户可指定其他年份。

脚本输出说明

脚本输出包含以下内容,用户会直接看到完整报告:

  1. 基本信息:出生日期、生肖、日主性情
  2. 四柱八字:年柱、月柱、日柱、时柱
  3. 今年卦象:六十四卦中的具体卦象,包含:
    • 卦名、全称、运势等级(大吉/中吉/小吉/平/小凶/凶)
    • 内卦(下卦)+ 外卦(上卦)含义
    • 卦象解释
  4. 五行分析:木火土金水各得分(柱状图)
  5. 命理建议:根据五行强弱给出事业、人际、财运建议

示例对话

用户:1995年3月8日出生,帮我算算今年的运势

回复

好的,我先帮你排盘……(运行脚本,粘贴完整报告)

注意

  • 若用户只提供年份,询问"属什么"→ 只回复生肖+五行即可
  • 若用户出生日期不完整(只有年),告知用户提供完整日期才能排盘
  • 脚本基于六爻八卦理论,输出仅供娱乐参考
Usage Guidance
This skill appears to be a self-contained entertainment fortune-telling tool that runs a local Python script and asks only for a birth date. Before installing or running it: (1) review the full scripts/liuyao_fortune.py file to confirm there are no hidden network calls, file writes, or subprocess spawns (the provided snippet contains only local computation but was truncated); (2) be aware you will be sharing personal data (birth date/time) with the agent — if you consider that sensitive, avoid entering exact birth times; (3) the SKILL.md uses an absolute path (/root/.openclaw/...), ensure the runtime path matches your environment; (4) if you have security concerns, run the script in a sandboxed environment or inspect its complete source before use.
Capability Analysis
Type: OpenClaw Skill Name: liuyao-bagua Version: 1.0.0 The skill provides traditional Chinese fortune-telling (Bazi and Liuyao Bagua) functionality. The Python script `liuyao_fortune.py` performs purely algorithmic calculations based on user-provided birth dates to generate a report, with no network access, file system interaction, or data exfiltration logic. The instructions in `SKILL.md` are well-defined and align with the stated purpose of the skill.
Capability Assessment
Purpose & Capability
Name/description (六爻八卦算命) match the included assets: SKILL.md documents running a Python script and scripts/liuyao_fortune.py implements calendar/stem-branch, five-element scoring, and hexagram lookup. No unrelated cloud APIs, binaries, or credentials are requested.
Instruction Scope
SKILL.md instructs the agent to run the bundled Python script with birthdate arguments and to present the script's textual report to the user. The instructions reference only the script path and the user's birthdate; they do not ask the agent to read arbitrary files, environment variables, or send data externally.
Install Mechanism
No install specification; the skill is instruction+script only. This is the lowest-risk model — nothing is downloaded or written at install time by the skill itself.
Credentials
The skill declares no required env vars, credentials, or config paths and the visible script uses only standard Python libs (sys, json, datetime). There is no apparent need for secrets or external service credentials.
Persistence & Privilege
Flags are defaults (always: false, user-invocable: true). The skill does not request permanent presence or elevated privileges and does not modify other skills or global agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install liuyao-bagua
  3. After installation, invoke the skill by name or use /liuyao-bagua
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the liuyao-bagua skill for 六爻八卦算命 - Supports 四柱八字、五行分析、今年卦象解读 through a Python script when users request fortune-telling or provide birth details - Activates on keywords like "算命", "排盘", "八字分析", or date of birth inquiries - Provides detailed fortune analysis including basic info, 八字 pillars, 卦象 with explanations, 五行 scores, and practical fortune advice - Handles incomplete inputs gracefully and reminds users to provide full birth details for accurate readings
Metadata
Slug liuyao-bagua
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Liuyao Bagua?

六爻八卦算命技能。当用户请求算命、排盘、八字分析、看卦、看相、命运预测、或提供出生年月日时激活。执行Python脚本进行四柱八字、五行分析、今年卦象解读。 It is an AI Agent Skill for Claude Code / OpenClaw, with 224 downloads so far.

How do I install Liuyao Bagua?

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

Is Liuyao Bagua free?

Yes, Liuyao Bagua is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Liuyao Bagua support?

Liuyao Bagua is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Liuyao Bagua?

It is built and maintained by Ray1012 (@ray1012); the current version is v1.0.0.

💬 Comments