Token导航 LogoToken导航

Agent Skill · 研究检索

bazi-skill-chinese-astrology(八字技巧中国占星术)

bazi-skill-chinese-astrology 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

bazi-skill-chinese-astrology 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 14,792。

总安装 8,299周安装 339GitHub Stars 39下载 2,685核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bazi-skill-chinese-astrology(八字技巧中国占星术)
来源仓库:https://github.com/aradotso/trending-skills
仓库路径:skills/bazi-skill-chinese-astrology
安装命令:
npx skills add https://github.com/aradotso/trending-skills --skill bazi-skill-chinese-astrology
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aradotso/trending-skills --skill bazi-skill-chinese-astrology

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

该技能用于四柱八字命理分析与交互式计算,结合经典中文占星文本提供命运解读。适合需要根据出生信息生成完整四柱图表并进行专业命理分析的场景。通过引导用户输入姓名、出生日期、时辰、性别和出生地等关键信息完成分析流程。安装前需确认权限范围及是否涉及敏感个人信息处理,建议核查仓库维护状态。

可能触发文件读写操作,使用时注意数据隐私与本地存储安全。

来源仓库内路径:skills/bazi-skill-chinese-astrology

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/aradotso/trending-skills --skill bazi-skill-ch…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

bazi-skill-chinese-astrology 怎么安装?

在终端执行 npx skills add https://github.com/aradotso/trending-skills --skill bazi-skill-chinese-astr…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

bazi-skill-chinese-astrology 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

bazi-skill-chinese-astrology 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

bazi-skill-chinese-astrology 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

bazi-skill-chinese-astrology 用的人多吗?

公开数据是累计安装 8,299 次,近一周安装 339 次,下载 2,685 次,GitHub 39 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

bazi-skill-chinese-astrology 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
bazi-skill-chinese-astrology

八字技巧中国占星术 · 本页

8,29939需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

BaZi Skill — 四柱八字命理分析

Skill by ara.so — Daily 2026 Skills collection.

A Claude Code skill for interactive BaZi (Four Pillars of Destiny) chart calculation and analysis, referencing nine classical Chinese astrology texts. Guides users through birth information collection, produces a complete 四柱 chart, and delivers professional destiny analysis.

What This Skill Does

  • Interactive information collection — step-by-step prompts for name, birth date (solar/lunar), birth hour (时辰), gender, and birthplace
  • Chart calculation — derives Year/Month/Day/Hour pillars (年柱/月柱/日柱/时柱), calculates 大运 (major cycles) and 流年 (annual cycles)
  • Comprehensive analysis — day master strength (日主强弱), ten gods (十神), five elements balance (五行), pattern determination (格局), career, relationships, health guidance
  • Classical text references — cross-references nine canonical texts including 《穷通宝典》, 《滴天髓》, 《子平真诠》, and more

Installation

# Install to current git project (run from repo root)
mkdir -p .claude/skills
git clone https://github.com/jinchenma94/bazi-skill .claude/skills/bazi

# Install globally (available in all projects)
git clone https://github.com/jinchenma94/bazi-skill ~/.claude/skills/bazi

After installation, Claude Code automatically discovers the skill from .claude/skills/bazi/SKILL.md or ~/.claude/skills/bazi/SKILL.md.

Project Structure

bazi-skill/
├── SKILL.md                  # Skill entry point (this file)
├── references/
│   ├── wuxing-tables.md      # Five elements, heavenly stems, earthly branches, ten gods
│   ├── shichen-table.md      # Time period conversion table, daily time calculation
│   ├── dayun-rules.md        # Major cycle forward/reverse rules, starting age calculation
│   └── classical-texts.md    # Core rules from nine classical texts
├── LICENSE
└── README.md

Triggering the Skill

Type any of these in Claude Code to activate:

算八字    看八字    批八字    排八字
四柱      命盘      算命      排盘      bazi

Step-by-Step Workflow

When triggered, follow this exact sequence:

Step 1: Collect Birth Information

Ask the user for these fields one at a time (do not ask all at once):

