agentleFS
Leon-DrqLeon-Drq/ziwei-doushu-skill/SKILL.md

ziwei-doushu

Skill0 starsChanged 2 months agoMITView on GitHub

排列并分析紫微斗数命盘。触发于紫微、斗数、命宫、十二宫、十四主星、四化、大限、流年等请求;先确认出生日期时间、性别与历法,再用脚本生成命盘,区分排盘事实和传统解释。

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

紫微斗数命盘

这个 skill 负责把出生时间整理为农历生日、命宫/身宫、五行局、十二宫、主星、部分辅煞星、年干四化和大限骨架。它提供结构化参考,不把星曜象征写成确定性人生事件。

输入门控

需要:

  • 公历出生日期或已核对的农历日期;
  • 出生时刻,至少精确到时辰;
  • 性别,用于大限顺逆;
  • 出生地点/时区,尤其是跨时辰或夏令时的情况;
  • 是否采用真太阳时、子初换日和闰月规则。

时辰不确定时,应输出候选盘或说明无法可靠排定,不要强行选择一个时辰。公历转农历只支持脚本声明的日期范围;边界日期先用可靠万年历核对。

固定流程

  1. 记录公历/农历、时区、闰月和换日假设;
  2. 运行 scripts/ziwei_calc.py,生成命宫、身宫、五行局、十四主星、辅煞星、四化和大限;
  3. 阅读 references/chart-structure.md,按命宫的三方四正和目标宫位读取证据;
  4. 阅读 references/limits.md,检查时辰敏感、简化排盘和高风险主题边界;
  5. 先报告排盘字段,再按一个问题输出性格/事业/感情/财务/健康/阶段性趋势,不混用八字或六爻判据。

解读规则

  • 十二宫是问题索引;十四主星是核心结构;辅星、煞星和四化是修饰证据;
  • 先看本宫,再看对宫、三合宫和夹宫;不要只凭一颗星断一生;
  • 大限与流年是时间层,描述主题和条件,不写“某年必然发生”;
  • 健康只写压力、作息和体检提醒;投资、法律、安全和医疗问题以专业意见为准;
  • 同一命盘的追问沿用同一盘,不因答案不合预期而重新排盘。

输出契约

  1. 输入、换算和精度说明;
  2. 农历与年干支、命宫、身宫、五行局;
  3. 十二宫表:地支、主星、辅星、煞星;
  4. 年干四化与命宫三方四正证据;
  5. 大限顺逆与起限年龄(脚本为基础估算);
  6. 针对单一问题的倾向、证据、行动建议和不确定性;
  7. 文化学习与自我观察边界。

脚本

python3 scripts/ziwei_calc.py 1990 8 15 14 男

脚本输出 JSON。公历转农历范围为 1900–2099;若用户已经有准确农历月日,可直接在 Python 中调用 paipan_from_lunar,避免重复换算。报告遵守 references/evidence-contract.md;高风险主题遵守 references/safety-and-privacy.md。

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.