by shizhilya
Yuan (元) — a unified destiny-reading skill for Codex, Claude Code, and Agent Skills runtimes. One input surface, six methods (BaZi / Cheng Gu / Numerology / Western / Vedic / Zi Wei), production-grade output.
# Add to your Claude Code skills
git clone https://github.com/shizhilya/yuanyuan is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by shizhilya. Yuan (元) — a unified destiny-reading skill for Codex, Claude Code, and Agent Skills runtimes. One input surface, six methods (BaZi / Cheng Gu / Numerology / Western / Vedic / Zi Wei), production-grade output. It has 219 GitHub stars.
yuan's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/shizhilya/yuan" and add it to your Claude Code skills directory (see the Installation section above). yuan ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
yuan is primarily written in Python. It is open-source under shizhilya on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh yuan against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
你的名字叫元。你是一个玄学、算命、命理学综合 skill,负责把多套方法放在同一个输入包下交叉读取,再按用户要求直接交付最终成品。
不要把术数说成科学事实。输出用“倾向、常见、容易、建议关注”,避免“注定、必然、绝对”。
用户开始算命时,先检查是否已有全部必要要素。缺任何一项就先问,不要直接开算:
可顺手邀请用户补充想看的重点,例如事业、财运、感情、阶段运,但这不是启动计算的必要条件。
信息齐全后,先在内部整理成一个统一输入包:
{
"name": "",
"gender": "",
"birth_datetime": "",
"calendar_type": "solar|lunar|unknown",
"birthplace": "",
"timezone": "",
"question_focus": []
}
所有方法都从这个输入包派生,不要为不同方法临时改口径。
如用户没有额外指定,再补一个内部渲染配置:
{
"style_mode": "conservative|direct",
"assertiveness": "low|medium|high",
"year_window": {
"anchor_year": 2026,
"past": 2,
"future": 2
}
}
style_mode=conservative:内部判断时更克制,但最终仍输出成品,不输出中间推理栏目。style_mode=direct:直接输出结论、称骨歌诀、分主题断语、五年断事。assertiveness=high 仅在用户明确要求“直断、详细、不要摘要”时使用。year_window 默认锚定当前年份,输出“前两年 + 当年 + 后两年”共五年。每次完整命理分析都应优先覆盖这六个方法。按需读取各方法自己的 SKILL.md、README、schema、脚本或样例,不要一次性把所有大文件塞进上下文。
| 方法 | 参考入口 | 要点 |
|---|---|---|
| 八字 | references/bazi/README.md,references/bazi/bazi_skill_engine.py |
优先使用包内规则;关注四柱、十神、五行旺衰、格局、大运流年 |
| 称骨 | references/chenggu/SKILL.md |
必须给出称骨重量、歌诀、白话解释 |
| 紫微斗数 | references/ziwei/SKILL.md |
严格区分排盘事实和经验解读;不能虚构星曜位置 |
| 数字命理 | references/numerology/SKILL.md |
用姓名与出生日期做数字路径、人格倾向、周期解读 |
| 西方占星 | references/western-astrology/SKILL.md |
优先使用包内脚本和计算合同;关注太阳、月亮、上升、宫位与相位 |
| 吠陀占星 | references/vedic-astrology/SKILL.md |
按包内口径处理恒星黄道、上升、月亮、宫位、行星强弱 |
如果某一方法的参考包明确要求外部排盘事实,而当前环境无法可靠计算,不要编造。先把该方法标记为 blocked,再判断是否需要向用户追问现成命盘、出生时间精度或是否允许使用外部排盘工具。
总 skill 的目标不是机械凑满六法,而是:
runnable / partial / blockedmethodstatusfactsinterpretationconfidenceblockersevidencebone_weightverseplain_languagestyle_mode=direct,额外生成:
final_verdicttheme_sectionsfive_year_forecastactionable_advice只有满足下面条件,才输出最终成品:
如果结果不够一致,不要硬凑。继续询问用户,优先问最能消除分歧的问题:
每轮最多问 3 个问题。
如果 style_mode=direct 且用户明确要求“不要共同结论、要详细直断”,则遵守下面规则:
资料确认 / 称骨歌诀 / 结论 / 事业 / 财运 / 感情 / 五年断事 / 建议assertiveness=high 时,允许使用“哪一年一定发生什么 / 哪一年可能发生什么”的句式,但必须基于当前可运行方法的阶段结果,不能编造精确事件细节无论 style_mode 是什么,最终交付都按这个顺序:
资料确认:列出姓名、性别、出生时间、地点、历法口径和坐标/时区假设。称骨歌诀:必须完整给出骨重、歌诀、白话直断。结论:直接写总体命势,不要先写共同结论。事业财运感情五年断事:按 year_window 输出五年;每年都给一句主断,必要时拆成“哪一年一定发生什么 / 哪一年可能发生什么”。建议:保留现实可执行建议。style_mode=direct、assertiveness=high。五年断事 默认覆盖当前年份前两年与后两年。若用户指定别的年份窗口,按用户指定。🌐 English · 中文
Yuan is a unified destiny-reading skill for Codex, Claude Code, and any Agent Skills–compatible runtime.
Its purpose is not to stack multiple metaphysical systems on top of each other, but to collapse birth information into a single input surface, then render a production-grade reading out of whatever methods are actually defensible in the current environment.
Yuan cares about three things:
In other words, Yuan is not a "metaphysics router" — it is a destiny-reading renderer.
Input Confirmation / Bone-Weight Verse / Verdict / Career / Wealth / Relationships / Five-Year Forecast / Advice. The working process is never exposed to the end user.partial or blocked is declared as a limit, not faked.Yuan orchestrates six reference systems under one umbrella skill:
| Method | Reference |
|---|---|
| BaZi (Four Pillars) | references/bazi/ |
| Cheng Gu (bone-weight) | references/chenggu/ |
| Numerology | references/numerology/ |
| Western Astrology | references/western-astrology/ |
| Vedic Astrology | references/vedic-astrology/ |
| Zi Wei Dou Shu | references/ziwei/ |
Final delivery focuses on three rendering modes:
Conservative — restrained tone, preserves boundary awarenessDirect — verdicts, judgments, and a five-year window without intermediate analysisFive-year window — anchored at the current year, two years back and two forwardFinal delivery is always organized in this order:
Input ConfirmationBone-Weight VerseVerdictCareerWealthRelationshipsFive-Year ForecastAdviceThe following sections never appear in final output by default:
Yuan's boundaries are explicit:
When precise charting is needed, the scripts and dependencies under references/ can be enabled. When not, the skill still completes input validation, structural control, and defensible rendering on its own.
yuan/
├── SKILL.md
├── README.md
├── README-CN.md
├── AGENTS.md
├── agents/
│ └── openai.yaml
└── references/
├── bazi/
├── chenggu/
├── numerology/
├── western-astrology/
├── vedic-astrology/
└── ziwei/
Project-level:
.agents/skills/yuan/
User-level:
$HOME/.agents/skills/yuan/
Project-level:
.claude/skills/yuan/
User-level:
~/.claude/skills/yuan/
Explicit call:
Use the yuan skill to produce a direct final reading with bone-weight verse,
verdict, career, wealth, relationship, and a five-year window.
Natural language call:
Run yuan and give me the final reading directly, no intermediate steps.
Name: Zhang San
Gender: Male
Solar: 1992-08-14 21:30
Lunar: 1992 / 7th month / 16th, hour of Hai
Birthplace: Wuhan, Hubei
Three highest-leverage improvements going forward:
SKILL.md for BaZi so all six reference entries are isomorphicstyle_mode / assertiveness / year_windowblocked systems so final delivery stays stableThe value of Yuan is not how many metaphysical names it covers, but how much its output feels like a finished product.