calculate-bazi

Calculate BaZi Four Pillars from birth date and time with lunar calendar conversion.

25|5|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/buda-ai/bunny-agent --skill calculate-bazi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: calculate-bazi
Source: https://github.com/buda-ai/bunny-agent/tree/main/templates/bazi-agent/.claude/skills/calculate-bazi
Command: npx skills add https://github.com/buda-ai/bunny-agent --skill calculate-bazi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill computes the Four Pillars (BaZi) from birth date and time using a Chinese lunar calendar conversion, enabling precise fortune analysis foundations.

Core Features & Use Cases

  • Lunar calendar conversion: accurate mapping from Gregorian date to Chinese lunar date.
  • Pillar derivation: year, month, day, and hour pillars with stems and branches.
  • Hidden stems & luck cycle: extraction of hidden stems and setup of luck cycles for interactions like compatibility analysis.
  • Validation & reporting: data checks and structured outputs for reports and dashboards.

Quick Start

Provide the birth date, time, and location to generate the BaZi pillars and an accompanying report.

Frequently Asked Questions about calculate-bazi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate BaZi four pillars from a Gregorian birth date and time?

Calculating BaZi four pillars requires converting the Gregorian birth date and time using a lunar calendar conversion with timezone adjustment, then deriving the year, month, day, and hour pillars with their heavenly stems and earthly branches.

What is a luck cycle in BaZi and how is it calculated?

A luck cycle in BaZi is a progression of life phases derived from the birth chart. It is calculated by extracting hidden stems from the earthly branches and setting up the luck cycle interactions for fortune analysis.

Can I use birth chart data for BaZi compatibility analysis?

Yes, you can use birth chart data for BaZi compatibility analysis. By computing the four pillars and extracting hidden stems for two individuals, the system generates structured outputs to evaluate their luck cycle interactions.

Does BaZi calculation require timezone adjustment for birth location?

Yes, BaZi calculation requires timezone adjustment for the birth location. The system applies timezone correction during the lunar conversion process to ensure accurate derivation of the day and hour pillars.

What is the best way to verify an existing BaZi birth chart?

The best way to verify an existing BaZi birth chart is to recalculate the four pillars from the original birth data. The system performs data validation, lunar conversion, and hidden stems extraction to check for structural consistency.

Can I process multiple birth dates for BaZi batch processing?

Yes, you can process multiple birth dates for BaZi batch processing. The system computes the four pillars, luck cycles, and hidden stems from multiple birth date and time inputs, generating structured outputs for reports and dashboards.