🔮
AI EngineeringPython

Ziwei Analysis

by shizhilya

Ziwei Analysis is an AI Engineering skill for Claude Code, published by shizhilya in yuan.

189 stars30 forkson shizhilya/yuanAdded 2026/09/06+2% in starsRepository updated 2026/04/27
agent-skillsastrologybaziclaude-codecodexdestiny
Install in seconds
Install Ziwei Analysis
Copy Ziwei Analysis into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/shizhilya/yuan/tree/main/references/ziwei ~/.claude/skills/ziwei

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/shizhilya/yuan.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
references/ziwei/SKILL.md in shizhilya/yuan
Installs to
~/.claude/skills/ziwei
Collection
One of 6 skills cataloged from this repository
Category
AI Engineering3278 skills

What Ziwei Analysis does

Ziwei Analysis structures Zi Wei Dou Shu work into deterministic chart facts and interpretive reading. Use it to design a Ziwei engine, interpret chart JSON or tables, or separate verified placement data from heuristic analysis.

Ziwei Analysis is cataloged under AI Engineering on DirSkills. Ziwei Analysis comes from a repository tagged agent-skills, astrology, bazi, claude-code and codex.

Documentation

README

Ziwei Analysis

这是一个给 AI 代理使用的 紫微斗数 Skill。目标不是“神秘发挥”,而是把紫微斗数任务拆成确定性的排盘层经验性的解读层,并用结构化输出保证可复核、可集成、可版本化。

核心原则

  1. 先分模式,再执行

    • design:构建/评审 Skill、Prompt、接口、JSON schema、规则引擎、代码架构。
    • interpret_chart:用户已经提供命盘事实(JSON、表格、转写后的截图信息),基于事实解释。
    • chart_from_birth:用户只提供出生资料;仅在你能访问可信、确定、可复现的排盘规则或外部排盘引擎时执行。
  2. 排盘是确定层,解读是经验层

    • 确定层:历法换算、命身宫、十二宫布宫、主星/辅星落宫、四化、大限/流年。
    • 经验层:性格、事业、财务、婚姻、健康、阶段趋势等解释。
    • 输出时必须把这两层分开写。
  3. 绝不虚构星曜位置

    • 如果没有可信排盘引擎、规则表、或现成命盘事实,就不要假装算出了主星、辅星、四化。
    • 此时只能:
      • 转为 design 模式,输出实现方案;或
      • 要求用户提供现成命盘 / Chart JSON / 截图转写结果;或
      • 明确说明当前只能给出“实现规范”,不能给出“个人命盘结论”。

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Ziwei Analysis

  • What else does shizhilya publish alongside Ziwei Analysis?

    Ziwei Analysis is one of 6 skills that DirSkills catalogs from shizhilya/yuan, the repository it ships in. Its siblings there include Astrology Analysis, Chenggu Analysis and Numerology Analysis. Each one is a separate skill with its own page in this directory, installs the same way Ziwei Analysis does, and is maintained by shizhilya in that same repository. The rest of the collection is listed on the shizhilya/yuan page.

  • How does Ziwei Analysis compare to other AI Engineering skills?

    Ziwei Analysis ranks #2960 by stars among the 3278 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Ziwei Analysis against them. Open each page to compare what they document and how they install.