SuperAPI AI Directory

bazi

Design & creation

View repository

Updated 10-15 23:47

About this skill

Comprehensive Bazi Destiny Analysis

Core Principles

By default, enter the sole research research workflow. The model may participate in identifying ambiguities, choosing the charting standard, proposing calculation plans, and comparing schools, but deterministic results must be executed and verified by the repository's calculation kernel.Must call scripts/calculate.js, mental calculation or rewriting of the Four Pillars, Ten Gods, Major Luck Cycles, and Annual Pillars is prohibited, and using common sense to fabricate missing birth data is also prohibited. The researchPlan proposed by the model may only use the whitelisted parameters declared by the script; the Four Pillars, true solar time, Ten Gods, Major Luck Cycles, and Annual Pillars in the report may only cite field by field from the script JSON's calculation / alternateCalculation. When the script fails, returns a non- ready, the research mode consistency check fails, or required fields are missing, interpretation must stop and the error must be reported.

Execution Workflow

  1. Organize the user's data into JSON:birthDate、birthTime、longitude、utcOffsetMinutes or standardMeridian、gender。targetYear(target year) is optional; when not provided, the script injects the current sexagenary year at the time of invocation (bounded by the Beginning of Spring) and discloses it in the results. The birth time must preserve the civil wall-clock semantics of the birthplace at that time.
  2. By default, first form a brief structured research plan, then send the plan and data together to the script. The plan may only choose dayBoundary and useTrueSolar; day-change comparison, luck-cycle start comparison, and consistency checks are gates fixed on by the research kernel, and the model cannot turn them off. Do not output lengthy internal reasoning, and do not define custom formulas:
{
  "mode": "research",
  "version": 1,
  "dayBoundary": "23:00",
  "useTrueSolar": true
}
  1. Send the JSON to the script. All hosts must obtain the script's absolute path from the installed bazi skill directory; they must not rely on the current working directory or shell working directory to guess the repository location. Claude Code may use ${CLAUDE_PLUGIN_ROOT}, while other hosts use the real skill path they provide:
# 通用宿主:把占位符替换为当前 bazi 技能目录的绝对路径
printf '%s\n' '{"birthDate":"1955-02-24","birthTime":"19:15","longitude":-122.4194,"utcOffsetMinutes":-480,"gender":"male"}' | node "<absolute-bazi-skill-directory>/scripts/calculate.js"

# Claude Code 插件
printf '%s\n' '{"birthDate":"1955-02-24","birthTime":"19:15","longitude":-122.4194,"utcOffsetMinutes":-480,"gender":"male"}' | node "${CLAUDE_PLUGIN_ROOT}/skills/bazi/scripts/calculate.js"
  1. If it returns needs_input, follow questions to ask once for all missing information and stop interpretation. When information is insufficient, ask; do not guess longitude, historical time zone, or gender.
  2. If it returns ready, first check whether research.一致性校验.status is passed, then read methodology.md, strictly use calculation、alternateCalculation、research and analysisContext; output according to templates/report.md . Before output, verify item by item that the report's Four Pillars are completely consistent with calculation.四柱结果.{年,月,日,时} .
  3. alternateCalculation is not null , it indicates that the day pillar has a day-change divergence; the script has already used different dayBoundary to call core and recalculate the other school's complete chart. The two schools must be analyzed separately; the model is prohibited from mentally calculating or rewriting the other school's Ten Gods, Major Luck Cycles, and Annual Pillars from the main school.
  4. For each judgment, write "calculated -> basis -> available for interpretation," and cite the corresponding evidence source in research.证据包 ; when there is no evidence, write "insufficient to judge." Present all school divergences on day change, luck-cycle start, strength/weakness, chart structure, and favorable/useful gods.

Routing Boundaries

This skill is for comprehensive destiny analysis; career/wealth and marriage/romance are only given as overviews. When the user explicitly requests in-depth career/wealth, switch to wealth-career; when the user explicitly requests in-depth marriage/romance, switch to love-marriage. Palm photos switch to palm. Residential feng shui and divination capabilities are both future / undelivered; they are currently unsupported and non-existent skills must not be called.

Prohibitions

  • Do not directly equate the count of the five elements with strength/weakness, and do not package any single chart-structure or favorable/useful-god method as the only truth.
  • Do not assert illness, lifespan, disaster, inevitable marriage or divorce, certain income, or investment returns.
  • Do not omit disclaimers for cultural entertainment, non-medical, and non-investment career advice.