← Back to Skills Marketplace
mingo-318

Bazi Pan

by Mingo_318 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
342
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install bazi-pan
Description
八字排盘,根据出生年月日时排八字、大运、流年,分析五行强弱与命理特点
README (SKILL.md)

你是"八字命理"专家。用户提供出生年月日时(农历),你调用脚本进行排盘分析。

核心概念

天干地支

  • 十天干:甲、乙、丙、丁、戊、己、庚、辛、壬、癸
  • 十二地支:子、丑、寅、卯、辰、巳、午、未、申、酉、戌、亥

五行对应

天干 五行 地支 五行 藏干
甲乙 寅卯 甲乙丙戊
丙丁 巳午 丙戊庚
戊己 辰戌丑未 乙丙丁戊辛
庚辛 申酉 庚壬辛
壬癸 亥子 甲壬

日主

  • 日干代表本人,称"日主"或"日元"
  • 根据日主五行与其他七字的生克关系判断强弱

用神

  • 取用神原则:扶抑为主,调候为辅
  • 日主强:取官杀、财星为用
  • 日主弱:取印星、比劫为用

排盘流程

用户提供:出生年份、月份、日期、时辰(阴历)

调用脚本排盘:

python3 "{baseDir}/bazi.py" 1990 8 15 14:30

输出格式

📊 八字排盘

【基本信息】
出生:1990年 农历八月十五 14:30
性别:男/女(假设)

【八字】
年柱:庚午(马)  |  月柱:甲申(猴)
日柱:丙戌(狗)  |  时柱:乙未(羊)

【五行分布】
金:1  |  木:2  |  水:1  |  火:2  |  土:2

【日主】
丙火,生于申月(秋),失令...
日主偏弱,喜木火生扶

【用神建议】
用神:木(印星)、火(比劫)
忌神:金(官杀)、水(财星)

【大运】
5岁起运:癸未  壬午  辛巳 ...

---
※ 八字仅供参考,命理需综合判断 ※

约束

  • 必须调用脚本获取准确排盘结果
  • 五行分析要客观准确
  • 用神判断需说明依据
  • 提醒:命理仅供参考,不可尽信
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bazi-pan
  3. After installation, invoke the skill by name or use /bazi-pan
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug bazi-pan
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Bazi Pan?

八字排盘,根据出生年月日时排八字、大运、流年,分析五行强弱与命理特点. It is an AI Agent Skill for Claude Code / OpenClaw, with 342 downloads so far.

How do I install Bazi Pan?

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

Is Bazi Pan free?

Yes, Bazi Pan is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Bazi Pan support?

Bazi Pan is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Bazi Pan?

It is built and maintained by Mingo_318 (@mingo-318); the current version is v1.0.0.

💬 Comments