bazi

bazi is a skill for Claude Code, Codex from ml8s/liki. It costs 49 tokens per session (740 once invoked), scanned A, original, MIT.

A reference skill describing the rules and concepts of BaZi, or Four Pillars, a traditional Chinese birth-chart system. It covers areas such as chart structure, useful elements, relationships between chart components, and time periods.

In plain words
What is it for?
It supports explanations of natal charts, major and yearly periods, relationship comparisons, and uncertain birth-time checks, with references to the stated rules.
Why use it?
It gives an interpreting agent a consistent vocabulary and stated boundaries instead of encouraging it to make up readings or use unrelated divination systems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It supports explanations of natal charts, major and yearly periods, relationship comparisons, and uncertain birth-time checks, with references to the stated rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ml8s/liki/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 ml8s/liki --skill bazi
Clone the repo
git clone --depth 1 https://github.com/ml8s/liki

Made for: Claude Code, 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/ml8s/liki/bazi/github.svg)](https://agentmods.dev/skills/ml8s/liki/bazi)
Your own site
<a href="https://agentmods.dev/skills/ml8s/liki/bazi"><img src="https://agentmods.dev/badge/skills/ml8s/liki/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/ml8s/liki/bazi"><img src="https://agentmods.dev/badge/skills/ml8s/liki/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 740 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.00740
Opus 5.5 $0.00020 $0.00296
Sonnet 5.5 $0.00010 $0.00148
Haiku 4.5 $0.00005 $0.00074

Measured today against content hash 43ebc70f28f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 today.

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.

expert-packs/liki-bazi/skills/bazi/SKILL.md · 50 lines

What it actually says

八字专家 - 子平命理

你是一位专精子平八字的命理师。排盘与断语由确定性计算服务提供(排盘引擎 + 规则真值表),结论保留因子与经典出处,依据可回溯。你不编造盘面,不套话术,不承诺改运。

定位

专精八字(子平体系):日主、格局、用神、十神、神煞、旺衰、调候、大运流年。紫微、六爻、奇门、起名、风水不在本专家范围。

能力

能力 说明
排盘 出生信息 → 本命盘(四柱/大运/性别)
本命判断 格局/用神/旺衰/调候/十神/神煞/宫位/合冲 → 本命断语
应期判断 大运/流年 → 应期断语
合盘 双人八字合盘
考时 时辰存疑时用人生大事校验候选盘

工具经 tools/list 自举(inputSchema 自描述),agent 按能力域判断调用;不依赖具体工具名。

方法论(16 卡,详见各卡)

  • references/wangshuai.md 旺衰、references/yongshen.md 用神、references/geju.md 格局、references/tiaohou.md 调候
  • references/shishen.md 十神、references/gongwei.md 宫位、references/hehui.md 合冲、references/caijue.md 裁决次序
  • references/career.md/references/wealth.md/references/study.md/references/family.md/references/wuxing-health.md 各领域
  • references/dayun.md 大运、references/hepan.md 合盘、references/calibration.md 考时

流程

  1. 排盘(收集出生日期/时辰/地点;时辰临界先复核)。
  2. 本命判断(中文问题 → 对应领域断语;断语依据可回溯)。
  3. 应期判断(大运/流年,按用户关心的年份)。
  4. 合盘 / 考时按需。
  5. 输出:结论 + 依据 + 经典出处 + 可商榷点。

硬边界

  • 断语以工具输出为准(规则真值表),md 卡用于理解依据与补充细则,不自行编造
  • 命理是传统文化视角的条件性解读,不构成医疗、法律或投资建议
  • 不解释紫微/六爻/奇门/起名(属其他专家)
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. today Changed 43ebc70f28f7
  2. 3d ago Changed 0dcdc696189a
  3. 7d ago First seen · 50 lines · 49 tokens per session scan A 7c55c0056228

Subscribe to this mod's changes

bazi is a skill published in the GitHub repository ml8s/liki (85 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 740 once invoked, about $0.0002 per session on Opus 5.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-10-09.

Related

Other skills, from other repositories

yueyuan

A specialised BaZi analysis system, where BaZi is a Chinese birth-chart method based on birth date and time. It is designed for structured analysis with explicit uncertainty and requires the user to check the chart before deeper interpretation.

qianye-wuyu/yueyuan-bazi · 263 tokens

horosa-agent

Use this skill when an AI agent is connected to Horosa Skill through MCP, CLI, Cursor, Claude, Codex, OpenClaw, Open WebUI, or another local-first client and needs to call Horosa metaphysics tools, generate reports, store memory, or debug user-facing results.

tradecatlabs/fatecat · 0 tokens

bazi-skill-gaoxin492-main

A Chinese Four Pillars astrology skill that uses local Python scripts to calculate and store birth charts, while the agent interprets the results. Four Pillars is a traditional Chinese system based on birth date and time.

tradecatlabs/fatecat · 0 tokens

yinyuan

A structured Chinese fortune-telling skill focused on relationships, compatibility, and romantic timing. It covers methods such as birth-chart matching, zodiac pairing, marriage charts, fortune sticks, and “peach blossom” luck.

tradecatlabs/fatecat · 127 tokens

master-ajahn-chah

A teaching guide based on Ajahn Chah, a Thai forest Buddhist teacher in the Theravada tradition. It explains mindfulness, letting go, the three marks of existence, breath meditation, ethics, and forest practice.

tradecatlabs/fatecat · 219 tokens

master-atisha

A teaching guide based on Atiśa, an 11th-century Buddhist teacher important to the Kadam tradition of Tibetan Buddhism. It explains topics such as the graduated path, compassion, ethical conduct, and relying on a teacher, with source guidance.

tradecatlabs/fatecat · 232 tokens