八字命理分析

v1.0.0

八字命理分析技能。当用户想要进行八字排盘、命理分析、五行分析、大运流年推算、 子女运势预测、婚姻分析、事业财运分析等任何与八字/四柱/命理/算命相关的事情时, 使用此技能。触发场景包括:用户提供出生年月日时要求看八字、询问命理运势、 想了解五行喜忌、问姻缘/婚姻/子女/事业/财运等命理问题。支持农历和公历输入,...

1· 84·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for fbbyqsyea/bazi-analysis-cn.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "八字命理分析" (fbbyqsyea/bazi-analysis-cn) from ClawHub.
Skill page: https://clawhub.ai/fbbyqsyea/bazi-analysis-cn
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install bazi-analysis-cn

ClawHub CLI

Package manager switcher

npx clawhub@latest install bazi-analysis-cn
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (Bazi命理分析) match the included instructions and code: the skill performs 八字排盘、五行/大运/流年等分析 using the lunar_python library. All requested inputs (birth date, hour, gender, analysis focus) are appropriate for this purpose.
Instruction Scope
SKILL.md instructs collecting personal data (birth date/time and gender), which is required for Bazi analysis. It also instructs creating a temporary venv and pip-installing lunar_python — reasonable. Minor inconsistency: SKILL.md shows a positional-argument invocation (python3 scripts/bazi_analysis.py <年> <月> <日> <性别> ...) while the script's docstring and argparse indicate named flags (--year, --month, --day, --gender). This is an implementation/documentation mismatch that may confuse users but is not malicious.
Install Mechanism
No install spec in registry; SKILL.md recommends creating a venv and pip installing the well-known PyPI package lunar_python. That is a standard install path. Note: pip will download from PyPI (network fetch) — normal but you may want to verify the lunar_python package version/source before installing.
Credentials
The skill requests no environment variables, credentials, or config paths. It does ask for sensitive personal inputs (exact birth date/time), which are necessary for the function. There is no evidence the skill exfiltrates these values to external endpoints.
Persistence & Privilege
always is false and the skill does not request persistent system privileges. The only filesystem action suggested is creating a temporary venv under /tmp if the user follows SKILL.md; the code does not modify other skills or system configurations.
Assessment
Before installing/running: 1) Review scripts/bazi_analysis.py yourself (it appears benign but has a few logic/Index bugs unrelated to security). 2) Install lunar_python in an isolated virtualenv (SKILL.md suggests /tmp/bazi_venv) and verify the lunar_python package on PyPI. 3) Be aware you will provide personal data (birth date/time); avoid sharing sensitive exact timestamps in public contexts. 4) Use the script's --help or check the argparse flags (SKILL.md's positional example doesn't match the script's flag-based interface). 5) If you require stronger isolation, run the script inside a disposable container or VM.

Like a lobster shell, security has layers — review code before you run it.

latestvk974842fgqahtpycp6ngehzjrx85ac8e
84downloads
1stars
1versions
Updated 5d ago
v1.0.0
MIT-0

八字命理分析

基于 lunar_python 库进行八字排盘和命理分析。

前置条件

需要 lunar_python 库。如果未安装,运行:

python3 -m venv /tmp/bazi_venv && source /tmp/bazi_venv/bin/activate && pip install lunar_python

使用流程

1. 收集用户信息

向用户确认以下信息:

  • 出生日期:公历或农历(年/月/日)
  • 出生时辰:如果知道的话(子时23-1点、丑时1-3点...午时11-13点等)
  • 性别:影响大运顺逆排
  • 分析目的:想看哪方面(综合/子女/婚姻/事业/财运等)

2. 运行分析脚本

使用 scripts/bazi_analysis.py 脚本进行分析:

python3 scripts/bazi_analysis.py <年> <月> <日> <性别> [--lunar] [--hour <时>] [--focus <分析重点>]

参数说明:

  • <年> <月> <日>: 出生日期
  • <性别>: 男 或 女
  • --lunar: 如果输入的是农历日期(默认公历)
  • --hour: 出生时辰(0-23),可选
  • --focus: 分析重点(综合/子女/婚姻/事业/财运),默认综合

3. 解读结果

根据脚本输出,结合命理知识进行解读:

八字排盘

  • 四柱(年柱、月柱、日柱、时柱)
  • 日主(日干,代表命主自己)
  • 五行纳音

十神分析

  • 比肩、劫财、食神、伤官、偏财、正财、七杀、正官、偏印、正印
  • 各十神代表的含义和对应关系

大运分析

  • 起运年龄
  • 各步大运的干支和对应年龄段

流年分析

  • 近3-5年的流年干支
  • 流年与命局的关系(合、冲、刑等)
  • 针对用户关注领域的专项分析

4. 给出建议

结合命理分析和现实情况,给出合理建议。始终提醒:

  • 八字属于传统文化,结果仅供参考
  • 科学态度和实际行动才是最重要的
  • 不要过度依赖命理预测

命理知识参考

十神含义

十神男命代表女命代表通用含义
正官女儿丈夫权力、地位、约束
七杀儿子情人压力、竞争、魄力
正印母亲母亲学识、保护、贵人
偏印继母继母偏门学识、灵感
食神晚辈女儿才华、享受、口福
伤官晚辈儿子创意、叛逆、表达
正财妻子父亲稳定收入、务实
偏财父亲父亲意外之财、投机
比肩兄弟兄弟同辈、竞争、合作
劫财姐妹姐妹破耗、争夺、冲动

地支关系

六合:子丑、寅亥、卯戌、辰酉、巳申、午未 三合:申子辰(水)、寅午戌(火)、巳酉丑(金)、亥卯未(木) 六冲:子午、丑未、寅申、卯酉、辰戌、巳亥

五行相生相克

  • 相生:木→火→土→金→水→木
  • 相克:木→土→水→火→金→木

注意事项

  1. 时辰重要性:时柱代表子女宫,没有时辰的分析不够完整
  2. 日主强弱:需要综合判断日主旺衰,才能准确分析喜用神
  3. 多柱配合:不能只看单一柱,要综合四柱和大运流年
  4. 理性态度:命理分析仅供参考,不要迷信

Comments

Loading comments...