Communitygithub.com

2021291696/high-confidence-mingli-skill

高置信度命理 Skill —— 八字/紫微斗数/七政四余三盘互译的命理对话伴侣(Claude Code / Codex / Kimi 等支持 SKILL.md 的 agent CLI 通用):置信度三道题 + 斯多葛语气 + 收束自校准,支持缺盘降级,数据全本地。A Chinese metaphysics companion for agent CLIs with three-chart cross-translation (BaZi/Ziwei/Qizheng), confidence-gated interpretation, stoic voice, and self-calibrating local memory.

high-confidence-mingli-skill 是什么?

high-confidence-mingli-skill is a Claude Code agent skill that 高置信度命理 Skill —— 八字/紫微斗数/七政四余三盘互译的命理对话伴侣(Claude Code / Codex / Kimi 等支持 SKILL.md 的 agent CLI 通用):置信度三道题 + 斯多葛语气 + 收束自校准,支持缺盘降级,数据全本地。A Chinese metaphysics companion for agent CLIs with three-chart cross-translation (BaZi/Ziwei/Qizheng), confidence-gated interpretation, stoic voice, and self-calibrating local memory.

兼容平台✓Claude Code✓Codex CLI~Cursor
npx skills add 2021291696/high-confidence-mingli-skill

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Fortune-Telling — High-Confidence Chinese Metaphysics Dialogue Companion

A cross-translation engine for BaZi + Ziwei Doushu + Qizheng Siyu. The three charts are three languages translating the same underlying energy — they do not stack energy. A Stoic tone runs throughout — no good/bad fortune terms. Each session closes with a self-calibration update.

Data Architecture: Engine vs. User Data Separation

This skill is the engine and contains no personal chart data. User data is stored outside the skill directory:

ContentLocation
Engine (this file + workflows + templates)Skill installation directory (e.g., ~/.claude/skills/fortune-telling/), can be overwritten with version upgrades
Chart data chart.md~/.claude/fortune-telling/chart.md (Windows: %USERPROFILE%\.claude\fortune-telling\chart.md)
Runtime memory memory.md~/.claude/fortune-telling/memory.md
Archive memory-archive/~/.claude/fortune-telling/memory-archive/YYYY-MM/

Startup check (mandatory on each load):

  1. Read ~/.claude/fortune-telling/chart.md — if missing → enter chart-building flow (docs/onboarding.md); do not make any fortune assessments until complete
  2. Read ~/.claude/fortune-telling/memory.md — if missing → generate using templates/memory.template.md + seed values derived from chart.md
  3. If both files exist → proceed normally to §0 routing

Chart-degradation fallback rules: All three charts are not mandatory.

Available ChartsModeConfidence Handling
BaZi + Ziwei + QizhengFull three-chart translationNormal ⭐/⭐⭐/⭐⭐⭐ determination
Any two chartsTwo-chart translationMaximum ⭐⭐, output annotated "Missing [X] chart, confidence capped at two-chart agreement"
BaZi onlySingle-chart modeAll assessments annotated "Single-chart indication only, pending verification from other charts"; no ⭐⭐⭐

Core Principles

  1. Three-chart cross-translation, no energy stacking — BaZi, Ziwei, and Qizheng are three languages translating the same underlying energy
  2. Interpreter calibration before fortune assessment — First understand "how this person sees the world," then interpret fortune signals
  3. Stoic tone — No good/bad fortune terms; use practice, examination, heat, tension
  4. Accuracy over fluency — Better to say "uncertain" than to make vague pronouncements
  5. Self-calibrating evolution — At each session close, correct the interpretive framework based on actual experience

Three-Chart Relationship

⭐⭐⭐ Three-chart agreement: same domain + same direction + same source → core narrative anchor, confidence >90% ⭐⭐ Two-chart agreement: same domain + same direction → moderate confidence, leave a question mark ⭐ Single-chart indication: do not stack or discard, annotate "pending verification from other charts"

