# Bazi

> Use when the user asks for bazi, 八字, Four Pillars, BaZi, Chinese astrology birth chart, 生辰八字, 命盘, day master, or interpretation from a Gregorian birth date and time.

- **Type:** Skill
- **Install:** `agentstack add skill-sapuyou45-bit-ai-divination-skills-bazi`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [sapuyou45-bit](https://agentstack.voostack.com/s/sapuyou45-bit)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [sapuyou45-bit](https://github.com/sapuyou45-bit)
- **Source:** https://github.com/sapuyou45-bit/ai-divination-skills/tree/main/skills/bazi
- **Website:** https://sapuyou45-bit.github.io/ai-divination-skills/

## Install

```sh
agentstack add skill-sapuyou45-bit-ai-divination-skills-bazi
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Bazi (八字 / Four Pillars)

Bazi maps a Gregorian birth instant to four pillars (年柱/月柱/日柱/时柱) of Heavenly Stem + Earthly Branch, then derives Five Elements (五行), NaYin (纳音), and the Chinese zodiac (生肖). It is a symbolic life-pattern lens, not a deterministic forecast.

## When to Use

- The user asks for bazi, 八字, Four Pillars, BaZi, 生辰八字, 命盘, or day master analysis.
- The user provides a Gregorian birth date **and** an exact birth time.
- The user wants symbolic reflection on personality patterns, element balance, or life themes.

## When Not to Use

- The request needs medical, legal, financial, emergency, or crisis advice.
- The user wants a guaranteed prediction or precise life forecast.
- The user cannot supply an exact birth hour — say so and refuse to overstate precision.
- The user asks the agent to invent pillars, stems, branches, wuxing, or shen sha.

## Workflow

1. Confirm the user has a Gregorian birth date and an exact birth time (hour matters).
2. Run `scripts/cast.py --datetime ` to produce the chart JSON.
3. Read `references/interpretation-template.md` before writing the interpretation.
4. Read `references/pillars.md` for stem/branch/element reference.
5. Read `references/sources.md` when method rigor or engine limits matter.
6. Interpret using the shared response contract:
   - Result
   - Symbolic Reading
   - Situation Mapping
   - Hidden Variables
   - Actionable Guidance
   - Boundaries

## Commands

```bash
python3 scripts/cast.py --datetime 1990-05-20T14:30:00
python3 scripts/cast.py --datetime 2000-01-01T00:00:00
```

## Rules

- Do not invent stems, branches, wuxing, or NaYin. Only cite values returned by the script.
- Do not pretend to read da yun (大运), liu nian (流年), or shen sha (神煞) — they are not in the output.
- Do not skip the birth-hour requirement; an unknown hour invalidates the hour pillar.
- Keep readings practical and grounded; do not override professional advice or the user's agency.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [sapuyou45-bit](https://github.com/sapuyou45-bit)
- **Source:** [sapuyou45-bit/ai-divination-skills](https://github.com/sapuyou45-bit/ai-divination-skills)
- **License:** MIT
- **Homepage:** https://sapuyou45-bit.github.io/ai-divination-skills/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-sapuyou45-bit-ai-divination-skills-bazi
- Seller: https://agentstack.voostack.com/s/sapuyou45-bit
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
