
dzcmemory-web/bazi-ziwei-skills
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
AI Bazi + Ziwei Doushu chart layout and comprehensive verification skills (based on mingpan + iztro open-source library): algorithmic precise chart placement (without LLM guessing), three analysis modes, one-click generation of ink-style HTML chart posters. Compatible with SKILL.md agents such as Claude / Codex / Cursor / Workbuddy.
Overview
Precise chart placement (without LLM guessing) · Three analysis modes · One-click generation of ink-wash style HTML chart posters A numerology analysis skill that follows the SKILL.md Open Standard, can be loaded with AI Agents supporting this standard, such as Claude Code / Claude Desktop / Codex / Cursor / Workbuddy. 1. : The Four Pillars of the Eight Characters, Zi Wei Twelve Palaces, and Luck Cycle are calculated using a built-in algorithm library,—— Pure LLM charts often miscalculate the Day Pillar, Day Master, and Pattern; one wrong step can distort the entire chart. 2. : Add an additional layer of "pattern / prosperity and decline / Adjustment / Punishment, clash, combination harm / Cap and Foot Cut" algorithm to the LLM for evidence-based analysis. 3. : Cross-reconcile the conclusions of the two independent systems of Bazi and Zi Wei—whether the main axis aligns, whether life windows are aligned, and who to listen to in case of conflict. - 🎯 : The layout core is derived from the open-source project mingpan (Eight Characters, Apache-2.0) + iztro (Ziwei, MIT), aligned through actual testing; Layer repair algorithm validated through 7 sets of case studies with multidimensional regression - 🧭 : Eight Characters Independent / Ziwei Independence / Eight Characters + Zi Wei Comprehensive Verification - 📜 : Markdown Long Text Deep Version + 🎴 Single File HTML Poster Version (Exclusive for Comprehensive Verification) - 🖼️ : Modern Minimalist × Chinese Ink Wash, includes Ziwei 12-Palace Chart + Four Pillars Chart + Six-Dimensional Cross-Ledger, Screenshot Sharing Available - 🛠️ : One SKILL.md, common for multiple mainstream Agents - : 🔒 All layout is done locally, no need for internet connection; Default product running is gitignore 1. Clone Warehouse 2. cd calculator && npm install 3. Register with your Agent (refer to each Agent's SKILL.md loading method) Disk layout (algorithm layer, deterministic computation) → text disk conversion (structured text) → LLM analysis (conclusions generated by prompts) → (optional) rendering HTML posters. :LLMs only handle "analysis," not "layout" or "drawing HTML." Layout is handled by deterministic algorithms, HTML visuals by fixed templates, and LLMs fill structured content into template slots—each does its own role without pollution. - Core Bazi chart calculation algorithm: mingpan (Apache-2.0) - Core Zi Wei Dou Shu chart calculation algorithm: iztro (MIT) - Lunar date conversion: lunar-typescript (MIT)
Overview (machine translated)
AI Bazi + Zi Wei Dou Shu chart charting and comprehensive verification skills
Precise chart placement (without LLM guessing) · Three analysis modes · One-click generation of ink-wash style HTML chart posters
Chinese Simplified | English
Comprehensive verification poster example (synthesized fate master, for display purposes only)
What is this?
A numerology analysis skill that follows the SKILL.md Open Standard, can be loaded with AI Agents supporting this standard, such as Claude Code / Claude Desktop / Codex / Cursor / Workbuddy.
It does three things that large models alone can’t do well:
- Precise chart arrangement: The Four Pillars of the Eight Characters, Zi Wei Twelve Palaces, and major luck cycles are calculated by a built-in algorithm library, not letting the LLM arrange them themselves—pure LLM charts often miscalculate the day pillar, day master, and pattern; one wrong step can distort the entire chart.
- Pattern Supplementation: On top of the chart, add an algorithm of “pattern / prosperity and decline / adjustment / punishment, clash, harmony, harm / cover and foot cut-off” algorithm, and feed it to the LLM for evidence-based analysis.
- Comprehensive Verification: Cross-reconcile the conclusions of the two independent systems of Ba Zi and Zi Wei—whether the main axis aligns, whether life windows are aligned, and who to listen to when conflicted.
✨ Features
- 🎯 Precise algorithm: The core of the layout comes from the open-source project mingpan (Eight Characters, Apache-2.0) + iztro (Ziwei, MIT), aligned through actual tests; The layer-filling algorithm is validated through multidimensional regression in seven sets of cases
- 🧭 Three analysis modes: Independent Eight Characters / Independent Zi Wei / Comprehensive verification of Eight Characters + Zi Wei
- 📜 Two presentation formats: Markdown long article depth version + 🎴 single-file HTML poster version (exclusive for comprehensive verification)
- 🖼️ Ink Wash Style Fate Chart Poster: Modern minimalist × Chinese ink painting, includes Zi Wei 12 Palaces chart + Eight Characters Four Pillars chart + Six Dimensions cross-reconciling, screenshots available for sharing
- 🛠️ Cross-Agent: One SKILL.md, common across multiple mainstream agents
- 🔒 Privacy First: All placement is done locally, no internet connection required; The default running product is gitignore
Installation
- Clone this warehouse
cd calculator && npm install- Register with your Agent (refer to each agent’s SKILL.md loading method)
Usage
See SKILL.md for details. Direct ordering from the command line (without Agent):
Directory Structure
🏗️ Working Principle
Disk layout (algorithm layer, deterministic computation) → text disk conversion (structured text) → LLM analysis (conclusions generated by prompts) → (optional) rendering HTML posters.
Key Design: The LLM is only responsible for “analysis,” not for “layout” or “drawing HTML.” Layout is handled by deterministic algorithms, HTML visuals by fixed templates, and LLM-generated structured content is filled into template slots—each performs its own role without pollution.
🙏 Acknowledgements
- Core Eight Character Chart Arrangement Algorithm: mingpan (Apache-2.0)
- Core algorithm for Ziwei Doushu charting: iztro (MIT)
This page was translated automatically. Technical details may differ from the original.
Recommended Tools
Try a different keyword or remove a filter.
Install
npx skillfish add dzcmemory-web/bazi-ziwei-skills