← 返回 Skills 市场
342
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install bazi-pan
功能描述
八字排盘,根据出生年月日时排八字、大运、流年,分析五行强弱与命理特点
使用说明 (SKILL.md)
你是"八字命理"专家。用户提供出生年月日时(农历),你调用脚本进行排盘分析。
核心概念
天干地支
- 十天干:甲、乙、丙、丁、戊、己、庚、辛、壬、癸
- 十二地支:子、丑、寅、卯、辰、巳、午、未、申、酉、戌、亥
五行对应
| 天干 | 五行 | 地支 | 五行 | 藏干 |
|---|---|---|---|---|
| 甲乙 | 木 | 寅卯 | 木 | 甲乙丙戊 |
| 丙丁 | 火 | 巳午 | 火 | 丙戊庚 |
| 戊己 | 土 | 辰戌丑未 | 土 | 乙丙丁戊辛 |
| 庚辛 | 金 | 申酉 | 金 | 庚壬辛 |
| 壬癸 | 水 | 亥子 | 水 | 甲壬 |
日主
- 日干代表本人,称"日主"或"日元"
- 根据日主五行与其他七字的生克关系判断强弱
用神
- 取用神原则:扶抑为主,调候为辅
- 日主强:取官杀、财星为用
- 日主弱:取印星、比劫为用
排盘流程
用户提供:出生年份、月份、日期、时辰(阴历)
调用脚本排盘:
python3 "{baseDir}/bazi.py" 1990 8 15 14:30
输出格式
📊 八字排盘
【基本信息】
出生:1990年 农历八月十五 14:30
性别:男/女(假设)
【八字】
年柱:庚午(马) | 月柱:甲申(猴)
日柱:丙戌(狗) | 时柱:乙未(羊)
【五行分布】
金:1 | 木:2 | 水:1 | 火:2 | 土:2
【日主】
丙火,生于申月(秋),失令...
日主偏弱,喜木火生扶
【用神建议】
用神:木(印星)、火(比劫)
忌神:金(官杀)、水(财星)
【大运】
5岁起运:癸未 壬午 辛巳 ...
---
※ 八字仅供参考,命理需综合判断 ※
约束
- 必须调用脚本获取准确排盘结果
- 五行分析要客观准确
- 用神判断需说明依据
- 提醒:命理仅供参考,不可尽信
安全使用建议
This skill's code is local and does not exfiltrate data or request secrets, but it is internally inconsistent with its documentation: it claims to accept lunar (农历) input and produce accurate charts, yet bazi.py treats inputs as plain integers, uses simplified formulas, and only expects an integer hour (not minutes). Before installing/using: (1) do not rely on its results for important decisions — validate outputs against a trusted 八字 tool or known examples, (2) if you need true lunar-date handling ask the author or update the script to perform lunar<->solar conversion (e.g., using a proven calendar library), and (3) correct the invocation format in SKILL.md (script expects hour as integer). If you are uncomfortable with autonomous invocation, disable model invocation for this skill or require explicit user confirmation before calling it.
功能分析
Type: OpenClaw Skill
Name: bazi-pan
Version: 1.0.0
The skill bundle is a legitimate implementation of a Bazi (Four Pillars of Destiny) calculator. The Python script (bazi.py) performs local mathematical and astrological calculations based on user-provided date and time inputs, with no evidence of network activity, data exfiltration, or malicious execution patterns.
能力评估
Purpose & Capability
The skill description and SKILL.md say it supports农历 (lunar) input and must be used to obtain accurate 排盘 results, but the included bazi.py does not implement any lunar-to-solar conversion or calendar library. The script simply interprets the provided integers as year/month/day/hour and uses simplified formulas (e.g., get_day_gan_index uses a crude linear formula) — this is insufficient for accurate traditional 八字 calculations. The required binaries list only python3 which is proportionate, but the core capability (accurate lunar-based 排盘) is not implemented.
Instruction Scope
SKILL.md instructs invoking the script with an example containing minutes (e.g., 14:30), and states '必须调用脚本获取准确排盘结果'. The script's CLI expects an integer hour (example usage in the script: python bazi.py 1990 8 15 14) and outputs hour:00. The SKILL.md and the script disagree on time format and on whether lunar conversion is handled. The instructions do not direct any unrelated data access or network calls.
Install Mechanism
There is no install spec (instruction-only skill with one local Python script). No external downloads or install steps are requested, so nothing is written to disk beyond the provided file — low install risk.
Credentials
The skill requires only python3 and declares no environment variables, credentials, or config paths. The script does not read environment variables or secrets. Requested environment access is minimal and appropriate for the script.
Persistence & Privilege
always is false and the skill does not request persistent/privileged presence. It does not modify other skills or system configuration. It can be invoked autonomously (platform default), which is noted but not combined with other high-risk indicators.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bazi-pan - 安装完成后,直接呼叫该 Skill 的名称或使用
/bazi-pan触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of bazi-pan skill.
- Provides 八字排盘 (Bazi charting) based on user-supplied birth year, month, day, and time (lunar calendar).
- Analyzes strength of Five Elements and core destiny characteristics.
- Interprets Ten Heavenly Stems, Twelve Earthly Branches, and their element correspondences.
- Offers clear output including birth data, Four Pillars, Five Elements distribution, day master strength, useful god (用神) suggestions, and major luck cycles (大运).
- Reminds users results are for reference only and require comprehensive evaluation.
元数据
常见问题
Bazi Pan 是什么?
八字排盘,根据出生年月日时排八字、大运、流年,分析五行强弱与命理特点. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 342 次。
如何安装 Bazi Pan?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install bazi-pan」即可一键安装,无需额外配置。
Bazi Pan 是免费的吗?
是的,Bazi Pan 完全免费(开源免费),可自由下载、安装和使用。
Bazi Pan 支持哪些平台?
Bazi Pan 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Bazi Pan?
由 Mingo_318(@mingo-318)开发并维护,当前版本 v1.0.0。
推荐 Skills