1. 姓名 (Name) — optional, for personalization
2. 性别 (Gender) — 男/女, affects 大运 direction
3. 出生日期 (Birth date) — ask whether 阳历 (solar) or 农历 (lunar)
4. 出生时辰 (Birth hour) — see shichen-table.md for conversion
5. 出生地点 (Birthplace) — province/city for timezone adjustment

Step 2: Convert to Four Pillars

Reference references/wuxing-tables.md for all lookup tables.

Year Pillar (年柱):

Year stem index  = (year - 4) mod 10  → maps to 天干
Year branch index = (year - 4) mod 12  → maps to 地支

Month Pillar (月柱):

Month branch is fixed by solar term (节气), not calendar month.
Month stem is derived from year stem using the 五虎遁年起月法 table.

Day Pillar (日柱):

Use pre-calculated 万年历 (perpetual calendar) lookup.
Day stem/branch cycle repeats every 60 days (六十甲子).

Hour Pillar (时柱):

Convert clock time → 时辰 (see shichen-table.md)
Hour stem derived from day stem using 五鼠遁日起时法 table.

Step 3: Identify Day Master (日主)

The Day Pillar's Heavenly Stem is the Day Master — the central reference point for all analysis.

Example: 日柱 = 甲子
Day Master = 甲 (Wood, Yang)

Step 4: Calculate 大运 (Major Cycles)

Reference references/dayun-rules.md:

Male + Yang year stem  → Forward (顺排)
Male + Yin year stem   → Reverse (逆排)
Female + Yang year stem → Reverse (逆排)
Female + Yin year stem  → Forward (顺排)

Starting age = days to next/previous 节气 ÷ 3 (round to nearest integer)
Each 大运 lasts 10 years.

Step 5: Determine Ten Gods (十神)

Cross-reference Day Master against each pillar stem using the 十神 table in references/wuxing-tables.md:

RelationshipSame element, same polaritySame element, opposite polarity
Self比肩劫财
Element I produce食神伤官
Element that produces me正印偏印
Element I control正财偏财
Element that controls me正官七杀

Step 6: Assess Five Elements Balance (五行平衡)

Count Wood/Fire/Earth/Metal/Water across all 8 characters (stems + branches).
Note hidden stems (藏干) in branches — include these in element count.
Identify excess and deficiency.

Step 7: Determine Pattern (格局)

Reference references/classical-texts.md — 《子平真诠》 and 《三命通会》 sections:

普通格局 (Common patterns): 正官格, 七杀格, 正印格, 偏印格,
                            食神格, 伤官格, 正财格, 偏财格
特殊格局 (Special patterns): 从格, 化格, 专旺格, etc.

Month branch hidden stem often determines the primary pattern.

Step 8: Full Analysis Output

Structure your analysis report as follows:

## 八字命盘 | BaZi Chart

**姓名**: [Name]  **性别**: [Gender]  **出生**: [Date Time]

| 柱  | 天干 | 地支 |
|-----|------|------|
| 年柱 | X   | X   |
| 月柱 | X   | X   |
| 日柱 | X   | X   |
| 时柱 | X   | X   |

**日主**: X(X行,X)

---

## 大运排列

起运年龄: X岁(约 XXXX 年起)

| 序 | 大运 | 年份 | 十神 |
|----|------|------|------|
| 1  | XX  | XXXX–XXXX | XX |
...

---

## 命理分析

### 日主强弱
[Assessment of day master strength based on seasonal support, roots, and helpers]

### 五行分析
[Element count and balance assessment]

### 格局判定
[Pattern name and explanation, citing classical text]

### 十神解读
[Key ten god relationships and their implications]

### 大运流年
[Current and upcoming major/annual cycle analysis]

### 综合建议
**事业**: [Career guidance]
**感情**: [Relationship guidance]
**健康**: [Health guidance]
**择吉**: [Auspicious timing suggestions]

---
*参考典籍: 《穷通宝典》《三命通会》《滴天髓》《渊海子平》《千里命稿》*
*免责声明: 仅供传统文化学习与娱乐参考,不构成任何决策依据。*

Key Reference Tables

