Most books on Qimen Dunjia stop at the same step: repeating what earlier authors said. Almost nobody re-tests what the classics actually claim.
This series does the opposite. Each post takes one core verse from the classical canon, explains it, then verifies it line by line with our charting engine — the same engine that has replayed 61 documented historical cases with a perfect match.
Part one: the Eight Spirits (Ba Shen) — the layer of the chart most often wrapped in mysticism, pinned down in twenty characters by the Yanbo Diaosou Song ("Song of the Smoke-Wave Fisherman"), the foundational verse of Qimen written roughly a thousand years ago.
Layer 1 · The Verse (public-domain classical text)
Hòu yī gōng zhōng wéi Jiǔtiān, hòu èr zhī shén wéi Jiǔdì.
Jiǔtiān zhī shàng hǎo yáng bīng, Jiǔdì qián cáng kě lì yíng.
Fú bīng dàn xiàng Tàiyīn wèi, ruò féng Liùhé lì táo xíng. — Yanbo Diaosou Song (Northern Song, rev. Ming dynasty)
The first four lines define placement; the last four define usage.
Layer 2 · What It Means
Want to test this timing?
Cast a free chart with 3 readings — no signup needed.
Try Qimen Now →
Placement: the spirits follow the Command Chief
A Qimen chart has four rings: the Earth ring (stems), the Heaven ring (nine stars), the Human ring (eight gates), and the Spirit ring (eight spirits). The spirits are placed last:
- The small chief follows the great chief. Wherever the star Zhifu (值符, the Command Chief) lands, the spirit Zhifu lands too.
- Count three forward: clockwise from Zhifu — position 1 is Tengshe (螣蛇), position 2 is Taiyin (太阴, "the Taiyin spirit sits two ahead"), position 3 is Liuhe (六合, "three ahead sits Liuhe").
- Count two backward: counter-clockwise from Zhifu — position 1 is Jiutian (九天), position 2 is Jiudi (九地).
- Yang cycles go clockwise, Yin cycles counter-clockwise. The direction flips with the cosmic cycle; the order itself never changes.
Complete the circle: Zhifu → Tengshe → Taiyin → Liuhe → Baihu → Xuanwu → Jiudi → Jiutian. The verse only names six slots; Baihu and Xuanwu fall into place by the fixed order — an elegant economy of words.
Usage: four auspicious spirits, four modes of action
| Spirit | Classical meaning (Zhang Zhichun, Kaiwu zhi Men) | Modern translation |
| Jiutian 九天 | "Above the Nine Heavens, deploy troops" — the bold spirit | Go on offense: launch, expand, go public; in travel, long journeys and flights |
| Jiudi 九地 | "Beneath the Nine Earths, set camp" — the steady spirit | Hold and consolidate: build foundations, stay low, accumulate strength |
| Taiyin 太阴 | The shielding spirit — "ambush where Taiyin sits" | Quiet channels: an ally working behind the scenes; handle things privately |
| Liuhe 六合 | The union spirit — "when meeting Liuhe, retreat is favored" | Partner up: negotiation, matchmakers, joint ventures; also a graceful exit |
The other four in brief: Zhifu (most auspicious — authority, leadership, authenticity), Tengshe (false alarms and volatility), Baihu (conflict and pressure), Xuanwu (murk and deception). The "malefic" four are not useless — when your question is about competition or hidden risk, they are the signal lights.
Layer 3 · The Verification (three sources, one loop)
Test 1: a published hand-drawn chart, replayed
Zhang Zhichun's Kaiwu zhi Men (p. 107) includes a fully worked chart: August 20, 2001, 16:10 (Jiashen hour), Yin cycle 5th bureau. We had our engine replay the same moment independently:
| Item | Book (hand-drawn) | Engine replay | Match |
| Four pillars | Xinsi-Bingshen-Yimao-Jiashen | Xinsi-Bingshen-Yimao-Jiashen | ✅ |
| Bureau | Yin cycle, 5th | Yin cycle, 5th | ✅ |
| Chief / Gate | Tianchong at palace 3 (Fu Yin) / Shang gate, palace 3 | Same | ✅ |
| Eight spirits | Zhifu 3, Tengshe 8, Taiyin 1, Liuhe 6, Baihu 7, Xuanwu 2, Jiudi 9, Jiutian 4 | Identical, palace by palace | ✅ |
Why this case matters: a Yin-cycle chart places the spirits counter-clockwise — the reverse direction. Matching it palace-by-palace shows the engine implements the rule, not a memorized chart.
Test 2: multi-sample scan, both cycles
Five further samples (Yang: 2026-02-21, 2026-01-15; Yin: 2008-08-16, 2026-08-01, etc.) were checked programmatically: from the chief's palace, is slot 3 forward always Liuhe, slot 1 backward always Jiutian, slot 2 backward always Jiudi? Every sample matched the verse.
Test 3: even the verifier gets verified
Full honesty: during verification, our first human reading briefly suggested the engine placed the spirits wrongly in Yang cycles. Programmatic re-checking showed the human was wrong; the engine was right. Our rule: any claim of an engine bug requires automated recomputation and multiple samples — never a single eyeballed chart. The discipline of cross-checking applies to ourselves first.
Layer 4 · Why This Makes Sense
The eight spirits are not gods. They are labels for eight postures of action — Zhang Zhichun stresses this repeatedly. The logic is plain: wherever the dominant posture (Zhifu) lands, the others arrange around it. Offense (Jiutian) always faces consolidation (Jiudi); quiet support (Taiyin) always sits beside alliance (Liuhe). The ancients compressed this ring into twenty characters; we encoded it into an engine. Those are the same act, a thousand years apart.
Next in the series: the Eight Gates — what "Shang gate favors the hunt, and the hunt succeeds" means for job changes and competitive bids today.