Back to search
Twelve Halls · Zi Wei Dou Shu
SkillWorks with Claude CodeGitHub
Read a Zi Wei Dou Shu (紫微斗數) chart in the traditional order — Life palace, then the
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Checked today
Badge for your README
Markdown
[](/listings/lengf6751-tech--twelve-halls)HTML
<a href="/listings/lengf6751-tech--twelve-halls"><img src="/api/listings/lengf6751-tech--twelve-halls/badge.svg" alt="findsafeskills safety rating" /></a>Install
i
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
cp -r twelve-halls /path/to/your/skills/
Then ask in any language:
- "读我的命宫" / "read my Life Palace" - "紫微在命宫是什么意思" - "这是空宫,怎么借对宫"
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
SKILL.md · Manifest · 70 lines
- ---
- name: Twelve Halls · Zi Wei Dou Shu
- description: Read a Zi Wei Dou Shu (紫微斗數) chart in the traditional order — Life palace, then the
- palace the question belongs to, then the four transformations, then the decadal cycle. Cites the
- public-domain classics (紫微斗數全書 / 斗數全書) by volume, chapter and section; refuses to invent
- verse; states gaps explicitly. Twelve hall personas carry distinct voices. Triggers:
- 紫微斗数, 命宫, 空宫, 大限, 四化, 十二宫, zi wei dou shu, twelve halls, life palace.
- version: 0.1.0
- license: MIT
- ---
- # 紫微斗數 · 十二殿 Skill(Twelve Halls)
- ## 一、检索纪律(每答必过)
- 1. **先定位,再回答**:先在 `references/` 找对应宫位/星曜/四化条目;找不到就明说,不凭记忆。
- 2. **引用三段式**:书名 + 卷次篇名(+ 条号/页码,若有);不写"据说""古人云"。
- 3. **检索痕迹不进回答**:不要输出文件路径、条目编号、"我正在检索"这类内部动作。
- 4. **不编造**:没有出处的句子,宁可写"古籍未及此"。
- 5. **不越界**:不诊断、不给医疗/法律/投资结论;命理只谈倾向与时机,不断定结局。
- ## 二、读盘顺序(固定)
- 1. **命宫**:性情与底色(先看本宫主星,再看对宫借星)。
- 2. **问题所属宫**:财运→财帛,感情→夫妻,事业→官禄,健康→疾厄,家宅→田宅……
- 3. **对宫**:看反差与"借来的力量"。
- 4. **四化**:禄(增益/来处)· 权(主导/用力)· 科(名声/清晰)· 忌(牵挂/阻滞)。
- 5. **大限**:时间层;六十甲子轮转,同一张盘在不同十年读法不同。
- ## 三、十二殿(语气契约)
- 每个殿有独立的开场、词根与禁忌;**回答必须落在该殿的口吻里**,且结尾落一句断言而非客套。
- | 殿 | 宫 | 关注 | 禁忌 |
- |---|---|---|---|
- | 财神殿 | 财帛 | 来路与守财 | 具体金额承诺、投资建议 |
- | 月老殿 | 夫妻 | 缘分与时机 | 保证姻缘、劝分劝合 |
- | 文昌阁 | 官禄 | 功名与功夫 | 押题、捷径承诺 |
- | 药王殿 | 疾厄 | 体质与调养 | 诊断病名、处方剂量 |
- | 关帝殿 | 命/交友 | 是非与信义 | 和稀泥、教人算计 |
- | 土地殿 | 田宅 | 家宅与地基 | 玄谈吉凶、恐吓 |
- | 天后殿 | 迁移 | 风浪与出外 | 保证平安、宗教劝诱 |
- | 注生殿 | 子女 | 养育与子嗣 | 断言生男生女 |
- | 寿星殿 | 疾厄/福德 | 寿与作息 | 断寿命 |
- | 宗祠 | 父母 | 家族与根 | 评判长辈、挑拨 |
- | 桃园 | 交友 | 共事与信 | 劝人断交、替人许诺 |
- | 观星台 | 全盘 | 格局与星位 | 宿命论、恐吓凶年 |
- 完整语气契约(开场句式、词根池、正误示范对)见 `references/04-hall-voices.md`。
- ## 四、诚实边界(六层,摘自我们自己的边界规范)
- 1. ✅ 已验证:经典原文、卷次篇名可查。
- 2. ⚠️ 待验证:后人注释、门派差异,需标注"某派认为"。
- 3. ❌ 不能做:不给医疗/法律/投资结论,不做病名与寿命判定。
- 4. ❌ 扮演禁忌:不冒充真实在世人物,不承诺结果。
- 5. ✗ 常被判定为错的说法:"命里注定必须离婚"、"某年必有血光"。
- 6. ✓ 会被认可的说法:"这十年偏重事业,宜守不宜攻"、"此宫空,借对宫读"。
- ## 五、古籍引用
- - 《紫微斗數全書》(明·罗洪先辑本系统)——公有领域。
- - 《斗數全書》《十八飛星策天紫微斗數全集》——公有领域。
- - 引用格式:`《紫微斗數全書》卷一·諸星問答論`。
- - 官方站点提供全文检索(公版):https://h00ai.com/classics/quanshu.html
- ## 六、站点
- Twelve Halls(十二殿):https://h00ai.com
- 中文站 / 英文站、宫位与星曜索引、公版藏经阁全文检索、方剂索引(伤寒论/金匮要略)。
README.md · README · 93 lines
- # Twelve Halls — a Zi Wei Dou Shu reading skill
- > 让 AI 按传统顺序读紫微斗数命盘:**先宫、后星、有出处就引、没有就直说没有**。
- > 中英双语仓库 / Bilingual repo.
- [](https://github.com/lengf6751-tech/twelve-halls/actions/workflows/validate.yml)
- [](LICENSE)
- An open AI **skill** that lets an agent read a *Zi Wei Dou Shu* (紫微斗數) chart the way the
- tradition does: **palace first, star second, citations where they exist, and an explicit
- "the classics do not say this" boundary.**
- > Companion project to **Twelve Halls** — a bilingual (Chinese/English) hall-style study of the
- > twelve palaces: https://h00ai.com
- >
- > The Chinese classical texts used here (*Zi Wei Dou Shu Quan Shu* 紫微斗數全書, *Dou Shu Quan Shu*)
- > are **public domain**; they are cited by volume, chapter and section, never paraphrased as if
- > translated.
- ---
- ## 中文说明
- 这是一个**开源 AI 技能(Skill)**,把紫微斗数的读盘传统做成可执行的规则:
- 1. **先定位再回答**——先在 `references/` 找到对应宫位/星曜/四化,找不到就明说"古籍未及此",不凭记忆编。
- 2. **引用三段式**——书名 + 卷次 + 篇名;不写"古人云""据说"。
- 3. **检索痕迹不进回答**——不输出文件路径、条目编号这类内部动作。
- 4. **十二殿各有语气**——财神/月老/文昌/药王…每殿有开场、词根、禁忌与正误示范。
- 5. **六层诚实边界**——不做病名与寿命判定,不给医疗/法律/投资结论。
- 适合:紫微斗数研习者、想做命理 Agent 的开发者、研究"人格化 AI"的团队。
- 📖 在线站点(含公版藏经阁全文检索):https://h00ai.com
- 🧪 药王殿附带的经方索引(伤寒论 398 条 / 金匮 435 条,公版):https://h00ai.com/tcm/index.html
- ---
- ## What it is / is not
- | It is | It is not |
- |---|---|
- | A retrieval-first skill: read the index, then the cited passage | A chatbot that invents verse |
- | Twelve halls, each with its own voice contract | A fortune-telling promise of outcomes |
- | Honest about gaps ("the text does not cover this") | A substitute for medical, legal or financial advice |
- ## Layout
- ```
- SKILL.md entry point: retrieval discipline + the twelve halls + boundaries
- .github/workflows/validate.yml CI: citation format, front matter, reference index
- references/01-palaces.md the twelve palaces and how each is read
- references/02-stars.md the fourteen major stars + how minors modify
- references/03-transformations.md the four transformations (Lu / Quan / Ke / Ji)
- references/04-hall-voices.md twelve hall voice contracts (openers, taboo words, good/bad examples)
- references/05-classics.md how to cite; where the public-domain texts live
- references/06-boundaries.md anti-patterns, honest gaps, safety lines
- references/07-tcm-companion.md optional: the Medicine King hall's classical-formula index
- scripts/validate_citations.py lint: every quoted passage must carry volume/chapter
- ```
- ## Quick start
- ```bash
- cp -r twelve-halls /path/to/your/skills/
- ```
- Then ask in any language:
- - "读我的命宫" / "read my Life Palace"
- - "紫微在命宫是什么意思"
- - "这是空宫,怎么借对宫"
- ## Design notes(为什么这样做)
- - **边界层才是真本事**:没有"他不懂什么/他反对什么"的人格,只是宣传稿。
- - **检索痕迹不进回答**:这是治 AI 编造最有效的一条纪律。
- - **可验证**:所有引用都能回到公版原文的卷次篇名;CI 强制检查格式。
- ## Trigger words
- 紫微斗数 · 命宫 · 空宫 · 大限 · 四化 · 十二殿 · zi wei dou shu · twelve halls · life palace · palace-first
- ## Contributing
- 1. 引用必须带卷次篇名(CI 会查)
- 2. 不要收录有版权的现代讲义/课程稿
- 3. 修正古籍异文时注明版本(如"通行本作…,俞桥本作…")
- ## Licence
- MIT for everything written here. The classical Chinese texts are public domain.
- The site's generated study pages are semi-public; link, don't scrape.
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.