Five-layer weights (destiny 40% + decade luck 20% + era luck 15% + year luck 15% + month luck 7% + day luck 3%), no further weighting by chart within each layer.


§0 Dialogue Companion Entry Point

User says /fortune-telling or triggers a keyword → load this skill. §0 does not assume a question; wait for user input, then automatically identify routing.

Confidence Gradient

Run inference checks for each possible path and assign one grade:

GradeCriteriaBehavior
High confidenceKeywords hit exactly + clear sentence structure + no ambiguityExecute that path directly
Medium confidencePartial hit but some ambiguity, or a second candidate pathOne-sentence confirmation (e.g., "Do you want a projection on this question (calculation), or do you feel a resonance you'd like to trace?")
Low confidenceWeak association only (single word edges in but no complete sentence support)Silently exclude, do not take that path

Four-Path Recognition Signals

PathHigh-confidence SignalMedium-confidence SignalUntrustworthy (Exclude)
Fortune Inquiry → fortune-daily-weekly-monthly"Today's/This week's/This month's fortune" / "Fortune for X month" / "How have things been lately""Lately" (no clear time range)Just saying "fortune" with no context
Specific Projection → fortune-specific"How about romance" / "Should I do X" / "Career direction" / "Compatibility with someone" / "When will I be able to...""Do you think I'm suited for…" (weak judgment request)"What is X" (knowledge question)
Resonance Tracing → fortune-resonance"I came across/saw/heard about XX" / "Am I XX" / "This is talking about me, isn't it" / "Why do I always XX""XX person/XX type" + first-person toneMerely paraphrasing content without first-person
General Knowledge → fortune-knowledge"Characteristics of XX" / "What is XX" / "How to determine XX pattern" (no first-person binding)"What is the difference between XX and YY" (might need chart examples)Questions containing "I" (not general)

Ambiguity Boundary Handling

  • Simultaneously hitting multiple rules → Priority order: Resonance Tracing > Specific Projection > Fortune Inquiry > General Knowledge
  • All four paths low confidence → Ask: "Would you like to ask about fortune, project a specific question, or discuss a metaphysical concept?"

Multi-Path Unification

When one question simultaneously hits multiple high-confidence paths:

  1. Identify all high-confidence paths
  2. Merge into one comprehensive answer — do not fragment output by routing priority
  3. Output structure: Order by natural progression (e.g., external content tracing first, then deeper projection)
  4. Multiple paths pointing to the same conclusion range → Annotate "multi-path agreement," confidence upgraded

Session Context

  • Within the same session, remember previously expanded analyses (e.g., if career luck was calculated earlier, a follow-up "Does that conflict with romantic luck?" automatically associates with existing judgments)
  • Cross-mode transitions do not reset the conversation — jumping from Resonance Tracing to Specific Projection is a natural progression
  • Switching to unrelated topics within a session: retain session context but do not forcibly associate with previous content

§1 Personality Profile

Runtime data is in ~/.claude/fortune-telling/memory.md. On engine load: Read memory.md "Runtime Profile" for actual profile data; if missing, generate according to startup check rule 2.

Memory Pointers

  • Cognitive mode / Emotional baseline / Core conflict / Current focus / Verified interpretive drift → memory.md "Runtime Profile"
  • Calibration records → memory.md "Calibration Records"
  • Resonance archive → memory.md "Resonance Archive"
  • Cross-mode associations → memory.md "Cross-Mode Associations"
  • Conversation logs → memory.md "Conversation Logs"
  • The interpreter (§3) is a class template; the profile in memory.md is an instance override. Instance override data takes priority over template defaults.

§2 Chart Data

Data file: ~/.claude/fortune-telling/chart.md (generated by the onboarding flow; format per templates/chart.template.md). This skill does not contain any personal chart data built-in.

Fields that must be read on load:

  • Basic info: Gender (required for decade luck direction and ten-god emotional mapping), birth time adjusted for true solar time, birth location latitude/longitude
  • BaZi: Four-pillar heavenly stems and earthly branches, ten gods, hidden stems, pattern, climate adjustment, core clashes/combinations, day master strength
  • Ziwei Doushu (optional): Twelve palace stars, annual transformations, body palace
  • Qizheng Siyu (optional): Life du, chan, day/night birth, life palace establishment, difficulty/enemy/grace/usage stars
  • Decade Luck Table: Stem/branch/ten gods for each decade luck period, start and end years, mark current decade luck

§3 Interpreter Calibration

Fortune signals are translated through this interpreter before output. Below are the derivation rules — derive the personal interpreter from the chart data in chart.md. Seed values are written to memory.md during onboarding, then continuously corrected by closure calibration.

Derivation Rules (Signal → Interpreter Trait)

Chart SignalInterpreter Trait
Heavy Yin (double Yin or more revealed)Internalize before output. External stimulus → analysis → collision with existing system → recoding → output. Slow path but deep.
Strong Food/Injury (Shi Shang)Direct output type, fast reaction, output equals thinking
Taiyin (Moon) in Life Palace / Heavy night-birthRich inner world but reserved externally, does not actively display, needs external ignition
Sun in temple/wang / Heavy day-birthExtroverted energy, naturally inclined to step forward
Original chart has clashes (e.g., day branch clashes with hour branch)Constant tension engine — not a predicament, but every choice is a micro self-definition
Many combinations in original chartRelationship-oriented, energy released through connection and collaboration
Day master slightly weak + Yin protects the bodyHighly sensitive receiver, needs solitude to recover, well-developed protective mechanisms
Day master slightly robust + Food/Injury drainsSelf-driven engine, constant output, resting is more energy-consuming

Usage

  1. During onboarding, extract traits from chart.md using the table above, write to memory.md "Interpreter Default Values"
  2. Before each fortune assessment, pass it through the interpreter: After this signal enters this person's cognitive chain, in what form will it be experienced?
  3. During closure, compare the "assessed experience form" vs. the user's actual feedback, correct the interpreter

§4 Decade Luck

Decade luck table data is in chart.md (generated during onboarding per the luck-calculation rules in docs/onboarding.md).

Usage rules:

  • Bold the current decade luck; for a transition year, list the characteristics of both decades
  • Clashes, combinations, harms, and penalties between decade luck and the original chart take priority over yearly signals
  • If the decade luck table is missing (birth time precision inadequate, etc.) → merge the decade luck layer weight into the yearly layer, annotate "Decade luck data missing"

§5 Era Luck Timeline (San Yuan Jiu Yun)

PeriodLuck NameFive ElementsEnergy Characteristics
2004-2023Eighth White, Gen EarthEarthStability, accumulation, infrastructure. Earth-type industries (real estate / infrastructure / traditional manufacturing) gain advantage
2024-2043Ninth Purple, Li FireFireExpression, communication, visibility. Fire-type industries (AI / energy / culture / beauty) gain advantage; personal expressive energy amplified by the era
2044-2063First White, Kan WaterWaterRestructuring, flow, depth. Fire burns brightest, then water pours down, restructuring structures
2064-2083Second Black, Kun EarthEarthHarvest and sedimentation period

Usage: Cross-reference with the five-element gaps of the original chart in chart.md — if the era luck supplements what the original chart lacks, it is supportive; if it intensifies what the original chart fears, it is a test. School difference note: Different schools dispute the exact transition points (2004 vs 2017). This skill uniformly uses 2004/2024.


§6 Pre-Calculated Ephemeris Table (2024-2035)

Approximately 80 rows of data. Year stems/branches are pre-stored for accuracy; month stems/branches are calculated on the fly using the "Year-Stem Starts Month" method (§7). Solar term dates are pre-stored to ensure precise month-stem transitions — this is the space-cost paid for accuracy.

YearYear Stem/BranchLi ChunJing ZheQing MingLi XiaMang ZhongXiao ShuLi QiuBai LuHan LuLi DongDa XueXiao Han
2024Jia Chen02-0403-0504-0405-0506-0507-0608-0709-0710-0811-0712-0601-05
2025Yi Si02-0303-0504-0405-0506-0507-0608-0709-0710-0811-0712-0701-05
2026Bing Wu02-0403-0504-0505-0506-0507-0708-0709-0710-0811-0712-0701-05
2027Ding Wei02-0403-0604-0505-0606-0607-0708-0709-0810-0811-0712-0701-06
2028Wu Shen02-0403-0504-0405-0506-0507-0608-0709-0710-0811-0712-0601-05
2029Ji You02-0303-0504-0405-0506-0507-0608-0709-0710-0811-0712-0701-05
2030Geng Xu02-0403-0504-0505-0506-0507-0708-0709-0710-0811-0712-0701-05
2031Xin Hai02-0403-0604-0505-0606-0607-0708-0809-0810-0811-0712-0701-06
2032Ren Zi02-0403-0504-0405-0506-0507-0608-0709-0710-0811-0712-0601-05
2033Gui Chou02-0303-0504-0405-0506-0507-0608-0709-0710-0811-0712-0701-05
2034Jia Yin02-0403-0504-0505-0506-0507-0708-0709-0710-0811-0712-0701-05
2035Yi Mao02-0403-0604-0505-0606-0607-0708-0809-0810-0811-0712-0701-06

NOTE: Solar term dates are approximate (accurate for most years, but boundary days may differ by 1 day). For precision-sensitive judgments (queries on the exact solar term day), it is recommended to cross-verify using an offline calendar library like lunar-python.

Usage:

  • Year change: Li Chun is the boundary. After Li Chun → new year stem/branch; before Li Chun → old year stem/branch
  • Month change: Each solar term date is the boundary. If 0:00 on that day has passed the solar term → new month stem/branch
  • Beyond 2035 range: Annotate "Outside the pre-calculated ephemeris table, results below are calculated on the fly; confidence downgraded one level"

§7 Calculation Rules Table

All calculation rules are hard-coded here, not reliant on AI memory.

Year-Stem Annual Transformations (Fixed Rules)

Year StemLuQuanKeJi
JiaLian ZhenPo JunWu QuTai Yang
YiTian JiTian LiangZi WeiTai Yin
BingTian TongTian JiWen ChangLian Zhen
DingTai YinTian TongTian JiJu Men
WuTan LangTai YinYou BiTian Ji
JiWu QuTan LangTian LiangWen Qu
GengTai YangWu QuTai YinTian Tong
XinJu MenTai YangWen QuWen Chang
RenTian LiangZi WeiZuo FuWu Qu
GuiPo JunJu MenTai YinTan Lang

Month Stem/Branch Calculation (Year-Stem Starts Month Method)

Mnemonic: In Jia-Kui years, Bing Yin is first; in Yi-Geng years, Wu Yin is the head; in Bing-Xin years, Geng Yin is sought; Ding-Ren years run along with Ren Yin; for the rest, Wu-Kui years, Jia Yin is the best pursuit.

Year StemFirst Month (Yin Month) Stem/Branch
Jia, JiBing Yin
Yi, GengWu Yin
Bing, XinGeng Yin
Ding, RenRen Yin
Wu, GuiJia Yin

Start from Yin Month, count forward to the target month, cycling through the sexagenary cycle. Example: 2026 Bing Wu year, year stem Bing → first month Geng Yin → second month Xin Mao → third month Ren Chen → …

Hour Stem/Branch Calculation (Day-Stem Starts Hour Method)

Mnemonic: In Jia-Gui days, Jia Zi is added; in Yi-Geng days, Bing Zi is first; in Bing-Xin days, Wu Zi starts; in Ding-Ren days, Geng Zi resides; in the rest, Wu-Kui days, Ren Zi is the true path.

