# Bazi Analysis

> Professional Bazi / Four Pillars consultation skill for birth date and time analysis. Use when the user wants a polished Bazi report with four pillars, day master, ten gods, hidden stems, five-element balance, luck cycles, yearly outlook, and practical consultation-style interpretation in markdown or JSON.

- Skill: `dvcrn/bazi-analysis` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add dvcrn/bazi-analysis`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dvcrn/bazi-analysis/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: dvcrn (https://skillmd.com/u/dvcrn)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/dvcrn/bazi-analysis

---


# Bazi Analysis

Generate a **structured Bazi report** from birth date, time, and gender.

This skill works best when the user wants a report that feels both:
- technically grounded in the chart facts
- readable as a practical consultation summary

## Input

- Birth date: `YYYY-MM-DD`
- Birth time: `HH:MM`
- Gender: `male/female/男/女`

## Recommended Command

```bash
python skills/bazi-analysis/scripts/bazi_chart.py \
  --date 1989-10-17 \
  --time 12:00 \
  --gender male \
  --format markdown
```

## Common Parameters

- `--from-year 2026 --years 10`: generate yearly outlook sequence
- `--sect 1|2`: switch school / calculation convention (`2` by default)
- `--format markdown|json`: consultation report or structured output

## Deliverables

A strong output should include:
1. Chart facts
   - 四柱
   - 日主
   - 十神
   - 藏干
   - 纳音 / 旬空 / 命宫 / 身宫 / 胎元（if supported by script version)
2. Five-element balance summary
3. Luck-cycle and yearly rhythm
4. Interpretation
   - strengths / pressure points
   - career / money / relationship / health themes
   - useful elements / avoid-overstating certainty
5. Timing caution notes for boundary cases

## Output Style Guardrails

- Present **chart facts first**, interpretation second.
- Use practical, consultation-style language rather than fatalistic wording.
- If the birth time is near an hour boundary, recommend comparing adjacent charts.
- Be explicit about which elements are exact chart facts vs later interpretation.

## Scope Boundary

- Traditional metaphysical analysis only; not medical, legal, or investment advice.
- Boundary-time and school differences should be disclosed when relevant.

## Reference

- `references/notes.md`

