ziwei
Skill3 starsChanged 49 days agoMITView on GitHub
Use when the user explicitly asks for 紫微斗数、紫微命盘、十二宫、命宫身宫、四化或大限,并提供出生日期、出生时间、出生地点和性别;不用于仅有卦象、奇门局盘、手相照片或住宅风水的问题。
6 other projects use a version of this.
Adopted by
Most recently taken up by
- AstralumeLan/prophet-toolkittheir own version, first seen Nov 8, 2026
- AstralumeLan/Prophet-toolkittheir own version, first seen Nov 8, 2026
- songgoldenwind-crypto/ziwei-skillstheir own version, first seen Nov 1, 2026
- CharlotteShen/astro-tarot-bazi-divination-skillstheir own version, first seen Oct 8, 2026
- LucasYanzy/DAshitheir own version, first seen Oct 5, 2026
- shanrichard/ziwei-skilltheir own version, first seen Jul 27, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- shanrichard/ziwei-skill★ 9same name
- songgoldenwind-crypto/ziwei-skills★ 4same name
- AstralumeLan/prophet-toolkit★ 1same name
- AstralumeLan/Prophet-toolkit★ 1same name
- LucasYanzy/DAshi★ 1same name
- CharlotteShen/astro-tarot-bazi-divination-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- baziSkill
- love-marriageSkill
- palmSkill
- qimenSkill
- wealth-careerSkill
The file
Files
紫微斗数命盘
核心原则
必须调用 scripts/calculate.js。历法转换和安星由 core/ziwei 执行;模型不得心算、修改星曜或把符号当作现实事实。结构校验通过不代表术数具有科学预测能力。
执行流程
- 一次性收集
birthDate(公历 YYYY-MM-DD,1900–2100)、birthTime(出生地民用 HH:mm[:ss])、longitude、出生当日utcOffsetMinutes或standardMeridian、gender(male/female)。不要猜历史时区、夏令时或缺失出生资料。 - 取得已安装技能目录的绝对路径,不得依赖当前工作目录或 shell 工作目录。通用宿主从技能实际路径定位;Claude Code 可用
${CLAUDE_PLUGIN_ROOT}/skills/ziwei/scripts/calculate.js。
printf '%s\n' '{"birthDate":"2024-02-10","birthTime":"00:30","longitude":120,"utcOffsetMinutes":480,"gender":"male","options":{"useTrueSolar":false,"dayBoundary":"23:00","yearBoundary":"lunar-new-year","leapMonthPolicy":"same-month","transformationPolicy":"traditional"}}' | node "<absolute-ziwei-skill-directory>/scripts/calculate.js"needs_input:按missing/questions一次问全并停止判读。脚本非零退出、status:error、缺字段或验证非passed时同样停止,不得补造命盘。ready:同时检查supplement.verification.status、supplement.calculation.verification.status,均为passed才解读。只引用supplement.calculation的宫位、星曜、四化、大限;按 templates/report.md 输出。- 读取 methodology.md。披露
输入口径.policies和calendar。三个supplement.alternatives是另外三种已支持年界/日界组合的完整盘;对differs:true的盘分别展示,不得跨盘拼接。
口径与能力
- 默认真太阳时、23:00换日、农历新年分年。可选
useTrueSolar:false、dayBoundary:"00:00"、yearBoundary:"lichun"。 - 晚子换日先移动完整日期,再转农历;立春以实际瞬间判定,按出生UTC偏移换算至节气表时区,不套用当地墙钟。
- 闰月仅支持
same-month;四化仅支持traditional。未实现的选项报错,不宣称覆盖全部流派。 - 命宫、身宫、十二宫、五行局、十四主星、昌曲辅弼、禄存羊陀天马、生年四化、三方四正和大限宫位骨架。
- 当前不覆盖完整辅星亮度、流年流月流日、小限、飞星及图片识盘。
路由与安全
只给出生资料且未点名体系的综合问题转 bazi;明确点名紫微时使用本技能。深入婚恋、事业财运可转 love-marriage / wealth-career,但当前领域技能没有自动消费紫微盘的接口,不伪称已融合。
住宅风水和占卜技能仍是 future / 未交付,不得调用不存在的技能;奇门和手掌照片不在本技能范围。显式点名只覆盖自动路由,仍须遵守输入和安全边界。
报告原样使用运行时 边界 以及共享 EVIDENCE_RULES,不另改免责声明。不得断言必婚必离、出轨、疾病、寿命、灾祸、确定收益或他人隐私事实。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

