meihua-yishu

meihua-yishu is a skill for Claude Code, Codex from tradecatlabs/fatecat. It costs 101 tokens per session (6,194 once invoked), scanned A, original, MIT.

A Meihua Yishu divination tool, a traditional Chinese method related to the I Ching that interprets hexagrams, or six-line symbols. It can create readings from time, numbers, words or observed surroundings.

In plain words
What is it for?
Use it for questions about relationships, health, money or travel, for character-based readings, and for interpreting changing hexagrams and their timing.
Why use it?
It gives a structured way to explore questions through traditional hexagram interpretations and includes guidance for turning a reading into practical next steps. It is intended as guidance, not as a guaranteed prediction.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for questions about relationships, health, money or travel, for character-based readings, and for interpreting changing hexagrams and their timing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tradecatlabs/fatecat/meihua-yishu-main
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tradecatlabs/fatecat --skill meihua-yishu-main
Clone the repo
git clone --depth 1 https://github.com/tradecatlabs/fatecat

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for meihua-yishu

README.md
[![agentmods](https://agentmods.dev/badge/skills/tradecatlabs/fatecat/meihua-yishu-main/github.svg)](https://agentmods.dev/skills/tradecatlabs/fatecat/meihua-yishu-main)
Your own site
<a href="https://agentmods.dev/skills/tradecatlabs/fatecat/meihua-yishu-main"><img src="https://agentmods.dev/badge/skills/tradecatlabs/fatecat/meihua-yishu-main/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for meihua-yishu

Your own site · 80×15
<a href="https://agentmods.dev/skills/tradecatlabs/fatecat/meihua-yishu-main"><img src="https://agentmods.dev/badge/skills/tradecatlabs/fatecat/meihua-yishu-main.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,194 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.06194
Opus 5 $0.00051 $0.03097
Sonnet 5 $0.00020 $0.01239
Haiku 4.5 $0.00010 $0.00619

Measured 12d ago against content hash 8e2edd3aa274, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

meihua-yishu scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

tools/reference-repos/github/meihua-yishu-main/SKILL.md · 316 lines

How it starts

The opening of the file, as written. The whole thing — 316 lines — stays where its author put it; the contents beside it link to each section on GitHub.

梅花易數占卜技能 梅花易數(梅花心易)專業占卜系統。相傳為宋代邵雍(邵康節)所創。 核心理念:易=變 占卜目的不只告知吉凶,而是指引如何做出最佳改變。 能變則通(主動調整,順應時勢) 困守則凶(原地不動,錯失良機) 每次解卦必須提供策略建議,告訴用戶下一步該如何行動。 使用時機 1.占卜相關:請求占卜、算卦、問卦、擲卦、卜卦 2.起卦請求:提供數字、時間、或請求以時間起卦 3.易經諮詢:詢問易經、六十四卦、八卦相關問題 4.測字請求:提供文字、姓名、請求拆字、相字、字占 5.關鍵詞觸發:「梅花易數」「卜卦」「占卦」「起卦」「解卦」「測字」「拆字」 核心功能 時間起卦(年月日時) 數字起卦(用戶報數) 體用生克分析 六十四卦解讀 動爻變卦推演 應期推斷 策略建議(必做)—根據卦象類型提供「留/走/觀/守/變/慎」建議 十八類分占(婚姻、疾病、求財、出行等專門占法) 十應判斷(天時、地理、人事等外應分析) 測字占卜(拆字、相字、字占) 技能結構 參考檔 references/:64gua(卦簡介)、yaoci(384爻辭)、zhouyi-zhuan(彖象傳)、bagua-wanwu(類象+萬物賦)、case-studies-expanded(案例)、ying-guides(十應)、yingqi-calc(應期)、18-divinations(十八占)、hexagram-relationships(卦象關係+通關)、hexagram-strategy(策略速查,必讀)、why-not-prediction(為何非預測)。計算:scripts/meihua_calc.py。v2.1涵蓋原書卷二至卷五。 用戶引導 帶問題起卦時(必讀) 當用戶帶著具體問題請求起卦時(如「幫我問XXX會怎樣」),必須先詢問起卦方式,不可直接用時間起卦: 你想問「XXX」,請選擇起卦方式: 1.取象卦—根據問題含義取象起卦(推薦) 2.時間卦—以當前時間起卦 3.數字卦—請報2-3個數字 取象法(推薦,用於問題起卦): 分析問題中的關鍵詞,對應八卦類象起卦。LLM直接處理,不需要呼叫script。 八卦類象對照:見references/bagua-wanwu.md 取象起卦範例:見references/case-studies-expanded.md(案例二「老人有憂色」、案例六「枯枝自墜」) 先天八卦數:乾1兌2離3震4巽5坎6艮7坤8(餘0當8=坤) 首次使用提示 當用戶首次請求占卜(無具體問題)時,簡要介紹可用功能: 梅花易數占卜系統 請選擇起卦方式: 1.時間卦—以當前時間起卦(最常用) 2.數字卦—請報出2-3個數字 3.測字卦—提供一個字或詞,分析字形起卦 增強功能(可選): 上傳一張照片,分析環境中的「外應」 描述周遭聲音、顏色、人物,增加斷卦準確度 告訴我具體問題(婚姻/財運/健康等),獲得專門解讀 主動詢問外應 解卦完成後,若用戶未提供環境信息,可主動詢問: 若想讓斷卦更精準,可以告訴我: 現在周遭有什麼聲音?(雨聲/鳥叫/人聲等) 看到什麼特別的事物?(顏色/人物/動物等) 或直接上傳一張照片,我來分析環境徵兆 照片分析(外應提取) 用戶提供照片時,AI應從照片中提取顏色、人物、動物、物品、方位、天氣等元素。 類象對照:見references/bagua-wanwu.md 十應判斷:見references/ying-guides.md 農曆時間說明 梅花易數時間起卦必須使用農曆,非西曆(公曆)。 農曆轉換方法 若用戶提供西曆日期,需轉換為農曆。可使用以下方法: 無法執行Python時:請使用網路搜尋「[西曆日期]農曆」(如「2024年9月17日農曆」),從搜尋結果取得農曆日期後,再用下方公式計算。 方法一:Python腳本(推薦) scripts/meihua_calc.py內建農曆轉換功能(無需外部依賴): 轉換日期 python meihua_calc.py convert 2024 1 18 輸出:西曆:2024年1月18日→農曆:2023年12月8日 以西曆時間起卦(自動轉換農曆) python meihua_calc.py gregorian 2024 1 18 14 以農曆時間起卦 python meihua_calc.py lunar 2023 12 8 14 方法二:線上萬年曆,或請用戶直接提供農曆日期。 注意事項 閏月處理:農曆有閏月(如2023年閏二月),起卦時閏月視為該月 跨年情況:農曆新年通常在西曆1-2月,西曆年初可能仍是農曆上一年 年數計算 農曆年數使用地支序數: 地支|子|丑|寅|卯|辰|巳|午|未|申|酉|戌|亥 數值|1|2|3|4|5|6|7|8|9|10|11|12 例如:甲子年→年數=1,乙丑年→年數=2,丙寅年→年數=3 時辰對照 子23-1丑1-3寅3-5卯5-7辰7-9巳9-11午11-13未13-15申15-17酉17-19戌19-21亥21-23 起卦方法 方法一:時間起卦(最常用,預設秒精度) 預設秒精度(今人擴充),免同一時辰(2hr)重複得同卦。農曆年月日+時分秒: 上卦=(年+月+日+時辰)÷8餘;下卦=(上+分)÷8餘;動爻=(上+分+秒)÷6餘 傳統時辰精度(指定歷史時間用):上=(年+月+日)÷8、下=(上+時辰)÷8、動同÷6 程式 meihua_calc.py:time(秒・預設)/time-shichen(時辰) 餘數對應先天八卦: 餘數|1|2|3|4|5|6|7|0(8) 卦象|乾|兌|離|震|巽|坎|艮|坤 地支對應時辰數: 時辰|子|丑|寅|卯|辰|巳|午|未|申|酉|戌|亥 數值|1|2|3|4|5|6|7|8|9|10|11|12 方法二:數字起卦 用戶報數後起卦: 單數:直接除8取餘數定卦 兩個數: 第一個數÷8餘數=上卦 第二個數÷8餘數=下卦 (兩數之和)÷6餘數=動爻 三個數: 第一個數÷8餘數=上卦 第二個數÷8餘數=下卦 第三個數÷6餘數=動爻 方法三:後天起卦(物象起卦) 根據看到的物象、聽到的聲音起卦。 類象對照:見references/bagua-wanwu.md 範例:見references/case-studies-expanded.md 十應判斷:見references/ying-guides.md 方法四:聲音起卦 聽到聲音時,以聲數起卦: 上卦=聲音次數÷8的餘數 下卦=(聲音次數+時辰數)÷8的餘數 動爻=(聲音次數+時辰數)÷6的餘數 例:聽到敲門聲5下,午時(7) 上卦:5mod8=5→巽 下卦:(5+7)mod8=4→震 動爻:(5+7)mod6=6→第六爻 若聲音有間隔,可將間隔前聲數為上卦,間隔後聲數為下卦。 方法五:顏色起卦 根據所見顏色對應五行和八卦,可結合數量或時辰確定動爻。 顏色五行對照:見references/bagua-wanwu.md 方法六:尺寸起卦 以物品尺寸數字起卦: 上卦=尺數÷8的餘數 下卦=寸數÷8的餘數 動爻=(尺數+寸數+時辰數)÷6的餘數 方法七:方位起卦 根據來人或事物的方位起卦(後天八卦方位)。 方位卦對照:見references/bagua-wanwu.md 解卦流程(重要:正確順序) 《梅花易數》原文:「大抵占卜之法,成卦之後,先看《周易》爻辭,以斷吉凶。……次看卦之體用,以論五行生剋。」 第一步:查閱爻辭(先看爻辭) 這是原典規定的第一步,不可跳過。 1.確定動爻位置(第幾爻) 2.查閱該爻的爻辭(見references/yaoci.md) 3.結合問事理解爻辭含義 例如:乾卦初九「潛龍勿用」→諸事未可為,宜隱伏 第二步:確定體用 動爻在下卦(1-3爻)→下卦為用、上卦為體 動爻在上卦(4-6爻)→上卦為用、下卦為體 體=問卦者,用=所問之事 第三步:分析體用生克(五行・參考透鏡之一) 八卦五行:乾兌金、離火、震巽木、坎水、艮坤土 五行生克吉凶傾向:用生體大吉、體克用吉、體用比和吉;用克體凶、體生用耗洩。 生克為參考,主斷仍看爻辭+卦辭+卦象類型策略。 詳見references/18-divinations.md(各類占法生克斷例) 第三步之二:體用卦德(參考透鏡之二,解釋力更強;meihua_calc.py 自動輸出「卦德關係」) 八卦卦德(說卦傳):乾健、兌說、離麗、震動、巽入、坎陷、艮止、坤順。 讀法不下大吉/凶:「你(體)傾向…,處境(用)正在…,看你如何取捨」。例:體震(動)用艮(止)→想動而環境在止。 ※五行與卦德皆為「參考透鏡」非判決:兩個獨立實驗證明「算吉凶」僅約50%(本技能 FINAL-REPORT 五行 50.6%;姊妹專案 iching 遮蔽判詞後半數不可恢復)。故吉凶恆為「象+脈絡」之解讀,用「傾向/可能」非「一定/絕對」。詳見 references/why-not-prediction.md。 第四步:考慮卦氣旺衰 體卦當令則旺、事易成;失令則休囚、事難成。旺相加吉,休囚減力。 詳見references/ying-guides.md(第四應·時令旺衰表) 第五步:分析互卦(中期發展) 互卦由本卦的2、3、4爻和3、4、5爻組成: 下互卦=2、3、4爻 上互卦=3、4、5爻 特殊情況:乾為天(六陽爻)和坤為地(六陰爻)的互卦需從變卦中取,因其本卦所有爻皆同。 時間意義: 互卦代表事情發展過程、中間階段 互卦生體→過程中有助力 互卦克體→過程中有阻礙 第六步:分析變卦(最終結果) 動爻變化後得到變卦: 陽爻(—)變陰爻(--) 陰爻(--)變陽爻(—) 時間意義: 變卦代表最終結果、遠期發展 變卦定最終吉凶 時間層次總結: 卦|時間|意義 用卦|近期|事情起始、當前狀態 互卦|中期|發展過程、中間變化 變卦|遠期|最終結果、長遠趨勢 第六點五步:爻位盤(必做) meihua_calc.py 輸出「【八、爻位盤】」每卦必出,解卦須回報,勿跳過。讀法: 當位(得正)|陽居奇位、陰居偶位=立場正 得中|二、五爻 應(二五最重)|對爻一陰一陽=有外援;同性=孤軍。二五中正相應=最強外援 承乘|陰乘陽(柔凌剛)最不穩、陽乘陰(剛統柔)最順 動爻處境|script 末行=此刻核心判斷 第六點六步:卦象關係深讀(選用) 互/錯/綜僅需要時參看,互卦最值得看;詳見references/hexagram-relationships.md。 第七步:推斷應期 根據成卦之數、卦氣旺衰推斷應期。 詳見references/yingqi-calc.md 第八步:策略建議(必做,核心步驟) 這是解卦最重要的步驟:必須給出可行動的【下一步】建議。 策略方向(留/走/守/變/慎/觀)依體用生克與變卦走向質性判斷;可參照 references/hexagram-strategy.md 對照(其數值為文本指標,非機率)。 易經的核心是「變」,占卜的目的是指引如何做出最佳改變。 卦象類型與策略(meihua_calc.py 自動輸出,定義/全64卦對照/變卦路徑/各策略【下一步】行動文字皆見 references/hexagram-strategy.md) 六類型(吸引子/排斥子/福地/困境/陷阱/一般)→策略(留/走/守/變/慎/觀)。策略方向由體用生克與變卦走向質性判斷,數值僅文本指標非機率。 臨卦為關鍵轉折:變向臨卦多吉,離開臨卦宜警惕(排斥子/困境才查變卦路徑)。 策略建議輸出格式(必須完整輸出,缺一不可): 【策略建議】本卦[名]/類型[…]/策略[…]/【下一步】[對應行動文字,見 strategy 速查]/變卦路徑[排斥子·困境才需] 「理」的優先原則(重要) 《梅花易數》核心心法:「梅花易相當重『理』的推演,占斷者如果在考詳事理之後發現與占斷結果矛盾不一之處,應該要依理來判斷。」 什麼是「依理推斷」? 不可機械套用規則,要結合: 1.時令邏輯:冬天無雷,震卦不能取「雷」象,應取「動」象 2.情境邏輯:問水產生意得坎卦,坎為水,不是凶,是本業象 3.常識邏輯:問婚姻得乾坤,不是「天地否」的閉塞,是「乾父坤母」的圓滿 4.比例原則:小事不宜過度解讀,大事才需詳細分析 理與象的優先順序 理>象>數 即:邏輯道理>卦象類比>機械數算 實例 錯誤做法: 問「今天天氣」得坎卦,機械判斷「坎為雨」→會下雨 但明明是大晴天,衛星雲圖也無雨雲 正確做法: 結合實際天氣情況 坎卦另有「隱伏」「心事」之象 可能問卦者心中有隱憂,才是卦象真意 斷卦驗證清單 解卦完成後,用此清單自我檢驗: 計算驗證 起卦數字計算正確? 上下卦對應正確?(餘0為8,對應坤) 動爻位置正確?(餘0為6) 體用判定正確?(動爻在哪卦,哪卦為用) 互卦計算正確?(2-3-4爻為下互,3-4-5爻為上互) 變卦計算正確?(動爻陰陽互換) 爻位盤回報了?(script【八】必出,含動爻處境) 生克驗證 五行對應正確? 生克關係判斷正確?(誰生誰、誰克誰) 考慮了季節旺衰? 吉凶程度合理?(旺相加強、休囚減弱) 邏輯驗證 解釋符合常識? 解釋符合問事情境? 沒有機械套用規則? 類象選擇合理?(同一卦有多種類象,選對了嗎?) 策略驗證(最重要) 查閱了hexagram-strategy.md? 確定了本卦的類型(吸引子/排斥子/福地/困境/陷阱/一般)? 提供了明確的策略(留/走/守/變/慎/觀)? 輸出了【下一步】建議?(必須有,從固定表格複製對應內容) 若為排斥子/困境,提供了具體的變卦路徑? 倫理驗證 吉凶並陳,未偏頗? 使用「傾向」「可能」等非絕對用語? 未預測具體死亡或極端不幸? 提醒「僅供參考」? 常見錯誤 1忽視爻辭:爻辭是第一步,常直接給答案 2忽視季節:體旺時大吉,體衰時只是小吉 3機械套類象:類象要結合情境,乾可以是天、父、圓、金 4忽視時間層次:用卦=近期,互卦=中期,變卦=遠期 5過度依賴單一因素:要綜合旺衰、互卦、變卦、外應 6只說吉凶不給策略:必查hexagram-strategy.md,告訴用戶下一步 通關化解詳見hexagram-relationships.md 外應觀察 起卦或解卦時,注意周遭環境的變化: 三要法則: 1.眼要:看到什麼 2.耳要:聽到什麼 3.心要:感覺到什麼 外應可以:驗證卦象、補充信息、幫助定應期 詳見references/ying-guides.md 解卦建議模板(輸出骨架,各欄內容見上方對應步驟) 起卦信息:時間[農曆]/問事/起卦方式 卦象:本卦|上下卦(五行)|動爻 體用:體/用卦(五行)|生克 爻位盤(必填):六爻當位/得中/應/承乘|二五|動爻處境[此刻判斷] 互卦[過程]→變卦[結果] 動爻爻辭:「原文」+解讀 綜合斷語 策略建議(必填):依上方「策略建議輸出格式」完整輸出 應期參考 聲明:卦象僅供參考,最終決策請結合實際情況。 倫理準則 中立性:吉凶並陳,用「傾向」「可能」而非「一定」「絕對」 責任界限:僅供參考,不替代專業諮詢(醫療/法律/財務) 禁止:不預測死亡時間、不煽動恐慌、不鼓勵過度依賴 特殊情境:心理脆弱者強調參考性質;涉及自傷不占卜,提供危機資源 參考資料使用指南 決策路由 根據用戶請求類型,選擇對應的參考資料: 用戶請求 ├─提供文字/姓名→讀取bagua-wanwu.md(測字法在最後) ├─提供數字→使用數字起卦,然後走標準解卦流程 ├─提供時間或請求時間卦→使用時間起卦,然後走標準解卦流程 ├─提供照片/描述環境→讀取ying-guides.md(提取外應,輔助斷卦) └─標準解卦流程 ├─必讀:64gua.md(查卦義) ├─必讀:yaoci.md(查動爻爻辭)←核心,質性斷卦主依據 ├─選用:hexagram-strategy.md(策略方向對照;數值為文本指標,非機率) ├─問婚姻?→讀取18-divinations.md婚姻占 ├─問疾病?→讀取18-divinations.md疾病占 ├─問財運?→讀取18-divinations.md求財占 ├─問出行?→讀取18-divinations.md出行占 ├─(其他類型類推) ├─需要深入解讀?→讀取zhouyi-zhuan.md ├─需要類象具體化?→讀取bagua-wanwu.md ├─需要判斷時間?→讀取yingqi-calc.md ├─需要分析卦象關係?→讀取hexagram-relationships.md └─需要參考案例?→讀取case-studies-expanded.md 常見問題處理 反覆問同一問題→提醒「筮不過三」,建議接受首次卦象 對結果不滿意→重申客觀性,多角度解讀,不改變核心判斷 過度依賴→強調卦象是啟發工具,鼓勵獨立思考 問題過於模糊→請用戶明確問題,問事越具體斷卦越準 涉及他人隱私→只能分析問卦者自身視角 「窮則變,變則通,通則久。」 梅花易數真諦:指引改變,而非預定命運。告訴用戶「凶」而不告訴他怎麼辦,是失職。

Read the full file on GitHub · 316 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 316 lines · 0 tokens per session scan A 8e2edd3aa274

Subscribe to this mod's changes

meihua-yishu is a skill published in the GitHub repository tradecatlabs/fatecat (203 stars, last pushed 17d ago), licensed MIT. It adds 101 tokens to every session and 6,194 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

liki-naming

A Chinese naming tool that combines BaZi, a birth-chart system based on birth details, with traditional name analysis called Sancai-Wuge. It can also assess existing names and help create Chinese names from English names.

ml8s/liki · 83 tokens

content-amplifier

Use when the user asks to "amplify influencer content with paid media", "set up whitelisting or Spark Ads", "decide which posts to boost", "repurpose influencer content", "turn one video into multiple ads", or "build a UGC asset library"; produces (paid mode) a content-selection scorecard, a paid amplification…

aaron-he-zhu/aaron-marketing-skills · 202 tokens

xiaohongshu-auto-posting

Automates the complete Xiaohongshu (XHS / Little Red Book) content operation workflow: pain-point topic collection → style case collection → topic selection → content writing → publishing → performance tracking. Use when user mentions xiaohongshu auto posting, xhs auto post, little red book posting, xiaohongshu post…

browser-act/skills · 182 tokens

short-video-scripter

A script-writing tool for short vertical videos such as TikTok, Reels, Shorts, Douyin, and WeChat Channels. It lays out the hook, explanation, payoff, and ending with timings and on-screen text.

aaron-he-zhu/aaron-marketing-skills · 236 tokens

social-creative-builder

A content-packaging tool that turns one approved idea into posts adapted for different social platforms, including threads, captions, notes, link posts, and carousel slide plans.

aaron-he-zhu/aaron-marketing-skills · 222 tokens

ad-creative-builder

Use when the user asks to "write ad copy", "generate RSA headlines", or "build ad creative at volume"; produces ad units — RSA headlines/descriptions, hooks, and an angle matrix — message-matched to the destination landing page. Not for scoring an ad account — use ad-account-auditor; not for the post-click page — use…

aaron-he-zhu/aaron-marketing-skills · 101 tokens