openfate-bazi

openfate-bazi is a skill for Claude Code, Codex from openfate-ai/openfate-mcp. It costs 108 tokens per session (1,519 once invoked), scanned A, original, MIT.

A skill for Bazi, also called Four Pillars, a traditional system that uses birth details to calculate charts, cycles, and relationships between chart elements.

In plain words
What is it for?
Use it for Bazi charts, compatibility, True Solar Time, Ten Gods, Da Yun cycles, lunar-to-solar conversion, or Earthly Branch interactions. It needs the OpenFate Bazi MCP server for calculations.
Why use it?
It directs the agent to use deterministic calculation tools instead of manually working out dates, time conversions, or chart interactions, which can lead to errors.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: built for cline.

Good fit Use it for Bazi charts, compatibility, True Solar Time, Ten Gods, Da Yun cycles, lunar-to-solar conversion, or Earthly Branch interactions. It needs the OpenFate Bazi MCP server for calculations.

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

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 openfate-bazi

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/openfate-ai/openfate-mcp/openfate-bazi"><img src="https://agentmods.dev/badge/skills/openfate-ai/openfate-mcp/openfate-bazi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,519 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 26
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00108 $0.01519
Opus 5.5 $0.00043 $0.00608
Sonnet 5.5 $0.00022 $0.00304
Haiku 4.5 $0.00011 $0.00152

Measured 1mo ago against content hash 3189cdbb8106, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openfate-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 1mo 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.

skills/openfate-bazi/SKILL.md · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenFate Bazi

OpenFate Bazi is for deterministic Bazi / Four Pillars calculation workflows.

中文關鍵詞:八字、四柱、排盤、真太陽時、十神、大運、流年、農曆轉陽曆、地支合沖刑害、八字合婚。

简体关键词:八字、四柱、排盘、真太阳时、十神、大运、流年、农历转阳历、地支合冲刑害、八字合婚。

Core Rule

Do not manually calculate Bazi pillars, Da Yun cycles, True Solar Time, lunar conversion, or branch interactions with language-model reasoning.

Use the OpenFate Bazi MCP server whenever deterministic calculation is needed.

MCP Setup

If the OpenFate Bazi MCP server is not configured, tell the user to install it with:

npx -y @openfate/bazi-mcp

Claude Desktop, Cursor, Cline, and compatible MCP clients can configure:

{
  "mcpServers": {
    "openfate-bazi": {
      "command": "npx",
      "args": ["-y", "@openfate/bazi-mcp"]
    }
  }
}

Data To Ask For

For a precise chart, ask for:

  • Birth year, month, day
  • Birth hour, minute, and second, if known
  • Birthplace, ideally longitude and timezone
  • Calendar type: solar/Gregorian or lunar
  • Gender, for Da Yun direction
  • Whether the recorded birth time used daylight saving time

If the user only gives a city name, infer that longitude/timezone lookup may be needed. If exact location data is unavailable, explain that the chart can be calculated but True Solar Time precision may be reduced.

Tool Selection

Use calculate_bazi_chart for full natal chart calculation.

Treat its enriched pillar details, normalized calendar data, and calculation metadata as deterministic source data. Do not recalculate or overwrite those fields in model reasoning.

The MCP fixes new chart calls to DAYUN_SECOND_V2. Treat Da Yun onset as exact only when chart.daYun.timing.status is CALCULATED and chart.daYun.timing.version is DAYUN_SECOND_V2. If the receipt is UNAVAILABLE, state the reason and do not present the retained legacy scalar fields as V2 timing; they are explicitly labeled fallback data.

Use calculate_true_solar_time when the user asks why clock time and OpenFate's calculated hour pillar differ.

Read the full file on GitHub · 127 lines

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. 1mo ago Changed · +22 lines 3189cdbb8106
  2. 2mo ago First seen · 105 lines · 108 tokens per session scan A f856606f9c2d

Subscribe to this mod's changes

openfate-bazi is a skill published in the GitHub repository openfate-ai/openfate-mcp (162 stars, last pushed 1mo ago), licensed MIT. It adds 108 tokens to every session and 1,519 once invoked, about $0.0004 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-08-30.

Related

openfate-bazi compared with skills from other repositories

openfate-bazi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openfate-baziopenfate-ai/openfate-mcpSkill1621mo agoMITA108Claude Code, Codex
imaging-data-commonsK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA73Claude Code, Codex
lab-hardware-cadK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA108Claude Code
statistical-analysisK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA111Claude Code, Codex
biopythonK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA65Claude Code
neuropixels-analysisK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA99Claude Code, Codex
onekgpdK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA143Claude Code