bazi
Skill3 starsChanged 50 days agoMITView on GitHub
Use when the user supplies or wants to supply a 出生日期 and 出生时间 for a general 生辰八字 reading, including 看八字 or 算命; not for 手相 photos, 风水, 占卜, or requests focused specifically on 婚恋, 事业, or 财运.
16 other projects use a version of this.
Adopted by
Most recently taken up by
- AstralumeLan/prophet-toolkittheir own version, first seen Nov 8, 2026
- Changlan4/mingli-skillstheir own version, first seen Nov 8, 2026
- AstralumeLan/Prophet-toolkittheir own version, first seen Nov 8, 2026
- Rapman007/bazi-agent-skilltheir own version, first seen Oct 13, 2026
- jinchenma94/bazi-skilltheir own version, first seen Oct 8, 2026
- CharlotteShen/astro-tarot-bazi-divination-skillstheir own version, first seen Oct 8, 2026
Used with
Projects with it also use liuyao.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
clider0915Skillliuyao
六爻问卦技能。当用户要求六爻起卦、问卦、摇卦、铜钱卦,或简单预测一件事的结果时使用。 适用于一事一断、近期决策、吉凶判断等场景。门槛低、响应快、结论清晰。
Also in 3 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- jinchenma94/bazi-skill★ 3.4ksame name
- FANzR-arch/Numerologist_skills★ 1.5ksame name
- tf1993614/Know-your-fate★ 12same name
- zhangziyana007-sudo/skiller-community★ 5same name
- cdkcyxws/skills★ 4same name
- clider0915/divination-skills★ 4same name
- catharinepalatial88/bazi-skill★ 3same name
- jiwenxu025-boop/bazi-engine★ 2same name
- AstralumeLan/prophet-toolkit★ 1same name
- AstralumeLan/Prophet-toolkit★ 1same name
6 more not listed
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.
- love-marriageSkill
- palmSkill
- qimenSkill
- wealth-careerSkill
- ziweiSkill
The file
Files
八字综合命理
核心原则
默认进入唯一的 research 研究流程。模型可以参与识别歧义、选择排盘口径、提出计算计划和比较流派,但确定性结果必须由仓库计算内核执行并校验。必须调用 scripts/calculate.js,禁止心算或改写四柱、十神、大运、流年,也禁止用常识补造缺失的出生资料。模型提出的 researchPlan 只能使用脚本声明的白名单参数;报告中的四柱、真太阳时、十神、大运和流年只能逐字段引用脚本 JSON 的 calculation / alternateCalculation。脚本失败、返回非 ready、研究模式一致性校验失败或缺少所需字段时必须停止判读并报告错误。
执行流程
- 把用户资料整理为 JSON:
birthDate、birthTime、longitude、utcOffsetMinutes或standardMeridian、gender。targetYear(目标年份)可选,未提供时脚本按调用时当前干支年(立春为界)注入并在结果中披露。出生时间必须保留出生地当时的民用墙钟语义。 - 默认先形成简短结构化研究计划,再把计划和资料一起送入脚本。计划只允许选择
dayBoundary和useTrueSolar;换日对照、起运对照和一致性校验是研究内核固定开启的门禁,模型不能关闭。不要输出长篇内部推理,也不要自定义公式:
{
"mode": "research",
"version": 1,
"dayBoundary": "23:00",
"useTrueSolar": true
}- 将 JSON 送入脚本。所有宿主都必须从已安装的
bazi技能目录取得脚本的绝对路径;不得依赖当前工作目录或 shell 工作目录猜测仓库位置。Claude Code 可以使用${CLAUDE_PLUGIN_ROOT},其他宿主使用其提供的技能真实路径:
# 通用宿主:把占位符替换为当前 bazi 技能目录的绝对路径
printf '%s\n' '{"birthDate":"1955-02-24","birthTime":"19:15","longitude":-122.4194,"utcOffsetMinutes":-480,"gender":"male"}' | node "<absolute-bazi-skill-directory>/scripts/calculate.js"
# Claude Code 插件
printf '%s\n' '{"birthDate":"1955-02-24","birthTime":"19:15","longitude":-122.4194,"utcOffsetMinutes":-480,"gender":"male"}' | node "${CLAUDE_PLUGIN_ROOT}/skills/bazi/scripts/calculate.js"- 若返回
needs_input,按questions一次性追问全部缺失信息并停止判读。信息不足时询问,不得猜测经度、历史时区或性别。 - 若返回
ready,先检查research.一致性校验.status是否为passed,再读取 methodology.md,严格使用calculation、alternateCalculation、research与analysisContext;按 templates/report.md 输出。输出前逐项核对报告四柱与calculation.四柱结果.{年,月,日,时}完全一致。 alternateCalculation不为null时,说明日柱存在换日分歧;脚本已经用不同dayBoundary调用 core 复算另一派完整命盘。两派必须分别分析,禁止模型从主派心算或改写另一派十神、大运和流年。- 每个判断都写出“算出 -> 依据 -> 可供判读”,并引用
research.证据包中对应的证据来源;没有证据时写“不足以判断”。换日、起运、旺衰、格局、喜用神的流派分歧全部呈现。
路由边界
本技能用于综合命理,事业财运和婚恋只给概览。用户明确要求深入事业/财富时转 wealth-career,明确要求深入婚姻/恋爱时转 love-marriage。手掌照片转 palm。住宅风水与占卜能力均为 future / 未交付,当前不支持且不得调用不存在的技能。
禁止事项
- 不把五行数量直接等同旺衰,不把任一格局或喜用神方法包装成唯一真相。
- 不断言疾病、寿命、灾祸、必婚必离、确定收入或投资收益。
- 不省略文化娱乐、非医疗和非投资职业建议的免责声明。
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.

