Bazi Chart Casting: Professional Natal Chart Calculations Based on Birth Data in Agents

Preface

When a user provides their birth time and gender in a conversation and mentions chart casting (Paipan), BaZi (Four Pillars), Major Luck (Dayun), or Annual Cycles (Liunian), the Agent requires a reproducible set of calendar and chart-casting rules, rather than piecing together Gan-Zhi (Stems and Branches) from model memory. Implementing details such as True Solar Time, Solar Terms, and Ten Gods from scratch involves significant work and is prone to inconsistencies with standard chart-casting conventions. The following section introduces the community Skill “Bazi Paipan” (BaZi Chart Casting) on SkillHub. By defining input constraints and output items in the SKILL.md, the Agent can invoke it in appropriate scenarios.

What is this

“Bazi Paipan” is a life-service category Skill under the SkillHub coordinate @user_1854b633/bazi-paipan. The current version is 2.1.0, the source is community, and the publisher is user_1854b633. The page indicates requires_api_key=false, meaning no additional API Key is needed after installation.

It performs BaZi chart casting based on the birth time, birth place, and gender. It states that it supports True Solar Time correction and the VSOP87 Solar Term algorithm, and requires no third-party dependencies (subject to the official description).

Official links:

  • SkillHub Page: https://www.skillhub.cn/skills/user_1854b633/bazi-paipan
  • API Coordinate Page: https://api.skillhub.cn/user_1854b633/bazi-paipan

Core Features

The following capabilities are derived from the official description; details not present in the provided materials are not expanded upon.

Input

  • Birth time
  • Birth place (used for location-related corrections such as True Solar Time)
  • Gender (used in chart casting rules)

Output

  • Four Pillars (Gan-Zhi)
  • Hidden Stems, Ten Gods, Twelve Stages (Changsheng)
  • Void (Xungong), Nayin (Sound)
  • Five Elements Statistics
  • Punishment, Clashing, Combination, Harm (Xingchonghehai), and Spiritual Shah (Shensha)
  • Major Luck / Dayun (10 steps)
  • Annual Cycle Analysis (Liunian) (Year specification allowed)

Trigger Scenarios (Skill Self-Description)

The Agent should enable this Skill when a user provides birth time and gender and requests fortune telling, chart casting, BaZi, destiny chart, Major Luck, Annual Cycles, or Shensha analysis.

Installation and Enablement

The installation method provided on the SkillHub page is: first configure the environment according to the official installation documentation, then install this Skill coordinate.

1. Install SkillHub CLI (if not already installed)

Documentation address: https://skillhub.cn/install/skillhub.md

Check if installed:

command -v skillhub && skillhub --version

If not installed, execute the full installation (CLI + Default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Install CLI only:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install “Bazi Paipan” to the current Agent’s skills directory

When installing, you must use --dir to point to the skills directory recognized by the current client; otherwise, it defaults to ./skills/, which may not be loaded by the Agent. Common paths are as follows (excerpted from SkillHub installation documentation):

  • Claude Code: ~/.claude/skills/
  • Cursor: ~/.cursor/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Taking Cursor as an example:

skillhub install user_1854b633/bazi-paipan --dir ~/.cursor/skills/

The page also supports sending the following prompt to the AI, allowing the Agent to complete the installation according to https://skillhub.cn/install/skillhub.md:

Please install `@user_1854b633/bazi-paipan` based on https://skillhub.cn/install/skillhub.md.

After installing or updating the Skill, restart or refresh the Agent according to your client’s requirements to enable the SKILL.md.

Typical Usage

Public materials do not include fixed CLI subcommand examples; usage is reflected in the trigger conditions and input fields defined by the Skill. In a conversation, organize information in the following way to facilitate the Agent in hitting this Skill:

  1. Provide birth date and time in Solar or Lunar calendar (be as precise as possible to the Chinese hour/Shichen, and explain if Daylight Saving Time or other special situations are included).
  2. Specify birth place (city or latitude/longitude level information, subject to the Skill’s internal instructions).
  3. Specify gender.
  4. State the requirement clearly: e.g., “Cast Four Pillars,” “View 10 steps of Major Luck,” “Analyze the Annual Cycle for a specific year,” or “Shensha, Punishment/Clashing/Combination/Harm.”

Once the Agent reads the SKILL.md, it should output the columns listed in the brief according to the scripts or processes within the Skill. If a specific year for Annual Cycle analysis is required, write the target year directly in the question (the official brief supports Annual Cycle analysis with specified years).

Applicable Scenarios & Notes

Who is it for

  • Developers or product builders who want to perform BaZi chart casting and Major Luck/Annual Cycle interpretations using unified rules within Agents that support Skills, such as Cursor, Claude Code, and Codex.
  • Scenarios where one does not want to connect to a separate paid third-party API for chart casting and accepts the maintenance pace of a community Skill (this Skill is marked as requiring no API Key).

Notes on Use

  • Chart casting and destiny interpretation belong to the realm of traditional culture; outputs are for reference only and should not be used as a basis for medical, investment, or other decisions.
  • Birth place, time zone, and True Solar Time corrections directly affect the boundaries of the Four Pillars; user input should be as complete and consistent as possible.
  • Community source (community) implies that versions and behavior are subject to 2.1.0 and subsequent updates on SkillHub; check the changelog on the SkillHub page before upgrading.
  • The rating displayed on the SkillHub page is 100000, with 13731 downloads and 5 installations (data at the time of crawling; refer to the backend page for actual figures).

Conclusion

“Bazi Paipan” encapsulates birth time, location, gender, and a complete set of traditional chart elements (including VSOP87 Solar Terms and True Solar Time correction) into an Agent Skill. It is suitable for activation when a user actively requests chart casting, Major Luck, Annual Cycles, etc. Installation follows the standard SkillHub process using the coordinate @user_1854b633/bazi-paipan. For details and installation prompts, see: https://www.skillhub.cn/skills/user_1854b633/bazi-paipan

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye