bazi-ziwei-rrsx

Specialized skill for comprehensive Bazi and Ziwei Doushu analysis to help an AI Agent efficiently complete related tasks.

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

Specialized skill for comprehensive Bazi and Ziwei Doushu analysis to help an AI Agent efficiently complete related tasks.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
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 Agent高效完成相关任务。
summary: "八字紫微斗数综合分析专用技能,帮助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 ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Highlights

  • 提供八字与紫微斗数双系统综合分析,满足传统文化命理分析的长尾需求
  • 明确区分适用与不适用场景,功能边界清晰
Trigger Precision85/100

Highlights

  • 触发词覆盖完整,包含多种用户表达变体(如'看八字'、'算命'、'看命盘')
  • 明确列出不触发场景(星座、塔罗、风水等),减少误触风险
Structure and Standards75/100

Areas to improve

  • 缺少 When to Use 和端到端示例章节 Reported severity: Minor

    文档结构完整但缺少 When to Use 和具体的端到端使用示例

    Recommendation: 建议补充 When to Use 章节和完整的端到端示例,帮助用户更好地理解和使用技能

Highlights

  • 文档结构清晰,分步骤说明使用方法
  • 包含验证清单和常见问题处理,提升用户体验
Execution Reliability70/100

Areas to improve

  • 脚本路径依赖可能导致跨平台兼容性问题 Reported severity: Minor

    脚本执行依赖特定目录结构(calculator/dist/),在不同平台或部署环境下可能无法正确执行

    Recommendation: 建议增加路径检查机制或使用相对路径,提升跨平台兼容性

Highlights

  • 强调必须通过算法层排盘,避免 LLM 自行排盘导致错误
  • 包含依赖检查机制和敏感问题处理规则
Evidence Verifiability (mean of the first four)74/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.