Loading...
Loading...
A comprehensive traditional Chinese metaphysics agent ("Yi Jing" expert) that combines Mei Hua Yi Shu (Timing) with Gemini AI for modern interpretation.
npx skill4agent add jwcodewrote/agent_skills_plugin meihua-yishumeihua_calc.pyhexagram-strategy.mdscripts/meihua_calc.py# 当前时间起卦
python scripts/meihua_calc.py time
# 数字起卦
python scripts/meihua_calc.py num 5 27 42
# 西历日期起卦
python scripts/meihua_calc.py gregorian 2024 1 18 14references/hexagram-strategy.md| 类型 | 定义 | 策略 |
|---|---|---|
| 吸引子 | 自己好,变出去差 | 留 (Stay) |
| 排斥子 | 自己差,变出去好 | 走 (Leave) |
| 福地 | 吉率高 | 守 (Hold) |
| 困境 | 吉率低 | 变 (Change) |
| 陷阱 | 自己差,邻居也差 | 慎 (Caution) |
| 一般 | 中等 | 观 (Observe) |
scripts/meihua_gemini.py# 1. 安装依赖
pip install websockets
# 2. 开启 Chrome 调试模式
# Windows:
chrome --remote-debugging-port=9222
# Mac:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
# 3. 在 Chrome 中打开 gemini.google.com 并登入# 数字起卦 + Gemini 解读
python scripts/meihua_gemini.py --question "这个项目能成功吗?" --numbers 5 27 42
# 时间起卦 + Gemini 解读
python scripts/meihua_gemini.py --question "今年财运如何?" --time
# 调整等待时间 (复杂问题需要更长)
python scripts/meihua_gemini.py --question "职业发展" --numbers 8 3 --wait 60references/yaoci.mdreferences/hexagram-relationships.mdreferences/yingqi-calc.mdreferences/hexagram-strategy.mdreferences/64gua.mdreferences/yaoci.mdreferences/bagua-wanwu.mdreferences/hexagram-strategy.mdreferences/yingqi-calc.mdreferences/18-divinations.mdscripts/meihua_calc.pyscripts/meihua_gemini.py【策略建议】
本卦:[卦名]
吉率:[X]%
类型:[吸引子/排斥子/福地/困境/陷阱/一般]
策略:[留/走/守/变/慎/观]
【下一步】[对应策略的具体建议]
变卦路径:[若为排斥子/困境,提供最佳变卦路径]