bazi-ziwei-ivc0

Bazi and Ziwei Charting Assistant: A skill dedicated to Bazi and Ziwei Dou Shu charting tasks, helping an AI agent efficiently perform charting and related work.

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 "bazi-ziwei-ivc0" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8497eb2affd0a898086d9f21e66b2a010d16376f027390986ed20b2978967004. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/bazi-ziwei-ivc0 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

Bazi and Ziwei Charting Assistant: A skill dedicated to Bazi and Ziwei Dou Shu charting tasks, helping an AI agent efficiently perform charting and related work.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
AI Clerical and Integrated Analytical Skills based on the theoretical framework of traditional eight words and violet microdoves. Use the Yiqi Algorithmic Library + enrichBazi to complete a full layer of fine discs (** absolutely not allow LLM to draw its own disks**) to support an independent analysis of eight words / independent analysis of UV / two sets of cross-certification.
Audience
Users give birth time. 2000 - What? 01 - What? 01 Noon 12 : 00 Men) and also want to analyze the question "Look for me eight words / Watch for purple / fortune / Watch for fate / Watch for life / Watch for fate" which provides the fateful text that wants to be read in depth Ask about the culprits of a given day / flow year does not trigger**: a simple constellation / taro / weekly public dream / windwater / name science.
Inputs and outputs
If the user does not provide the birth hour, **must proactively ask**, do not default to Zi hour. Birthplace is not required. Chart-casting uses clock time directly, without applying true solar time longitude correction.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: 八字紫微斗数综合分析
slug: bazi-ziwei
version: 1.0.0
displayName: 八字紫微斗数综合分析
description: >
  八字紫微斗数AI排盘专用技能,帮助AI Agent高效完成相关任务。
summary: "八字紫微斗数AI排盘专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 中国传统文化
framework:
  - Claude Code
  - Codex
  - Hermes Agent
  - OpenClaw
  - QClaw
  - WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"

八字 + 紫微斗数综合分析

概述

基于传统八字与紫微斗数理论框架的 AI 排盘与综合分析技能。使用 Yiqi 算法库 + enrichBazi 补全层精准排盘(绝对不让 LLM 自行排盘),支持按需独立分析八字 / 独立分析紫微 / 两盘交叉印证。

适用场景

  • 用户提供出生时间("我是 2000-01-01 中午 12:00 男")并希望分析
  • 询问"帮我看八字 / 看紫微 / 算命 / 看命盘 / 看流年大运"
  • 提供命盘文本希望深度解读
  • 询问特定大运/流年的吉凶

不触发:单纯的星座 / 塔罗 / 周公解梦 / 风水 / 姓名学。

使用方法

必需输入

公历或农历日期 (YYYY-MM-DD)
出生时刻 (HH:MM, 24 小时制)
性别 (男/女)

若用户没给时辰,必须主动询问,不要默认子时。

不需要出生地。排盘直接使用钟表时间,不做真太阳时经度校正。

Step 0 — 决策门(开场必做)

问题 1:要看哪种命理?

  1. 八字独立分析(事业/财运/婚恋/子女/六亲/健康)
  2. 紫微独立分析(十二宫 + 大限 + 生年四化 + 流年)
  3. 八字 + 紫微综合印证(两盘交叉对账)

如果用户选 3,再追问呈现形态:

  • A. 📜 长文深度版(Markdown 散文)
  • B. 🎴 结构化海报版(单文件 HTML,可截图分享)
  • C. 两种都要

Step 1 — 排盘(算法层)

绝对不要让 AI 自己排八字或紫微。必须调用算法层脚本:

cd calculator
node dist/run-chart.js --year=YYYY --month=MM --day=DD --hour=HH --minute=MM --gender=male > chart.json

脚本输出 JSON 包含:四柱/十神/星运/自坐/纳音/藏干/大运/格局/旺衰/调候/五行/紫微十二宫/生年四化/大限

关键约束:纯 LLM 排盘会错排日柱 → 日主 → 格局 → 用神,全链失真。算法层不可绕过。

Step 2 — 文本盘转换

