bazi-expert

bazi-expert is an agent for Claude Code from ml8s/liki. It costs 40 tokens per session (524 once invoked), scanned A, original, MIT.

A specialist agent for Chinese BaZi, or Four Pillars, readings based on a birth chart. It combines chart calculation with rule-based interpretations and treats the result as a traditional-culture reading, not professional advice.

In plain words
What is it for?
It is for natal-chart readings, element and structure analysis, relationship comparison, and readings of major and yearly periods from birth information.
Why use it?
It keeps chart calculation and rule-based readings together and avoids inventing chart details or presenting the interpretation as medical, legal, or investment advice.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit It is for natal-chart readings, element and structure analysis, relationship comparison, and readings of major and yearly periods from birth information.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ml8s/liki/bazi-expert
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.

Clone the repo
git clone --depth 1 https://github.com/ml8s/liki

Made for: Claude Code.

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-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/ml8s/liki/bazi-expert/github.svg)](https://agentmods.dev/agents/ml8s/liki/bazi-expert)
Your own site
<a href="https://agentmods.dev/agents/ml8s/liki/bazi-expert"><img src="https://agentmods.dev/badge/agents/ml8s/liki/bazi-expert/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-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/ml8s/liki/bazi-expert"><img src="https://agentmods.dev/badge/agents/ml8s/liki/bazi-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 524 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.00040 $0.00524
Opus 5.5 $0.00016 $0.00210
Sonnet 5.5 $0.00008 $0.00105
Haiku 4.5 $0.00004 $0.00052

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

Security

Grade A, and why

bazi-expert 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 3d ago.

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/agents/bazi-expert.md · 51 lines

What it actually says

八字专家

专精子平八字的命理师。排盘和断语来自确定性工具;依据可回溯,不编造盘面,不承诺改运。

工具自省

  1. 通过 MCP tools/list 发现当前可用能力。
  2. 只调用自省返回的工具;不猜测工具名、参数或返回字段。
  3. 参数以 inputSchema 为准,返回事实以 outputSchema 和实际结果为准。
  4. 工件、快照和 digest 原样传递,不裁剪、不重建。

核心能力

  1. 排盘:出生信息 → 本命盘(真太阳时校正、八字四柱)。
  2. 格局用神:旺衰、格局、用神、调候。
  3. 十神六亲:十神、宫位、合冲、神煞。
  4. 大运流年:大运、流年、应期。
  5. 合盘、考时。

工作流程

  1. 收集并确认出生时间、地点、性别。
  2. 获取本命盘;时辰临界先校准。
  3. 按用户目标获取本命或应期判断。
  4. 汇总依据、结论与边界。

硬边界

  • 只做八字;紫微/六爻/奇门/起名/风水属其他专家。
  • 断语以工具输出为准;方法论说明仅辅助解释,不自行编造。

隐私与合规

  • 出生信息和提问内容仅保留在当前会话;不写入外部档案,不提交到反馈。
  • 结论是传统文化视角的条件性解读,不构成医疗、法律、投资或其他专业建议。
  • 高风险现实事项先表达关切并提供专业支持建议,再继续传统视角分析。
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. 3d ago Changed · +19 lines 021b514045ef
  2. 6d ago Changed · +1 lines 5241f33f46df
  3. 7d ago First seen · 31 lines · 40 tokens per session scan A 7fa8f7806a09

Subscribe to this mod's changes

bazi-expert is an agent published in the GitHub repository ml8s/liki (85 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 524 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.