
bazi-mingli
Bazi (Four Pillars of Destiny) divination skill. Use when users request birth chart analysis, fortune telling based on birth date/time, or Chinese astrology. Triggers on: Bazi, four pillars, natal chart, chart calculation, fortune telling, fate analysis, birth details, Heavenly Stems and Earthly Branches, Five Elements, annual fortune, major luck cycles, bazi, four pillars, Chinese astrology, birth chart.
Related Skills
Bazi (Four Pillars of Destiny) divination skill. Use when users request birth chart analysis, fortune telling based on birth date/time, or Chinese astrology. Triggers on: Bazi, four pillars, natal chart, chart calculation, fortune telling, fate analysis, birth details, Heavenly Stems and Earthly Branches, Five Elements, annual fortune, major luck cycles, bazi, four pillars, Chinese astrology, birth chart.
Bazi Divination Skill (Bazi Mingli)
A professional chart plotting and reading system for Bazi (Four Pillars of Destiny). Rooted in traditional Chinese astrology, it calculates life fate and fortune trends using the Heavenly Stems and Earthly Branches combination of a person's birth year, month, day, and hour.
When to Use
Enable this skill when users request the following types of assistance:
- Chart Plotting: Requests for Bazi chart plotting, natal chart lookup, or birth chart analysis.
- Astrology Consultations: Inquiries regarding Five Elements, Ten Gods, major luck cycles, or annual luck.
- Fortune Predictions: Career, wealth, marriage, relationship, or health fortunes.
- Keyword Triggers: "Bazi", "Four Pillars", "natal chart", "chart plotting", "fortune telling", "astrology", "Five Elements", "luck cycle", "annual fortune".
Core Features
- Bazi Chart Plotting (Year Pillar, Month Pillar, Day Pillar, Hour Pillar)
- Five Elements Analysis (Distribution of Metal, Wood, Water, Fire, and Earth)
- Ten Gods Configuration Analysis
- Day Master Strength Assessment
- Useful God (Yongshen) and Favorable/Unfavorable Elements Determination
- Major Luck Cycles and Annual Fortune Predictions
- Specialized Analysis for Marriage, Career, Wealth, and Health
Skill Structure
/bazi-mingli/
├── SKILL.md ← This document (core guide)
├── ETHICS.md ← Ethical guidelines
├── README.md ← Project overview
├── references/
│ ├── tiangan-dizhi.md ← Heavenly Stems & Earthly Branches basics
│ ├── wuxing-shengke.md ← Five Elements interactions detailed
│ ├── shishen.md ← Ten Gods definitions & applications
│ ├── rizhu-qiangruo.md ← Day Master strength determination
│ ├── yongshen.md ← Useful God principles
│ ├── dayun-liunian.md ← Luck cycles & annual fortune calculation
│ ├── hunyin-ganqing.md ← Special topic: Marriage & relationships
│ ├── shiye-caiyun.md ← Special topic: Career & wealth
│ ├── jiankang.md ← Special topic: Health & illness
│ └── geju-fenxi.md ← Chart structure analysis overview
└── scripts/
└── bazi_calc.py ← Bazi calculation tool
User Guidance
First-Time Prompt
When a user requests a chart calculation for the first time, prompt for full birth information:
🎋 Bazi Chart Plotting System
Please provide your birth information:
1. Date of Birth (Solar/Gregorian): Year/Month/Day
2. Time of Birth: Hour:Minute (the more accurate, the better)
3. Gender: Male/Female
4. Birth Location (Optional, used for time zone correction)
📌 Notes:
- If you know your Lunar birth date, please specify.
- If the exact birth hour is uncertain, a time range can be provided.
- The birth time affects the accuracy of the Hour Pillar.
Proactive Inquiry on Topics of Interest
After chart calculation is complete, guide the user to focus on specific topics:
Your chart has been plotted. You can ask about:
📈 Career Development & Professional Direction
💰 Financial Situation & Investment Advice
💕 Marriage, Relationships & Interpersonal Dynamics
🏥 Health Status & Wellness Advice
📅 Annual Fortune for This Year/Next Year
🔮 Major Decisions at Specific Points in Time
Please tell me which topic interests you the most.
Lunar Calendar and Solar Terms Explanation
Important Reminder
The Month Pillar in Bazi is based on Solar Terms, not the first day of the Lunar month.
Solar Term Transition Table
| Solar Term | Approx. Date | Month Pillar Start |
|---|---|---|
| Lichun (Start of Spring) | Feb 3–5 | Yin Month starts |
| Jingzhe (Awakening of Insects) | Mar 5–7 | Mao Month starts |
| Qingming (Clear and Bright) | Apr 4–6 | Chen Month starts |
| Lixia (Start of Summer) | May 5–7 | Si Month starts |
| Mangzhong (Grain in Ear) | Jun 5–7 | Wu Month starts |
| Xiaoshu (Minor Heat) | Jul 6–8 | Wei Month starts |
| Liqiu (Start of Autumn) | Aug 7–9 | Shen Month starts |
| Bailu (White Dew) | Sep 7–9 | You Month starts |
| Hanlu (Cold Dew) | Oct 8–9 | Xu Month starts |
| Lidong (Start of Winter) | Nov 7–8 | Hai Month starts |
| Daxue (Major Snow) | Dec 6–8 | Zi Month starts |
| Xiaohan (Minor Cold) | Jan 5–7 | Chou Month starts |
Year Pillar Transition
- The Year Pillar shifts at Lichun (Start of Spring), not the Lunar New Year's Day.
- Individuals born before Lichun belong to the previous year's Year Pillar.
Two-Hour Period (Shichen) Reference Table
| Shichen | Earthly Branch | Modern Time |
|---|---|---|
| Zi Hour | Zi | 23:00 - 00:59 |
| Chou Hour | Chou | 01:00 - 02:59 |
| Yin Hour | Yin | 03:00 - 04:59 |
| Mao Hour | Mao | 05:00 - 06:59 |
| Chen Hour | Chen | 07:00 - 08:59 |
| Si Hour | Si | 09:00 - 10:59 |
| Wu Hour | Wu | 11:00 - 12:59 |
| Wei Hour | Wei | 13:00 - 14:59 |
| Shen Hour | Shen | 15:00 - 16:59 |
| You Hour | You | 17:00 - 18:59 |
| Xu Hour | Xu | 19:00 - 20:59 |
| Hai Hour | Hai | 21:00 - 22:59 |
Bazi Chart Plotting Basics
Heavenly Stems (10 Stems)
| Heavenly Stem | Jia | Yi | Bing | Ding | Wu | Ji | Geng | Xin | Ren | Gui |
|---|---|---|---|---|---|---|---|---|---|---|
| Five Elements | Wood | Wood | Fire | Fire | Earth | Earth | Metal | Metal | Water | Water |
| Yin/Yang | Yang | Yin | Yang | Yin | Yang | Yin | Yang | Yin | Yang | Yin |
| Sequence | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Earthly Branches (12 Branches)
| Earthly Branch | Zi | Chou | Yin | Mao | Chen | Si | Wu | Wei | Shen | You | Xu | Hai |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Five Elements | Water | Earth | Wood | Wood | Earth | Fire | Fire | Earth | Metal | Metal | Earth | Water |
| Zodiac | Rat | Ox | Tiger | Rabbit | Dragon | Snake | Horse | Goat | Monkey | Rooster | Dog | Pig |
| Hidden Stems | Gui | Ji, Gui, Xin | Jia, Bing, Wu | Yi | Wu, Yi, Gui | Bing, Wu, Geng | Ding, Ji | Ji, Ding, Yi | Geng, Ren, Wu | Xin | Wu, Xin, Ding | Ren, Jia |
Four Pillars Construction Method
- Year Pillar: Stem-Branch of the birth year (delimited by Lichun).
- Month Pillar: Stem-Branch of the birth month (delimited by Solar Terms).
- Day Pillar: Stem-Branch of the birth day (delimited by Zi hour/midnight).
- Hour Pillar: Stem-Branch of the birth hour.
Month Pillar Heavenly Stem Calculation Mnemonics
For Jia and Ji years, Bing leads the month,
For Yi and Geng years, Wu takes the start,
For Bing and Xin years, Geng begins the march,
For Ding and Ren years, Ren-Yin flows in turn,
For Wu and Gui years, Jia-Yin sets the pace.
| Year Stem | 1st Month (Yin Month) Stem |
|---|---|
| Jia, Ji | Bing |
| Yi, Geng | Wu |
| Bing, Xin | Geng |
| Ding, Ren | Ren |
| Wu, Gui | Jia |
Hour Pillar Heavenly Stem Calculation Mnemonics
Jia and Ji start with Jia at Zi,
Yi and Geng begin with Bing at Zi,
Bing and Xin start with Wu at Zi,
Ding and Ren take Geng at Zi,
Wu and Gui start with Ren at Zi.
| Day Stem | Zi Hour Stem |
|---|---|
| Jia, Ji | Jia |
| Yi, Geng | Bing |
| Bing, Xin | Wu |
| Ding, Ren | Geng |
| Wu, Gui | Ren |
Five Elements Cycles
Generating Cycle (Sheng)
Wood → Fire → Earth → Metal → Water → Wood (Cyclic)
- Wood generates Fire: Wood burns to create Fire
- Fire generates Earth: Fire leaves ash that becomes Earth
- Earth generates Metal: Earth holds minerals and Metal
- Metal generates Water: Metal condenses to produce Water
- Water generates Wood: Water nourishes Wood growth
Overcoming Cycle (Ke)
Wood → Earth → Water → Fire → Metal → Wood (Cyclic)
- Wood overcomes Earth: Roots break through Earth
- Earth overcomes Water: Earth dams block Water
- Water overcomes Fire: Water extinguishes Fire
- Fire overcomes Metal: Fire melts Metal
- Metal overcomes Wood: Metal axes chop Wood
Seasonal Strength of Five Elements
| Season | Prosperous (Wang) | Strong (Xiang) | Resting (Xiu) | Trapped (Qiu) | Dead (Si) |
|---|---|---|---|---|---|
| Spring (Yin, Mao, Chen months) | Wood | Fire | Water | Metal | Earth |
| Summer (Si, Wu, Wei months) | Fire | Earth | Wood | Water | Metal |
| Autumn (Shen, You, Xu months) | Metal | Water | Earth | Fire | Wood |
| Winter (Hai, Zi, Chou months) | Water | Wood | Metal | Earth | Fire |
| End of Seasons (Chen, Xu, Chou, Wei) | Earth | Metal | Fire | Wood | Water |
Ten Gods System
Ten Gods Definitions
With the Day Stem as "Self", its relationships with other Stems and Branches are:
| Ten God | Relationship to Day Stem | Yin/Yang Polarity | Symbolic Meaning |
|---|---|---|---|
| Friend (Bijian) | Same Element as Self | Same | Siblings, peers, competition |
| Rob Wealth (Jiecai) | Same Element as Self | Opposite | Rivalry, competition, financial loss |
| Eating God (Shishen) | Element Produced by Self | Same | Talent, enjoyment, offspring |
| Hurting Officer (Shangguan) | Element Produced by Self | Opposite | Creativity, rebellion, skills |
| Indirect Wealth (Piancai) | Element Overcome by Self | Same | Windfall, father, romantic partner |
| Direct Wealth (Zhengcai) | Element Overcome by Self | Opposite | Regular income, wife, wages |
| Seven Killings (Qishai) | Element Overcoming Self | Same | Pressure, authority, adversaries |
| Direct Officer (Zhengguan) | Element Overcoming Self | Opposite | Reputation, career, husband |
| Indirect Resource (Pianyin) | Element Producing Self | Same | Scholarship, niche knowledge, stepmother |
| Direct Resource (Zhengyin) | Element Producing Self | Opposite | Education, mother, benefactors |
Quick Lookup Table for Ten Gods (Based on Day Stem)
| Day Stem | Bijian | Jiecai | Shishen | Shangguan | Piancai | Zhengcai | Qishai | Zhengguan | Pianyin | Zhengyin |
|---|---|---|---|---|---|---|---|---|---|---|
| Jia | Jia | Yi | Bing | Ding | Wu | Ji | Geng | Xin | Ren | Gui |
| Yi | Yi | Jia | Ding | Bing | Ji | Wu | Xin | Geng | Gui | Ren |
| Bing | Bing | Ding | Wu | Ji | Geng | Xin | Ren | Gui | Jia | Yi |
| Ding | Ding | Bing | Ji | Wu | Xin | Geng | Gui | Ren | Yi | Jia |
| Wu | Wu | Ji | Geng | Xin | Ren | Gui | Jia | Yi | Bing | Ding |
| Ji | Ji | Wu | Xin | Geng | Gui | Ren | Yi | Jia | Ding | Bing |
| Geng | Geng | Xin | Ren | Gui | Jia | Yi | Bing | Ding | Wu | Ji |
| Xin | Xin | Geng | Gui | Ren | Yi | Jia | Ding | Bing | Ji | Wu |
| Ren | Ren | Gui | Jia | Yi | Bing | Ding | Wu | Ji | Geng | Xin |
| Gui | Gui | Ren | Yi | Jia | Ding | Bing | Ji | Wu | Xin | Geng |
Day Master Strength Assessment
Evaluation Criteria
- Seasonality (Month Branch): Most crucial. Does the Day Master receive seasonal support (Wang/Xiang)?
- Rooting (Branches): Does the Day Master have roots in the Branches (hidden stems sharing the Day Master's element)?
- Stem Support (Protrusion): Are there supportive Friends/Rob Wealth or Resources in the Heavenly Stems?
- Overall Balance: Total strength of generating and supporting forces across the chart.
Strength Classifications
| Status | Conditions | Favorable Direction (Yongshen) |
|---|---|---|
| Strong | Season support + Strong roots + High support | Drain (Output), Exhaust (Wealth), Control (Officer/Killings) |
| Weak | Out of season + Weak roots + High control/drain | Generate (Resource), Support (Friends/Rob Wealth) |
| Extremely Strong | Excessively strong without restraint | Special Followers Structure (Follow Strength) |
| Extremely Weak | Excessively weak without roots | Special Followers Structure (Follow Weakness) |
Major Luck Cycles and Annual Fortunes
Luck Cycle Calculations
- Starting Age: Calculated based on days from birth date to the next (or previous) Solar Term.
- Direction (Forward/Reverse):
- Yang Year Male / Yin Year Female → Forward direction
- Yin Year Male / Yang Year Female → Reverse direction
- 10-Year Blocks: Each Stem-Branch combination governs a 10-year span.
Annual Fortune Analysis
- Interplay between the annual Stem-Branch and the natal chart.
- Combined effects of the annual fortune and current 10-year luck cycle.
- Special focus on combinations, clashes, harms, and punishments.
Key Branch Interactions
| Type | Combination | Significance |
|---|---|---|
| Six Harmonies (Liuhe) | Zi-Chou, Yin-Hai, Mao-Xu, Chen-You, Si-Shen, Wu-Wei | Harmony, cooperation |
| Six Clashes (Liuchong) | Zi-Wu, Chou-Wei, Yin-Shen, Mao-You, Chen-Xu, Si-Hai | Changes, conflicts |
| Three Harmonies (Sanhe) | Shen-Zi-Chen (Water), Hai-Mao-Wei (Wood), Yin-Wu-Xu (Fire), Si-You-Chou (Metal) | Major luck, formation |
| Three Punishments (Sanxing) | Yin-Si-Shen (Ungrateful), Chou-Xu-Wei (Bullying), Zi-Mao (Uncivilized) | Conflict, adversity |
Reading Procedure
Step 1: Chart Calculation
- Confirm birth date and time (adjusting for Solar Terms).
- Construct the Year, Month, Day, and Hour Pillars.
- Annotate the Five Elements for all Stems and Branches.
Step 2: Day Master Analysis
- Identify the Day Stem (Day Master).
- Assess seasonal strength from the Month Branch.
- Count roots in Earthly Branches.
- Determine overall strength (Strong/Weak).
Step 3: Ten Gods Configuration
- Assign Ten Gods to each Stem and Branch.
- Analyze the distribution of Ten Gods.
- Identify critical Ten Gods combinations.
Step 4: Identify Favorable Elements (Yongshen)
- Base evaluation on Day Master strength.
- Determine Favorable/Useful Gods (Yongshen/Xishen).
- Determine Unfavorable Gods (Jishen).
Step 5: Construct Luck Cycles
- Calculate starting age.
- Plot 10-year luck cycle Stem-Branches.
- Mark age ranges for each cycle.
Step 6: Comprehensive Interpretation
- Analyze chart pattern and personality traits.
- Forecast career and wealth prospects.
- Evaluate marriage and relationship outlook.
- Highlight health vulnerabilities.
- Interpret current and upcoming annual fortunes.
Interpretation Template
## Bazi Natal Chart
**Basic Information**
- Solar Date: YYYY-MM-DD HH:MM
- Lunar Date: Year O, Month O, Day O, Hour O
- Gender: Male/Female
**Four Pillars**
| | Year Pillar | Month Pillar | Day Pillar | Hour Pillar |
|-----|-------------|--------------|------------|-------------|
| Stems | X | X | X (Day Master) | X |
| Branches | X | X | X | X |
| Hidden Stems | ... | ... | ... | ... |
| Ten Gods | ... | ... | - | ... |
**Five Elements Breakdown**
| Element | Metal | Wood | Water | Fire | Earth |
|---------|-------|------|-------|------|-------|
| Count | X | X | X | X | X |
**Day Master Analysis**
- Day Master: X (Five Element: X)
- Month Branch: X (Element X in season)
- Strength: Strong / Weak
- Favorable Elements: X, X
- Unfavorable Elements: X, X
**Major Luck Cycles**
[List luck cycle Stems and Branches by age range]
**Overall Interpretation**
[Chart structure features, personality analysis]
**Career & Wealth**
[Career suitability, wealth trends]
**Marriage & Relationships**
[Relationship characteristics, relationship advice]
**Health Care**
[Physical vulnerabilities, wellness recommendations]
**Annual Fortune**
[Current and upcoming year readings]
---
*Disclaimer: Bazi readings are for reference only. Destiny lies in your own hands.*
Ethical Guidelines
Core Principles
-
Objectivity and Neutrality
- Present both favorable and unfavorable aspects neutrally; do not pander to expectations.
- Use terms like "tends to" or "may" rather than "definitely" or "predestined".
- Avoid exaggerating negative predictions.
-
Boundaries of Responsibility
- Charts serve as reference only; ultimate decisions rest with the individual.
- Never substitute for professional advice (medical, legal, financial).
- Emphasize that personal effort shapes outcome and destiny.
-
Prohibited Topics
- Do not predict exact time of death.
- Do not induce panic or preach absolute fatalism.
- Do not encourage excessive reliance on divination.
- Do not analyze third-party charts without consent.
-
Sensitive Scenarios
- Vulnerable users: Reiterate reference nature and suggest professional support.
- Self-harm indications: Decline reading, show empathy, and provide crisis hotline resources.
- Inquiries about third parties: Limit scope to interactive dynamics relative to the user.
Reference Material Guide
Decision Routing
User Request
│
├─ Chart calculation requested ────→ Gather birth details → Execute scripts/bazi_calc.py
│
├─ Five Elements inquiries ─────────→ Read references/wuxing-shengke.md
│
├─ Ten Gods definitions ────────────→ Read references/shishen.md
│
├─ Fortune & Luck queries ──────────→ Read references/dayun-liunian.md
│
├─ Marriage & Relationship queries ─→ Read references/hunyin-ganqing.md
│
├─ Career & Wealth queries ─────────→ Read references/shiye-caiyun.md
│
├─ Health & Wellness queries ───────→ Read references/jiankang.md
│
└─ Chart structure queries ─────────→ Read references/geju-fenxi.md
References List
| Document | Purpose | Usage Timing |
|---|---|---|
tiangan-dizhi.md |
Stems & Branches basics | Explaining fundamental concepts to beginners |
wuxing-shengke.md |
Five Elements dynamics | Analyzing element interactions |
shishen.md |
Ten Gods application | Interpreting Ten Gods configurations |
rizhu-qiangruo.md |
Day Master strength | Evaluating Day Master balance |
yongshen.md |
Favorable elements | Determining Useful/Favorable Gods |
dayun-liunian.md |
Luck cycles & fortunes | Predicting annual and long-term trends |
hunyin-ganqing.md |
Marriage & relationships | Analyzing romantic/marital outlook |
shiye-caiyun.md |
Career & finances | Assessing professional and financial matters |
jiankang.md |
Health & illness | Reviewing physical health vulnerabilities |
geju-fenxi.md |
Chart patterns | Overall structural assessment |
Common Edge Cases
- Uncertain birth hour → Request approximate window, or explain variations across adjacent hours.
- Lunar date provided only → Convert to Solar date to establish correct Solar Terms.
- Asking about another person → Note that consent is preferred and keep readings high-level.
- User dissatisfied with output → Reiterate that Bazi reflects tendencies rather than fixed outcomes.
- Repeated queries on same topic → Remind user that natal charts remain constant, encouraging constructive reflection.
"Fate is given by nature, but destiny is shaped by self."
The true purpose of Bazi divination is understanding one's strengths and challenges to make better choices in life.
Divination Ethics Summary
- Neutrality: Present both positive and negative aspects without pandering to user desires.
- Responsibility Boundaries: Readings are strictly for reference; decision-making remains with the individual. Not a replacement for professional counsel.
- Phrasing Standards: Prefer probabilistic expressions ("tends to", "may") over absolute statements ("certainly", "bound to").
- Third-Party Privacy: Refrain from full analysis of third-party charts without consent.
- Vulnerable Users: Emphasize reference nature and encourage seeking professional support.
- Self-Harm Risks: Refuse chart readings, offer compassion, and provide emergency crisis resources.





