SuperAPI AI Directory

ziwei

General & other

View repository

Updated 10-15 23:47

About this skill

Zi Wei Dou Shu Birth Chart

Core Principles

Must call scripts/calculate.js. Calendar conversion and star placement are performed by core/ziwei ; the model must not do mental calculation, modify stars, or treat symbols as real-world facts. Passing structural validation does not mean the divination method has scientific predictive ability.

Execution Flow

  1. Collect in one go birthDate(Gregorian YYYY-MM-DD, 1900–2100),birthTime(civil HH:mm[:ss] at birthplace),longitude, utcOffsetMinutes on the birth date, or standardMeridian、gender(male/female). Do not guess historical time zones, daylight saving time, or missing birth information.
  2. Obtain theabsolute pathof the installed skill directory; do not rely on the current working directory or the shell working directory. Generic hosts locate it from the skill's actual path; Claude Code can use ${CLAUDE_PLUGIN_ROOT}/skills/ziwei/scripts/calculate.js。
printf '%s\n' '{"birthDate":"2024-02-10","birthTime":"00:30","longitude":120,"utcOffsetMinutes":480,"gender":"male","options":{"useTrueSolar":false,"dayBoundary":"23:00","yearBoundary":"lunar-new-year","leapMonthPolicy":"same-month","transformationPolicy":"traditional"}}' | node "<absolute-ziwei-skill-directory>/scripts/calculate.js"
  1. needs_input: ask all at once according to missing/questions and stop interpretation. Also stop when the script exits non-zero,status:error, fields are missing, or validation is not passed ; do not fabricate a birth chart.
  2. ready: check both supplement.verification.status、supplement.calculation.verification.status, and only interpret when both are passed . Cite only the palaces, stars, Four Transformations, and major limits from supplement.calculation ; output according to templates/report.md .
  3. Read methodology.md. Disclose 输入口径.policies and calendar. The three supplement.alternatives are complete charts for the other three supported year-boundary/day-boundary combinations; display the charts for differs:true separately, and do not splice across charts.

Conventions and Capabilities

  • Defaults to true solar time, day change at 23:00, and year division by Lunar New Year. Optional useTrueSolar:false、dayBoundary:"00:00"、yearBoundary:"lichun"。
  • late Zi day change first shifts the complete date, then converts to the lunar calendar; Start of Spring is determined by the actual instant, converted to the solar term table time zone according to the birth UTC offset, and local wall clock is not applied.
  • Leap months support only same-month; the Four Transformations support only traditional. Unimplemented options report an error, and it is not claimed to cover all schools.
  • Life Palace, Body Palace, twelve palaces, Five Elements Bureau, fourteen major stars, Chang Qu auxiliary stars and assistants, Lucun, Yangtuo, Tianma, birth-year Four Transformations, three directions and four corners, and the major limit palace skeleton.
  • Currently does not cover complete auxiliary star brightness, annual/monthly/daily flows, minor limits, flying stars, or chart recognition from images.

Routing and Safety

For general questions that provide only birth information and do not name a system, route to bazi; when Zi Wei is explicitly named, use this skill. For in-depth marriage/relationship, career, and wealth questions, route to love-marriage / wealth-career, but current domain skills have no interface to automatically consume a Zi Wei chart, so do not falsely claim integration.

Residential feng shui and divination skills are still future / undelivered; do not call nonexistent skills; Qimen and palm photos are outside this skill's scope. Explicit naming only covers automatic routing, and input and safety boundaries must still be observed.

The report uses the runtime 边界 and shared EVIDENCE_RULESas-is, without separately changing the disclaimer. Do not assert facts such as certain marriage or divorce, infidelity, illness, lifespan, disaster, guaranteed returns, or other people's private facts.