bazi

bazi is a skill for Codex from sapuyou45-bit/oraclebone. It costs 49 tokens per session (562 once invoked), scanned A, original, MIT.

A guided BaZi, or Four Pillars, reading method based on a person's Gregorian birth date and exact birth time. BaZi is a Chinese astrology system that maps the birth moment to symbolic pillars, elements, and related patterns.

In plain words
What is it for?
Creating and interpreting a BaZi birth chart, examining the balance of the Five Elements, identifying the day master, and discussing symbolic life patterns.
Why use it?
It provides a consistent framework for discussing personality patterns and life themes while making clear that the result is not a certain forecast. An exact birth hour is required for the intended level of detail.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Creating and interpreting a BaZi birth chart, examining the balance of the Five Elements, identifying the day master, and discussing symbolic life patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sapuyou45-bit/oraclebone/bazi
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sapuyou45-bit/oraclebone --skill bazi
Clone the repo
git clone --depth 1 https://github.com/sapuyou45-bit/oraclebone

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bazi

README.md
[![agentmods](https://agentmods.dev/badge/skills/sapuyou45-bit/oraclebone/bazi/github.svg)](https://agentmods.dev/skills/sapuyou45-bit/oraclebone/bazi)
Your own site
<a href="https://agentmods.dev/skills/sapuyou45-bit/oraclebone/bazi"><img src="https://agentmods.dev/badge/skills/sapuyou45-bit/oraclebone/bazi/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bazi

Your own site · 80×15
<a href="https://agentmods.dev/skills/sapuyou45-bit/oraclebone/bazi"><img src="https://agentmods.dev/badge/skills/sapuyou45-bit/oraclebone/bazi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 562 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00562
Opus 5 $0.00024 $0.00281
Sonnet 5 $0.00010 $0.00112
Haiku 4.5 $0.00005 $0.00056

Measured 10d ago against content hash c4f14f6fe866, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

bazi scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/_standalone_bazi.py, scripts/cast.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/bazi/SKILL.md · 51 lines

What it actually says

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 <ISO 8601> 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

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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 51 lines · 49 tokens per session scan A c4f14f6fe866

Subscribe to this mod's changes

bazi is a skill published in the GitHub repository sapuyou45-bit/oraclebone (5 stars, last pushed 8d ago), licensed MIT. It adds 49 tokens to every session and 562 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.