node dist/dump-text.js --input=chart.json --output=chart.txt

将 JSON 转成文墨天机风格的树状文本,包含紫微部分 + 八字部分 + 算法补层。

Step 3 — 分析

长文版(选 1/2/3+A/3+C)

读取对应提示词文件,喂入 chart.txt,输出 Markdown 长文。

海报版(选 3+B 或 3+C)

  1. LLM 输出严格 JSON(不是 Markdown)
  2. 调用渲染脚本生成 HTML:
    cd calculator
    node dist/render.js \
      --chart=chart.json \
      --analysis=analysis.json \
      --template=../templates/report-zonghe-poster.html \
      --output=<user-name>-<date>.html \
      --currentYear=<YYYY>

海报模板仅综合印证一种。八字独立/紫微独立只有长文输出。

关键约束

  1. 排盘必须走算法层:不要徒手算四柱、紫微宫位、大限
  2. 决策门必做:永远先问用户要哪种分析
  3. 不引入命盘外变量:风水、姓名、阳宅、紫白飞星不在范围内
  4. 冲突要说出来:八字与紫微出现矛盾信号时按规则判定
  5. 置信度自评:边界情况必须标"置信度:低"
  6. 不替用户做决策:投资、择偶、医疗等决策类问题给信号不给指令
  7. 敏感问题拒答:下蛊、断人财路等违禁内容直接拒绝
  8. 免责声明:分析末尾必带"仅供文化研究与娱乐参考"

安装后行为

装好 Skill 后不要主动跑任何验证/自检命令。 装好就是装好,等用户来给生辰再开始工作。

依赖检查仅在用户首次提供生辰且报错时执行:

cd <skill-root>/calculator
ls node_modules >/dev/null 2>&1 || npm install

常见问题与陷阱

现象 原因 处理
排盘脚本报错 日期超 1900-2100 / 时辰格式错 询问用户校正
AI 想"凭记忆排盘" 偷懒走捷径 拒绝。算法层是不可绕过的硬约束
输出被截断 三段一锅出超 token 上限 回到决策门,拆分输出
算法层和用户其他软件结果不一致 命名流派差异 按算法层 notes 解释
Windows + PowerShell 编码错乱 平台特性 在 cmd / git bash / WSL 下运行

验证清单

  • [ ] 用户提供了完整的日期、时辰、性别信息
  • [ ] 已执行决策门(询问用户选择哪种分析)
  • [ ] 排盘通过算法层脚本执行,未使用 LLM 自行排盘
  • [ ] 文本盘已正确转换为可读格式
  • [ ] 分析输出符合用户选择的格式
  • [ ] 输出末尾包含免责声明
  • [ ] 敏感问题已拒绝回答

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Highlights

  • 提供八字与紫微斗数双系统排盘及交叉印证功能,满足传统文化研究需求
  • 明确区分适用场景与不触发边界,避免误用
Trigger Precision75/100

Areas to improve

  • 触发词覆盖不全 Reported severity: Minor

    缺少部分口语化表达如'帮我算一下命'、'看看我的运势'等常见用户说法

    Recommendation: 补充更多自然语言变体以提升触发覆盖率

Highlights

  • 触发词边界清晰,明确排除星座、塔罗等非相关领域
Structure and Standards90/100

Areas to improve

  • 缺少 When to Use 显式章节 Reported severity: Minor

    文档结构完整但未使用标准 When to Use 章节标题

    Recommendation: 建议增加显式 When to Use 章节以提升规范性

  • description 重复定义 Reported severity: Minor

    frontmatter 与顶层均定义了 description 字段

    Recommendation: 保留一处即可,避免冗余

Highlights

  • Phase 划分清晰,含决策门、排盘、分析等完整流程
  • 提供端到端示例与验证清单,执行路径明确
Execution Reliability85/100

Highlights

  • 强调算法层排盘不可绕过,避免 LLM 自行排盘导致错误
  • 覆盖主要异常场景(日期范围、依赖缺失、平台兼容性)
  • 敏感问题有明确拒答机制与免责声明
Evidence Verifiability (mean of the first four)79/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.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 128
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

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.

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