openfate-bazi

openfate-bazi is a skill for Claude Code, Codex from openfate-ai/openfate-mcp. It costs 108 tokens per session (985 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 985 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.00985
Opus 5 $0.00054 $0.00492
Sonnet 5 $0.00022 $0.00197
Haiku 4.5 $0.00011 $0.00098

Measured 11d ago against content hash f856606f9c2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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 · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 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 and minute, 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, exact Da Yun timing, normalized calendar data, and calculation metadata as deterministic source data. Do not recalculate or overwrite those fields in model reasoning.

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

Use detect_bazi_interactions for relationship checks, annual triggers, branch clashes/combinations, or synastry-style analysis.

Use reverse_bazi_to_solar_times only as a candidate search. Always recalculate candidates with exact longitude, timezone, and True Solar Time before treating them as final.

Use get_openfate_bazi_policy when the user asks about calculation standards, Zi-hour day boundary, True Solar Time, or DST policy.

Read the full file on GitHub · 105 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. 11d 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 (147 stars, last pushed 5d ago), licensed MIT. It adds 108 tokens to every session and 985 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

imaging-data-commons

Query and download public cancer imaging data from NCI Imaging Data Commons. Invoke for any question about IDC collections, cancer imaging datasets, DICOM data access, radiology (CT, MR, PET) or pathology AI training sets, metadata queries, visualization, or license checks — even when the user doesn't explicitly…

K-Dense-AI/scientific-agent-skills · 75 tokens

lab-hardware-cad

Design custom laboratory hardware as parametric build123d models and export fabrication-ready STEP, STL, and DXF files - microfluidic chips and molds, optomechanical mounts and breadboard adapters, cuvette and microplate holders, tube racks, animal-behavior rigs, and 3D-printed instrument fixtures. Use when a research…

K-Dense-AI/scientific-agent-skills · 106 tokens

onekgpd

Query the 1000 Genomes Project dataset (3,202 whole-genome-sequenced individuals, GRCh38) at the level of individual participants. Use when a question is about individuals or variants in the 1000 Genomes Project cohort: which individuals carry variants matching specific criteria in a gene or region, which individuals…

K-Dense-AI/scientific-agent-skills · 143 tokens

pkpd-modeling

Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK/PD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when…

K-Dense-AI/scientific-agent-skills · 273 tokens

statistical-analysis

Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting. Use whenever a user wants to compare groups, test a hypothesis, analyze experimental or survey data, check statistical assumptions, compute required…

K-Dense-AI/scientific-agent-skills · 111 tokens

biopython

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use…

K-Dense-AI/scientific-agent-skills · 76 tokens