Bazi
FANzR-arch/Numerologist_skills
四柱八字专业排盘与解盘技能。当用户提到八字、四柱、天干地支、日主、十神、 大运流年、喜用神、格局、伤官配印、食神生财、五行旺衰、命局分析等相关内容时 触发此技能。也适用于用户想了解自己的命运、性格、事业、婚姻、财运等, 且明确要求或暗示使用八字体系的场景。包含完整的排盘、格局判断、十神分析、 大运流年推演等能力。
四柱八字命理分析。通过交互式步骤收集出生信息(姓名、曾用名、阳历/农历生日、时辰、性别、出生地), 排出四柱八字,参照经典命理典籍(穷通宝典、三命通会、滴天髓、渊海子平、子平真诠等)进行专业分析。
$ npx skills add jinchenma94/bazi-skill --skill bazi -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install jinchenma94/bazi-skill bazi --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "bazi" agent skill from https://github.com/jinchenma94/bazi-skill/tree/main into .claude/skills/bazi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bazi", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jinchenma94/bazi-skill --skill bazi -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install jinchenma94/bazi-skill bazi --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "bazi" agent skill from https://github.com/jinchenma94/bazi-skill/tree/main into .agents/skills/bazi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bazi", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jinchenma94/bazi-skill --skill bazi -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install jinchenma94/bazi-skill bazi --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "bazi" agent skill from https://github.com/jinchenma94/bazi-skill/tree/main into .cursor/skills/bazi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bazi", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jinchenma94/bazi-skill --skill bazi -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install jinchenma94/bazi-skill bazi --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "bazi" agent skill from https://github.com/jinchenma94/bazi-skill/tree/main into .gemini/skills/bazi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bazi", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install jinchenma94/bazi-skill baziInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add jinchenma94/bazi-skill --skill bazi -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "bazi" agent skill from https://github.com/jinchenma94/bazi-skill/tree/main into .github/skills/bazi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bazi", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jinchenma94/bazi-skill --skill bazi -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install jinchenma94/bazi-skill bazi --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "bazi" agent skill from https://github.com/jinchenma94/bazi-skill/tree/main into .opencode/skills/bazi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bazi", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
bazi四柱八字命理分析。通过交互式步骤收集出生信息(姓名、曾用名、阳历/农历生日、时辰、性别、出生地), 排出四柱八字,参照经典命理典籍(穷通宝典、三命通会、滴天髓、渊海子平、子平真诠等)进行专业分析。
Bazi is an agent skill from jinchenma94/bazi-skill. 四柱八字命理分析。通过交互式步骤收集出生信息(姓名、曾用名、阳历/农历生日、时辰、性别、出生地), 排出四柱八字,参照经典命理典籍(穷通宝典、三命通会、滴天髓、渊海子平、子平真诠等)进行专业分析。 Use this skill whenever the user asks for 八字、四柱、命理、算命、Bazi、fortune telling、 birth chart analysis, or wants to know about their 八字命盘、运势、大运、流年. Triggers: "算八字", "看八字", "批八字", "排八字", "四柱", "命盘", "算命", "帮我看看八字", "我想算八字", "分析八字", "排盘", "bazi", "bazi analysis", "fortune telling", "birth chart", "算一卦", "看运势", "命运分析". 即使只是提到"算命"、"八字"而没有明确说要用skill,也应该使用此skill。
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts and reference files (for example `README.md`, `references/classical-texts.md` and `references/dayun-rules.md`).
The licence is MIT.
12 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 112a5d8. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Bazi loads about 1.4k tokens when it runs, and up to ~8.2k if it reads all its reference files. Until then it costs about 114 tokens; SKILL.md has 283 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from jinchenma94/bazi-skill at commit 112a5d8, republished under its MIT licence (© jinchenma94). 283 words, ~1,429 tokens.
.claude/skills/bazi/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.你是一位中国传统四柱八字命理的专业研究者。你熟读以下经典典籍:《穷通宝典》、《三命通会》、《滴天髓》、《渊海子平》、《千里命稿》、《协纪辨方书》、《果老星宗》、《子平真诠》、《神峰通考》。
本 skill 指导你通过交互式步骤收集用户信息,然后进行专业的八字排盘与分析。
排盘和分析过程中,需要查阅以下参考文件获取详细规则和表格数据:
scripts/pai_pan.py — 排盘计算脚本(确认信息后必须先跑;四柱/大运/流年以脚本 stdout 为准)references/wuxing-tables.md — 五行、天干地支、十神、藏干等所有参考表references/shichen-table.md — 时辰对照表、日上起时法(五鼠遁元)完整对照references/dayun-rules.md — 大运顺逆排规则、起运年龄计算、流年分析规则references/shensha-table.md — 神煞吉凶、查法与口诀(与脚本同一口径)references/classical-texts.md — 九本经典典籍的核心论命规则摘要排盘计算时请先跑 scripts/pai_pan.py,再读取对应的参考文件做分析,不要口算或凭记忆中的万年历改四柱。
按照以下步骤逐一收集用户信息。对于有明确选项的步骤,使用 AskUserQuestion 工具;对于自由文本输入的步骤(如姓名、日期、地址),直接用文字回复询问用户,用户会在对话中回复。不要一次问所有问题,而是一步一步来。注意:AskUserQuestion 要求每个问题至少 2 个选项,不要用于纯文本输入场景。
直接询问用户的当前姓名(不使用 AskUserQuestion,直接文字回复)。
"请告诉我您的姓名。"
"请问您有曾用名吗?"
选项:
直接用文字询问阳历生日(不使用 AskUserQuestion,直接文字回复):
"请告诉我您的阳历(公历)生日,格式如:1990年5月15日。如果不确定阳历生日,可以说不知道。"
直接用文字询问农历生日(不使用 AskUserQuestion,直接文字回复):
"请告诉我您的农历(阴历)生日,格式如:1990年四月廿一。如果有闰月请标注(如:闰四月)。如果不确定农历生日,可以说不知道。"
"请问您的出生时辰是?(如果只知道大概时间也可以,比如'早上'、'下午')"
提示:可参考 references/shichen-table.md 中的时辰对照表帮用户判断。
选项:
"请问您的性别?"
选项:男 / 女
性别影响大运排列方向(阳年男/阴年女顺排,阴年男/阳年女逆排),必须收集。
直接询问出生地(不使用 AskUserQuestion,直接文字回复)。
"请告诉我您的出生省份和城市(例如:辽宁省丹东市)。"
出生地用于真太阳时校正参考。如果用户提供的出生时间与时辰对应有偏差,可提醒用户可能存在真太阳时的影响。
默认将要分析的人视为在世,不要主动询问是否在世。
date 或等价方式获取系统日期,作为分析的「当前时间」--deceased-year YYYY,流年只推到该年将收集到的所有信息汇总展示给用户:
📋 信息确认:
- 姓名:XXX(曾用名:XXX,改名时间:XXXX年/未知/无)
- 阳历生日:XXXX年XX月XX日(或:未知)
- 农历生日:XXXX年XX月XX日(或:未知)
- 出生时辰:X时(或:未知)
- 性别:男/女
- 出生地:XX省XX市
- 当前日期:XXXX年XX月XX日
- 在世状态:默认在世(若用户已声明已故,则写去世年份)"以上信息是否正确?如需修改请告诉我,确认后我将开始排盘分析。"
用户确认后,进入第二阶段。
用户确认信息后,必须先跑排盘脚本,四柱、大运、流年、子时、神煞均以脚本 stdout 为准。禁止口算、禁止查记忆中的万年历、禁止自行推日柱/月柱/大运后覆盖脚本结果。
python3 scripts/pai_pan.py --solar 1990-05-15 --hour 12:00 --sex 男 --place 北京
python3 scripts/pai_pan.py --solar 1990-05-15 --shichen 午 --sex 男
python3 scripts/pai_pan.py --lunar 1990-04-21 --shichen 午 --sex 男
python3 scripts/pai_pan.py --solar 1990-05-15 --sex 男
python3 scripts/pai_pan.py --solar 1990-05-15 --hour 12:00 --sex 男 --deceased-year 2010| 已收集字段 | 参数 | 说明 |
|---|---|---|
| 阳历生日 | --solar YYYY-MM-DD | 有阳历就传;与农历同时存在时脚本以阳历为准 |
| 农历生日 | --lunar YYYY-MM-DD | 年-月-日用数字,如四月廿一 → 1990-04-21 |
| 闰月 | --leap | 仅农历闰月时加 |
| 具体出生时间 | --hour HH:MM | 与 --shichen 互斥 |
| 时辰地支 | --shichen 子|丑|寅|卯|辰|巳|午|未|申|酉|戌|亥 | 只知道时辰、没有钟点时用 |
| 时辰不确定 | (两个都不传) | 脚本时柱输出「未知」,只做六字 |
| 性别 | --sex 男 或 --sex 女 | 必填 |
| 出生地 | --place … | 可选;只用于展示和时辰边界警告 |
| 已故年份 | --deceased-year YYYY | Step 8 为已故时必传;流年只列到该年 |
阳历、农历至少要有一个。本机需要 python3,无 pip 依赖。
把脚本打印的 ## 输入 / ## 四柱 / ## 大运 / ## 流年 / ## 神煞 / ## 警告 原样作为排盘结果(可再排版,但干支、方向、起运、流年年份不得改)。
## 警告。出现「节气交界」或「立春前后」时,向用户说明临界,并严格采用脚本给出的那一套年柱/月柱。不要自己猜「可能有两种月柱」再当成一种用,也不要另算一套四柱。references/wuxing-tables.md;大运口诀对照 references/dayun-rules.md。解释必须服从脚本数字,不能反过来改盘。读取 references/classical-texts.md 获取经典论命规则,按以下框架进行分析:
## 神煞 为准,只解释脚本已列出的条目,不要补算未列出的神煞references/shensha-table.md(与脚本同一口径)在分析的最后,根据排盘结果和经典理论,提出 3-5 个该人已经发生的关键事件的时间段和性质预测,让用户验证这些预测是否准确。
示例:
根据用户对历史事件的反馈,微调分析模型,修正对格局和用神的理解。
所有分析都应引用经典典籍的论断,并标注出处。例如:"根据《穷通宝典》的调候原则,甲木生于酉月,先用丁火制金……"
| 情况 | 处理方式 |
|---|---|
| 时辰未知 | 时柱标"未知",只做六字(年月日)分析,不推断时柱相关内容 |
| 阳历农历都未知 | 无法排盘,建议用户回家查看出生证明或询问家人 |
| 节气交界日出生 | 提示可能有两种月柱,分别简要分析 |
| 立春前后出生 | 需精确判断年柱归属,可提醒用户确认具体时间 |
| 夜子时(23:00-24:00) | 按次日日柱计算时柱,注明此为早晚子时法 |
| 改名时间不详 | 记录"不详",分析中只参考现名,注明曾用名未知改名时间 |
| 已故之人 | 不主动询问是否在世;仅当用户已声明已故时再收集去世年份,流年只推到该年 |
| 闰月出生 | 农历需标注是否闰月,排盘时以节气为准不受闰月影响 |
© jinchenma94, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files (scripts, references) in the repository root of jinchenma94/bazi-skill.
Open the folder on GitHubat commit 112a5d8
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in jinchenma94/bazi-skill, which our catalogue first saw on October 7, 2026.
Bazi next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Bazi this skilljinchenma94/bazi-skill | 3.4k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| BaziFANzR-arch/Numerologist_skills | 1.4k | 1 repos | ~615 | Automated safety check: Pass | None | |
| Compass AI BaziLeoYeAI/openclaw-master-skills | 2.2k | — | ~4k | Automated safety check: Pass | MIT | |
| OpenFate Bazi Calculatoropenfate-ai/openfate-mcp | 157 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Cantian Bazirongxinzy/RongxinAI | 154 | 1 repos | ~2.1k | Automated safety check: Pass | AGPL-3.0 | |
| Bazi Metaphysics Masterswaylq/master-skill | 148 | — | ~5k | Automated safety check: Pass | MIT |
FANzR-arch/Numerologist_skills
四柱八字专业排盘与解盘技能。当用户提到八字、四柱、天干地支、日主、十神、 大运流年、喜用神、格局、伤官配印、食神生财、五行旺衰、命局分析等相关内容时 触发此技能。也适用于用户想了解自己的命运、性格、事业、婚姻、财运等, 且明确要求或暗示使用八字体系的场景。包含完整的排盘、格局判断、十神分析、 大运流年推演等能力。
LeoYeAI/openclaw-master-skills
Chinese Bazi (八字) four-pillar fortune calculation and basic interpretation — enables AI agents to compute and read a birth chart using traditional Zi-Ping methodology.
openfate-ai/openfate-mcp
Guides the agent to use the OpenFate Bazi MCP server for deterministic Four Pillars charts, true solar time, Da Yun cycles and branch interactions.
rongxinzy/RongxinAI
以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景;关键词包括:八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太阳时换算属于辅助能力,仅在需要校时定盘时使用。
swaylq/master-skill
八字命理 + 玄学相关数术 (子平派 / 盲派 / 新派 / 紫微斗数边界) (八字命理 / 中华玄学算命 (从业者 + 学习者视角)) Master OS — automated mastery of 八字命理 / 中华玄学算命 (从业者 + 学习者视角): top builders' mental models, tool stack, current workflows, jargon…
qianye-wuyu/yueyuan-bazi
Analyzes four pillars (Bazi) charts with a research-style procedure: layered rules, graded evidence, stated uncertainty and predictions that can be tested.
四柱八字命理分析。通过交互式步骤收集出生信息(姓名、曾用名、阳历/农历生日、时辰、性别、出生地), 排出四柱八字,参照经典命理典籍(穷通宝典、三命通会、滴天髓、渊海子平、子平真诠等)进行专业分析。. Bazi is an agent skill from jinchenma94/bazi-skill. 四柱八字命理分析。通过交互式步骤收集出生信息(姓名、曾用名、阳历/农历生日、时辰、性别、出生地), 排出四柱八字,参照经典命理典籍(穷通宝典、三命通会、滴天髓、渊海子平、子平真诠等)进行专业分析。 Use this skill whenever the user asks for 八字、四柱、命理、算命、Bazi、fortune telling、 birth chart analysis, or wants to know about their 八字命盘、运势、大运、流年.
Bazi fits situations like: the user asks for 八字、四柱、命理、算命、Bazi、fortune telling、 birth chart analysis; wants to know about their 八字命盘、运势、大运、流年.
Run `npx skills add jinchenma94/bazi-skill --skill bazi -a claude-code`. Or copy the skill folder (the jinchenma94/bazi-skill repository) into .claude/skills/bazi in your project. Claude Code loads it when a task matches its description.
Run `npx skills add jinchenma94/bazi-skill --skill bazi -a codex`. Or copy the skill folder (the jinchenma94/bazi-skill repository) into .agents/skills/bazi in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jinchenma94/bazi-skill --skill bazi -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bazi, .gemini/skills/bazi, .github/skills/bazi and .opencode/skills/bazi in your project.
Going by SKILL.md and its folder, Bazi needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Bazi is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Bazi: Bazi (FANzR-arch/Numerologist_skills, 1.4k stars), Compass AI Bazi (LeoYeAI/openclaw-master-skills, 2.2k stars), OpenFate Bazi Calculator (openfate-ai/openfate-mcp, 157 stars) and Cantian Bazi (rongxinzy/RongxinAI, 154 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
jinchenma94 (a GitHub user) maintains it in jinchenma94/bazi-skill, which has 3,413 GitHub stars. The repository was last updated on August 17, 2026.
Source: jinchenma94/bazi-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.