Mystilink Ziwei
Zi Wei Dou Shu charting and reading for Mystilink. Builds a twelve-palace chart with major stars and optional Si Hua, then interprets with Wiki theory. Use when the user asks about Zi Wei, 紫微, twelve palaces, or Si Hua.
Latest: v0.1.0
Initial release of Mystilink Zi Wei Dou Shu charting and reading skill.
- Generates twelve-palace Zi Wei Dou Shu (紫微斗数) charts with major stars and optional Si Hua.
- Interprets charts using Wiki-based theory for clear, referenced readings.
- Requires user’s birth datetime, gender, and timezone; supports local and IANA formats.
- Default response language is English, with Wiki-language fallback to Simplified Chinese.
- Designed for Zi Wei Dou Shu queries; not intended for BaZi, tarot, or unrelated systems.
Mystilink Zi Wei (chart + read)
Combines calculator and analyzer.
When to use
- Zi Wei Dou Shu chart or palace/star reading
- Birth datetime, timezone, and gender available (or collectable)
When not to use
- BaZi-only, tarot, Liu Yao, or western natal without Zi Wei framing → other skills / router
Locale
Wiki: locale/lang; default en; fallback zh-Hans.
Workflow
1. Profile
Need: local datetime, IANA timezone, gender (male|female). Optional: longitude, Si Hua year, midnight-zi rule.
2. Chart
python3 scripts/ziwei_chart_calculate.py \
--datetime "YYYY-MM-DD HH:MM" \
--timezone Asia/Shanghai \
--gender female \
[--si-hua] [--year YYYY] [--longitude E] [--midnight-zi] \
--output json
Depends on zhdate (pip install zhdate).
3. Analyze
GET /api/v1/search?q=life+palace&system=ziwei&locale=en
GET /api/v1/pages/ziwei.concept.ming-gong?locale=en
GET /api/v1/pages/ziwei.concept.sihua?locale=en
Use references/overview.md as needed. Separate chart facts from reading. Cite Wiki provenance.
Scripts note
Chart script is aligned with Mystilink product Zi Wei calculator.