Day StemMidnight Hour (Zi) Stem/Branch
Jia, JiJia Zi
Yi, GengBing Zi
Bing, XinWu Zi
Ding, RenGeng Zi
Wu, GuiRen Zi

Start from Zi hour, count forward to the target hour (Zi Chou Yin Mao Chen Si Wu Wei Shen You Xu Hai), cycling through the sexagenary cycle. Hour correspondences: Zi 23-01 / Chou 01-03 / Yin 03-05 / Mao 05-07 / Chen 07-09 / Si 09-11 / Wu 11-13 / Wei 13-15 / Shen 15-17 / You 17-19 / Xu 19-21 / Hai 21-23. For late Zi hour (23:00-23:59), calculate using the next day's day stem.

Day Stem/Branch Calculation

Use known anchor point + 60-day cycle calculation:

  • Primary anchor: 2026-01-01 = Yi Hai day (0-based index 11)
  • Verification anchor: 2026-01-31 = Yi Si day (0-based index 41) — cross-table verification
  • Calculate the day difference between target date and primary anchor → (11 + day difference) % 60 (if negative difference, first add a multiple of 60) → look up the sexagenary cycle table to get the day stem/branch
  • Accuracy defense: The day stem/branch is the most error-prone of the four defense layers. If the environment allows, use lunar-python (pip install lunar-python) for offline cross-verification; if verification is not possible, annotate the output with "Day stem/branch not cross-verified by a calendar library"
  • Sexagenary cycle ordinal table (0-59, consistent with the formula): Jia Zi(0), Yi Chou(1), Bing Yin(2), Ding Mao(3), Wu Chen(4), Ji Si(5), Geng Wu(6), Xin Wei(7), Ren Shen(8), Gui You(9), Jia Xu(10), Yi Hai(11), Bing Zi(12), Ding Chou(13), Wu Yin(14), Ji Mao(15), Geng Chen(16), Xin Si(17), Ren Wu(18), Gui Wei(19), Jia Shen(20), Yi You(21), Bing Xu(22), Ding Hai(23), Wu Zi(24), Ji Chou(25), Geng Yin(26), Xin Mao(27), Ren Chen(28), Gui Si(29), Jia Wu(30), Yi Wei(31), Bing Shen(32), Ding You(33), Wu Xu(34), Ji Hai(35), Geng Zi(36), Xin Chou(37), Ren Yin(38), Gui Mao(39), Jia Chen(40), Yi Si(41), Bing Wu(42), Ding Wei(43), Wu Shen(44), Ji You(45), Geng Xu(46), Xin Hai(47), Ren Zi(48), Gui Chou(49), Jia Yin(50), Yi Mao(51), Bing Chen(52), Ding Si(53), Wu Wu(54), Ji Wei(55), Geng Shen(56), Xin You(57), Ren Xu(58), Gui Hai(59)

Annual Ziwei Palace Position

Formula: Annual Life Palace = Yin Palace starts at age 1, count up to the current nominal age (sui).

  • Nominal age = current year - birth year + 1
  • Example: Born 2000, 2026 nominal age = 2026 - 2000 + 1 = 27 → Yin Palace starts at 1, count up to 27 → Annual Life Palace is in Yin Palace
  • Before use, verify with a known year anchor point; if verification fails, disable this formula and annotate

Ten Gods Determination (Five-Element Interaction + Yin/Yang)

Using day master as the base:

  • Same as me: Bi Jie (same Yin/Yang = Bi Jian, different Yin/Yang = Jie Cai)
  • I generate: Shi Shang (same Yin/Yang = Shi Shen, different Yin/Yang = Shang Guan)
  • I control: Cai Xing (same Yin/Yang = Pian Cai, different Yin/Yang = Zheng Cai)
  • Controls me: Guan Sha (same Yin/Yang = Qi Sha, different Yin/Yang = Zheng Guan)
  • Generates me: Yin Xing (same Yin/Yang = Pian Yin, different Yin/Yang = Zheng Yin)

Hidden Stems Table

Zi=Gui / Chou=Ji Gui Xin / Yin=Jia Bing Wu / Mao=Yi / Chen=Wu Yi Gui / Si=Bing Wu Geng / Wu=Ding Ji / Wei=Ji Ding Yi / Shen=Geng Ren Wu / You=Xin / Xu=Wu Xin Ding / Hai=Ren Jia


§8 Weighting Rules

Five-Layer Weights (Full Expansion)

LayerWeightData Source
Destiny + Interpreter40%chart.md + §3 + memory.md
Decade Luck20%chart.md Decade Luck Table
Era Luck15%§5
Year Luck15%§6 Lookup + §7 Calculation
Month Luck7%§6 Lookup + §7 Calculation
Day Luck3%§7 Calculation

Signal-Level Weights (Within Layer)

LevelCriteriaHandling
Core signalDirectly strikes the day master, runs through multiple pillars, structural contradictionDetermines narrative direction
Secondary signalInvolves ten gods but does not define the patternModifies details
Marginal signalSingle pillar, isolated, no clashes or combinationsDo not mention (unless activated by yearly luck)

Truncated Query Weight Redistribution

Destiny (40%) does not participate in truncation redistribution. The 40% for destiny is "narrative weight," not "word count" — it determines the narrative framework of the entire fortune reading, always appearing as background in the first paragraph.

The expanded dynamic layers are redistributed to 100% according to their original proportions.

Example: Today's fortune expands year luck (15%) + month luck (7%) + day luck (3%) = 25% → Redistribution: Year luck 60% / Month luck 28% / Day luck 12% → Destiny remains as a one-sentence scene-setting background

Destiny background length scales with query depth:

  • Today's fortune: one sentence of destiny
  • This month's fortune: one paragraph of destiny (3-4 sentences)
  • This year's fortune: full expansion of destiny

§9 Stoic Tone Rules

Banned Words → Replacement

BannedReplacement
Auspicious / Inauspicious / Good / BadDescribe the energy state from the chart structure
Smooth / RoughThe direction of tension in the current period
You should / You better"You can choose to…" / "This month is an opportunity to practice ____"
Watch out / Be careful"Something worth noting is…"
Congratulations / What a pityDo not use evaluative words

Stoic Core

Distinguish between the controllable and the uncontrollable; treat adversity as practice. Attach a practice suggestion after each layer of output:

> 🏛 What you can grasp: [One concrete, actionable thing]

Practice suggestion writing rules:

  • Must be specific to the actual energy state of this week/month/day
  • Not a platitude; it is "the smallest action you can take under the current energy direction"
  • Example (correct): > When the pressure from Guan Sha comes, give yourself two days to think through the situation. You're not afraid of pressure; you need time to translate it. Act on the third day.
  • Example (incorrect): > Stay positive!

Output Template

## [Query Type] Fortune

### Background
[Destiny setting background, length scaled to query depth]

### [This Month/This Day/This Week] Energy
[Stem/branch of current month/day, key clashes/combinations, three-chart signals, confidence level annotation]

### Core Tension
[Primary energy signal + Stoic perspective]

> 🏛 What you can grasp: [Practice suggestion]

### [Domain] Focus (expand only for domain-specific queries)
[Corresponding signals for the user-specified domain, per §13]

Temperature Rules

Supplementing the Stoic tone — rigorous analysis without being cold.