天干 Heavenly Stems

甲(Wood+) 乙(Wood-) 丙(Fire+) 丁(Fire-) 戊(Earth+)
己(Earth-) 庚(Metal+) 辛(Metal-) 壬(Water+) 癸(Water-)

地支 Earthly Branches

子(Water+/Rat)  丑(Earth-/Ox)   寅(Wood+/Tiger) 卯(Wood-/Rabbit)
辰(Earth+/Dragon) 巳(Fire-/Snake) 午(Fire+/Horse) 未(Earth-/Goat)
申(Metal+/Monkey) 酉(Metal-/Rooster) 戌(Earth+/Dog) 亥(Water-/Pig)

五虎遁年起月法 (Month Stem from Year Stem)

Year stem 甲/己 → January stem starts at 丙
Year stem 乙/庚 → January stem starts at 戊
Year stem 丙/辛 → January stem starts at 庚
Year stem 丁/壬 → January stem starts at 壬
Year stem 戊/癸 → January stem starts at 甲

五鼠遁日起时法 (Hour Stem from Day Stem)

Day stem 甲/己 → 子时 stem = 甲
Day stem 乙/庚 → 子时 stem = 丙
Day stem 丙/辛 → 子时 stem = 戊
Day stem 丁/壬 → 子时 stem = 庚
Day stem 戊/癸 → 子时 stem = 壬

Classical Texts Quick Reference

典籍Primary Use
《穷通宝典》Day master seasonal adjustment (调候)
《三命通会》Pattern and spirit star (格局神煞) analysis
《滴天髓》Five element strength and flow (五行旺衰)
《渊海子平》Ten gods and six relations (十神六亲)
《千里命稿》Case study verification (命例实证)
《协纪辨方书》Auspicious date selection (择日神煞)
《果老星宗》Star and fate combined reading (星命合参)
《子平真诠》Use god and pattern (用神格局)
《神峰通考》Correcting common errors (命理辨误)

Full excerpts and rules are in references/classical-texts.md.

Common Patterns & Troubleshooting

Lunar to Solar Date Conversion

  • Always confirm whether user provides 阳历 (Gregorian) or 农历 (lunar)
  • Use 万年历 lookup for lunar→solar conversion before calculating pillars
  • Intercalary months (闰月) require special handling

Solar Term (节气) Boundaries

  • Month pillar changes at 节 (first solar term of month), NOT at month start
  • Critical for people born near the 1st–8th of a month
  • When uncertain, inform user their month pillar may differ by one month

Timezone Adjustment

  • Standard Chinese charts use Beijing time (UTC+8)
  • Users born outside China: convert local birth time to Beijing time
  • Some practitioners use true solar time (真太阳时) — note if applying this

Day Master Strength Assessment Checklist

✓ Is the birth season supportive? (得令)
✓ Does the day branch support the day master? (得地)
✓ Do other stems help the day master? (得助)
Strong (身强) if 2+ conditions met; Weak (身弱) if 0–1 conditions met.

Missing Information Handling

  • If user cannot provide exact birth time: analyze without hour pillar, note limitation
  • If only year/month known: provide partial analysis with appropriate caveats
  • Never fabricate birth data — always ask for clarification

Example Interaction

User: 帮我算八字

Claude: 好的,我来为您排八字!请问您的性别是?

User: 女

Claude: 好的。请问您的出生日期是阳历还是农历?

User: 阳历,1990年3月15日

Claude: 明白了。请问您出生的时辰或具体时间?

User: 早上8点半

Claude: 早上8点半是辰时(07:00–09:00)。请问出生地点?

User: 上海

Claude: [Proceeds to calculate pillars, 大运, and full analysis]

Disclaimer

本 Skill 仅供传统文化学习与娱乐参考,分析结果不构成任何医疗、法律、财务或人生重大决策依据。命理学属于传统文化范畴,请理性看待。

平台分布

Codex

34.53%
按下载量换算927

Claude

30.83%
按下载量换算828

Cursor

20.49%
按下载量换算550

Gemini CLI

9.22%
按下载量换算248

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills