suangua

A multi-system I Ching divination skill supporting coin method, Plum Blossom (Meihua) method, and Liuyao (six-line) method. Before casting, it confirms the question and choice of system via multi-turn dialog, follows a required workflow, and includes a mandatory disclaimer in every output; it also supports repeat-divination warnings and intelligent method routing. Triggered when users request casting, divination, interpretation, or ask about luck or the auspiciousness of events.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "suangua" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-925edcad13ecadd22180ecb46d2c441de1ee07710a22af8ceb2b080a4c8fe966. Verify the upstream source and version against https://skillhub.cn/skills/user_32d32bd0/suangua before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A multi-system I Ching divination skill supporting coin method, Plum Blossom (Meihua) method, and Liuyao (six-line) method. Before casting, it confirms the question and choice of system via multi-turn dialog, follows a required workflow, and includes a mandatory disclaimer in every output; it also supports repeat-divination warnings and intelligent method routing. Triggered when users request casting, divination, interpretation, or ask about luck or the auspiciousness of events.

0 Downloads

Introduction source: third_party · user_32d32bd0 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: 任工智能算卦
author: RCC
version: 1.0
description: >
  基于中国《易经》的多体系起卦解卦技能,支持硬币法、梅花易数、六爻三种体系。
  起卦前通过多轮对话确认问题实质与体系选择,执行约束工作流,并在输出中强制附免责声明。
  触发:用户要起卦、占卜、解卦,或询问运势、事件吉凶等。
  An I Ching multi-system divination skill (coin/Plum Blossom/Liuyao) with mandatory workflow checkpoints,
  smart method routing, repeat-divination warnings, and mandatory disclaimer in every output.

易经多体系起卦解卦

使用这个 skill 将用户的自然语言问题转成完整的起卦与解卦结果,支持硬币法、梅花易数、六爻三种体系。


🚦 强制工作流检查点

⚠️ 以下 4 个检查点必须按顺序完成,缺一不可。跳过任何一步均视为违反本 SKILL。

CP-0:时间冻结(最先执行)

用户触发占卜时,立即记录当前时间,防止后续流程延迟导致边界时刻漂移。

起卦时间已冻结:{YYYY-MM-DD HH:MM:SS}(北京时间 UTC+8)

此时间将用于梅花起卦(年+月+日+时)和六爻(日建月建),后续所有计算均基于此冻结时间,不调用新的 datetime.now()。

CP-1:自动推荐起卦方法

⚠️ 不要让用户自己选。用户不懂,也没必要懂。把推荐逻辑内化,直接给出结论。

  1. 读完问题后,立即读取 references/router-matrix.md
  2. 按四维矩阵打分,取最高分方法
  3. 用算命先生话术向用户说明推荐原因,话术模板见 references/fortunespeak-style.md

话术模板:

这个问题啊,我建议用梅花易数来起。

(停顿一下)
您问的是"结果怎么样",梅花最适合判断这类事——体用一生克,吉凶立见。
不像六爻那么绕口,简单直接,给您的答案也更清楚。

好,我这就起卦,您稍等。

直接跳过的条件:用户已明确说"用梅花"或"用六爻",则不解释,直接执行。

不要做的事:❌ 不要列选项表让用户选 ❌ 不要说"您选哪个" ❌ 不要问"您偏好哪种"

CP-2:复卦检查(前置)

⚠️ 在确认具体问题之前,先检查用户是否已就此事起过卦。

  1. 查本对话历史中是否有同一问题的起卦记录
  2. 询问确认:"您这个问题之前有起过卦吗?"
  3. 按以下规则处理:
历史情况 处理方式
未起过 正常继续
起过 1–2 次,结论一致 提示已有结果,建议换个角度问
起过 2–3 次,结论矛盾 提示卦气已散,建议等 24 小时或换方法
同件事起过 3+ 次 拒绝继续起卦,告知"卦气已散,用行动替代"

CP-3:确认具体问题

引导用户把模糊问题具体化:

  • ❌ "我想问问我最近怎么样"
  • ✅ "我想问今天下午 3 点的面试顺不顺利"

如果用户同时问两件事,建议分开起卦(一事一占)。

CP-4:诚心准备提醒

在正式起卦前,转述 references/pre-divination-guidance.md 的提醒要点:

"起卦前先让自己尽量平静、专注一些,找个干净安静、不容易被打扰的地方,一件事只问一次,也尽量不要带着玩笑或反复试探的心态来问。古人把这叫'诚心',现在也可以理解为先把注意力收回来,让问题更聚焦。你如果准备好了,我再按这个问题起卦。"

CP-5:执行起卦(用户确认后)

硬币法:

python3 ./scripts/qi_gua.py "问题"

梅花易数(时间起卦):

python3 ./scripts/meihua.py time "问题" [YYYY-MM-DD HH:MM:SS]
  • ⚠️ 时间参数陷阱:不传时间时,脚本内部调用 datetime.now(),与 CP-0 冻结时间可能相差数秒至数分钟
  • 同一问题不同秒数起卦,上卦数/下卦数/动爻位置/变卦都可能不同
  • 正确做法:始终显式传入 CP-0 冻结时间,不依赖脚本默认值
  • 若因流程需要无法传时间,在解读时注明"此卦取自实际起卦时间,与问题提出时刻略有偏差"

梅花易数(方位起卦):

python3 ./scripts/meihua.py direction "问题" "方位"  [时间]
# 方位:north/south/east/west/ne/nw/se/sw 或中文东/南/西/北/东南/东北/西南/西北

六爻:

python3 ./scripts/liuyao.py "问题"

CP-6:解读与输出

⚠️ 输出风格:算命先生话术,不是写报告。详见 references/fortunespeak-style.md。

核心原则(三条):

  1. 结论前置:先给结论(凶/吉/观望),再说为什么
  2. 悬念铺垫:用停顿、语气词、转折句制造"悬念感"
  3. 说人话:每句都要让外行人听懂,不写术语不解释术语

必须包含(顺序固定):

  1. 一句话结论(凶/吉/平/观望),大字加粗
  2. 卦象描述:用通俗语言解释卦名含义(2–3句)
  3. 核心逻辑:体用关系/世应关系,说人话,不写五行术语
  4. 专业术语层:--- 分隔后,表格形式给出体卦/用卦/动爻/卦宫/日令等具体数据
  5. 针对问题的具体建议(1–3条,可操作)
  6. ⚠️ 免责声明(强制,见 output-format.md 末尾)

禁止: ❌ 不要先列卦象数据 ❌ 不要先讲五行生克 ❌ 不要术语堆砌 ❌ 不要结论藏在最后

脚本输出处理: 执行脚本后,只呈现卦象图形和核心数据,其余解读由 Agent 重新组织为话术风格。


方法说明

硬币法(三硬币法)

传统铜钱卦。用三枚硬币摇六次,得到六爻。

适用场景: 快速起卦、任意问题、无特定限制

调用: python3 ./scripts/qi_gua.py "问题"


梅花易数

以时间、方位或外应为起卦依据,分析体卦(主/己)与用卦(客/事)的生克关系。

两种起卦方式:

  • 时间法(默认):用年+月+日+时梅花数取卦
  • 方位法:用户面朝方向取上卦,年月日取下卦

适用场景: 预测事件是否发生、结果如何(问"会不会"→推荐梅花)

调用: python3 ./scripts/meihua.py time "问题" 或 ... direction "问题" "东"


六爻(世应体系)

模拟铜钱摇卦六次,分析世爻(我)、应爻(对方/事)及六亲、六神、日建月建对动爻的影响。

适用场景: 人际关系(问态度/谁主动)、事业/投资/健康的具体分析(问"对方会不会主动"→推荐六爻)

调用: python3 ./scripts/liuyao.py "问题"


参考文档

文件 用途
references/fortunespeak-style.md 算命先生话术风格指南(解读必读)
references/pre-divination-guidance.md 诚心准备 + 复卦警告(必须先读)
references/router-matrix.md 方法推荐路由(四维加权矩阵)
references/pitfalls.md 已知局限与实战陷阱
references/output-format.md 解读输出格式规范 + 免责声明
references/yijing-interpretation-rules.md 硬币法七种变爻取辞规则
references/meihua-rules.md 梅花易数体用分析规则
references/liuyao-rules.md 六爻世应六亲六神规则

已知局限

以下是有意未实现的功能,留作未来参考。

  1. 真太阳时校准缺失:统一使用北京时间(UTC+8),存在 ±30–128 分钟误差,对西部城市(成都/乌鲁木齐)影响较大
  2. 无智能路由自动选择:用户自选体系;router-matrix.md 只提供推荐参考,非自动执行
  3. 无小六壬/大六壬:仅硬币法 + 梅花 + 六爻三种
  4. 六爻纳甲简化:无完整天干纳甲(天干+地支+五行+六亲三者合一),六亲以体卦五行推导,准确率约 80–90%

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Areas to improve

  • description写错位置 Reported severity: Minor

    顶层 frontmatter 中 description 字段为空,实质描述内容位于 skill_body 内部。

    Recommendation: 将 description 内容移至顶层 frontmatter 的 description 字段,确保触发解析准确。

Highlights

  • 支持硬币法、梅花易数、六爻三种易经起卦体系,覆盖主流占卜需求
  • 内置强制工作流检查点(时间冻结、复卦检查、诚心提醒),提升仪式感与规范性
Trigger Precision75/100

Highlights

  • 触发词覆盖起卦、占卜、解卦、运势、事件吉凶等典型场景,边界较清晰
Structure and Standards78/100

Areas to improve

  • 缺少完整端到端示例 Reported severity: Minor

    文档提供了话术模板和流程说明,但缺少一个完整的从问题输入到最终解卦输出的端到端示例。

    Recommendation: 补充一个完整示例(如用户问面试吉凶→梅花起卦→解读输出),帮助用户理解全流程。

Highlights

  • Phase 划分清晰(CP-0 至 CP-6),步骤有序,出口条件明确
  • frontmatter 完整,包含 name、author、version、description
Execution Reliability72/100

Areas to improve

  • 引用文件缺失风险 Reported severity: Major

    SKILL.md 引用了多个 references/*.md 文件(如 router-matrix.md、fortunespeak-style.md),但未确认这些文件是否实际传入 ZIP 包。

    Recommendation: 确保所有被引用的 references/*.md 文件均包含在 Skill 包中,否则将导致推荐逻辑、话术风格、免责声明等关键功能失效。

Highlights

  • 工具调用路径明确(scripts/qi_gua.py 等),参数说明详细
  • 覆盖复卦检查、时间冻结等关键异常场景,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)73/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.