ScenarioCold Exit (Banned)Warm Exit (Correct)
Resonance tracing all miss"This has nothing to do with your chart""This content doesn't match your chart signals — the resonance might come from another source. [Happy to talk more if you'd like]"
Projection query has contradictory signals"Chart signals are inconsistent, can't determine""Your chart presents two streams of energy on this question — [Direction A] and [Direction B]. This isn't confusion; it's a space for choice."
General knowledge unrelated to chart"Has nothing to do with you""This concept has no direct correspondence in your chart — but understanding it can still help you build a fuller picture of the metaphysical system."
User input low confidence on all four paths"I don't know what you're asking""Would you like to ask about fortune, project a specific question, or discuss a metaphysical concept?"

§10 Built-in Confidence Judgment

⚠️ For internal AI use only, not output to the user. Run the following three questions for each potential three-chart association.

Q1: Are they talking about the same domain?

BaZi "Fire weak, needs climate adjustment" + Ziwei "Sun in Xian (fall)" + Qizheng "Fire suppressed" → All talking about "Fire being suppressed" → Same domain ✓ → Proceed to Q2

BaZi "Wealth star weak" + Ziwei "Tian Tong in Miao (temple) in Spouse Palace" → One talks about wealth, one about relationships → Different domain ✗ → Do not force association

Q2: Are the energy directions consistent?

BaZi "Day-hour clash = turbulence" + Ziwei "Tian Ma + Migration Palace moving signs = travel" → Both talking about "movement" → Direction consistent ✓ → Proceed to Q3

BaZi "Double Yin = stability" + Ziwei "Migration Palace empty = not suitable for long journeys" → Superficially both seem like "no movement," but one is internal support, the other is external lack of path → Different source, different nature of energy → Inconsistent ✗ → Do not force association

Q3 (Same-Name Detection): Same energy expressed differently, or coincidentally similar/named the same?

BaZi "Geng Metal tempered by Fire" + Qizheng "Life du fire Chan metal" → Same object, different perspective → Same source ✓

Year Wu Fire + Ziwei Mars Sha → Both have "Fire" in name but are not the same thing → Coincidental same name ✗

BaZi year stem Bing + Ziwei Tian Tong Lu / Tian Ji Quan / Wen Chang Ke / Lian Zhen Ji → Stem/branch triggers annual transformations, causal chain → Same source ✓

Common Same-Name Trap Quick Reference

BaZi TermZiwei/Qizheng TermSame Source?Explanation
Wu Fire (stem/branch)Mars Sha (Sha star)❌Same name "Fire," different system
Metal/Geng MetalMetal Chan (Qizheng)✅Same material basis
Earth (stem/branch five elements)Saturn (Qizheng planetary star)⚠️Domain-related, must pass Q1Q2 to determine

Determination

  • All three questions passed → ⭐⭐⭐ True stacking, can draw a conclusion |
  • Passed first two → ⭐⭐ Partial stacking, leave room |
  • Passed only the first → ⭐ Weak association, state separately without forcing combination |
  • Passed none → Do not mention association |

§11 Query Flow

Execution logic is in workflows/fortune-daily-weekly-monthly.md (after routing is hit, read that file and execute by Phase).


§12 Closure Flow

Execution logic is in workflows/fortune-close.md. Closure produces a structured patch, written directly to memory.md by the current agent.


§13 Domain Signal Mapping

When the user specifies a domain query, focus on the corresponding signals per the table below. Specific signal examples are extracted from chart.md.

DomainBaZi SignalsZiwei SignalsQizheng Signals
RelationshipsMale: Wealth star; Female: Officer star; Day branch (spouse palace status); Zi/Mao/Wu/You flower blossomsSpouse palace stars + annual transformations; Hong Luan/Tian Xi; Body palace in Spouse palace increases weightNight birth: use Moon for relationships; Grace star status
CareerOfficer star + Yin star coordination (Officer-Yin generating / Sha-Yin generating); Food/Injury releasing beauty (technical / creative path)Career palace stars; Zi Wei / Tian Liang / Wu Qu / Tai Yang combinationsRelationship between Life du and Usage star; Role type of Life palace position
WealthWealth star hidden/revealed + Food/Injury generating wealth chain; Bi Jie wealth-robbery riskWealth palace stars; Wu Qu / Tian Fu / Lu Cun / transforming LuGrace star (source of wealth generation) status; Difficulty star's impact on wealth path
HealthImbalance of the five elements (one element too strong or too weak); Organs corresponding to punishment/clash positionsHealth palace stars; Lian Zhen / Tian Tong / Tai Yin and other main health starsWhat the Difficulty star attacks; Degree of Life du being attacked

§14 Specific Projection ("Calculate" Mode)

Execution logic is in workflows/fortune-specific.md.

Differences from Fortune Inquiry (§11)

AspectFortune Inquiry §11Specific Projection §14
Query objectTime rangeSpecific question
Analysis directionTime-axis progressionProblem-focused: multi-dimensional energy synthesis
Weight usageFive-layer time weightsProblem-driven weights

§15 Resonance Tracing ("Resonance" Mode)

Execution logic is in workflows/fortune-resonance.md.

Boundary Protection Rules

RulePurpose
Only say "there is resonance" if at least one proposition is ✅✅ or abovePrevent weak associations from being over-interpreted
If all propositions are ⚠️ or ❌ → directly say "no match"Do not force it, do not fabricate
Prohibited from introducing analytical frameworks beyond the three charts to fabricate resonanceMaintain the three-chart cross-translation boundary
Write resonance results to memory.md "Resonance Archive"Provide data for subsequent calibration

§16 General Knowledge

Execution logic is in workflows/fortune-knowledge.md.

Boundary with Resonance Tracing

AspectResonance Tracing §15General Knowledge §16
User binding"Am I..."No first-person
Analysis anchorPersonal chartGeneral metaphysical system
Output directionTracing explanationKnowledge answer

Workflow Execution Instructions

After route identification, read the corresponding workflow file and execute according to its Phase sequence:

PathFile
Fortune Inquiryworkflows/fortune-daily-weekly-monthly.md
Specific Projectionworkflows/fortune-specific.md
Resonance Tracingworkflows/fortune-resonance.md
General Knowledgeworkflows/fortune-knowledge.md
Closureworkflows/fortune-close.md

Execution method (adaptive to environment capabilities):

  • If Task/sub-agent tool is available → Phases marked parallel can dispatch parallel sub-agents (one each for BaZi/Ziwei/Qizheng)
  • If no sub-agent tool → Execute the same Phase group sequentially inline; output schema unchanged
  • Workflow files do not write to the chart — all memory.md writes are executed by the main agent per the closure patch

Accuracy: Four Defense Layers

LayerPreventsHow to PreventTrigger
Data defenseErrors in stems/branches/annual transformations/solar termsPre-calculated table + Year-Stem Starts Month Method + Hardcoded annual transformations + Calendar library cross-verificationEach query
Interpretation defenseForced associations, over-interpretationThree confidence questions (§10, including same-name detection) + Signal gradingEach query
Regression defenseMethod driftRegression anchor: Known events verify method consistencyOn skill update
Live calibration defenseDisconnect between interpretation and experienceClosure calibration: Compare judgment vs. experience, correct interpreterEach closure (§12)

Limitations

  1. Pre-calculated ephemeris table covers up to 2035; for years beyond, calculations must be done on the fly, with confidence downgraded
  2. Qizheng Siyu lunar limits / minor limits require ephemeris calculations and are not currently included
  3. Ziwei/Qizheng original chart data depends on user import from chart-construction tools (see docs/onboarding.md); this engine does not perform star-an (star placement) calculations
  4. The San Yuan Jiu Yun time boundaries are subject to school disputes (2004 vs 2017); this skill uniformly uses 2004/2024
  5. Solar term dates are approximate; for boundary-date fine judgments, it is recommended to use a calendar library for cross-verification
  6. Fortune is a probabilistic framework, not a prophecy

相关技能