Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ShousenZHANGv5.10.0MIT
Asks Claude for BaZi readings, auspicious dates and yearly fortune, with each classical quote traceable to a passage ID. Says its calculations run offline and needs Python 3.9 or newer; answers are in Chinese.
chinese-fortune@chinese-fortune, from the skills/chinese-fortune/ folder. Claude Code treats the two as separate plugins. View the author's build →Claude loads one when your task matches it, or you run it by name.
Of the plugin's README
Chinese
bazi, four-pillars, chinese-astrology, auspicious-dates, i-ching, zi-wei-dou-shu, almanac, fortune-telling ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
让 AI 按古籍原文算八字、挑日子、看运势:先说大白话结论,每句古文都能查到出处。
装到哪:Claude Code、Codex、Cursor 等支持 Agent Skills 的 AI 工具。前提:电脑上有 Python 3.9 或以上,不用 pip 装任何包,计算不联网。
chinese-fortune-v版本号.zip。chinese-fortune/SKILL.md:Claude Code 放 ~/.claude/skills/,Codex 放 ~/.codex/skills/。ziping:c009:p0006),就说明技能在工作。Claude Code 也可以用插件一条命令装好,其他宿主见 安装。
| 直接问大模型算命 | 用有据算命 |
|---|---|
| 同一个八字问三遍,可能得到三个答案 | 干支、十神、吉凶等级由随包脚本计算,同样输入得到同样结果 |
| 引文张口就来,查不到出处 | 每句引文带段号,用 classical_search.py --passage-id 能原样查到;发出前机械核对 |
| 满篇术语,看不懂 | 先给白话结论,术语第一次出现就解释 |
| 要么吓人,要么打包票 | 不打分、不保证结果、不给健康断语,没核完的条件照实说 |
| 时辰、时区、夏令时随手一算 | 出生地时区、历史夏令时、真太阳时、交节和日界分开处理 |
| 每次都要重报生辰 | 第一次确认后可存成本机档案,下次说「我」就能直接用 |
实测(轮次和口径见来源):
同一仓库还有两个独立技能:life-guide 按《高性价比人生指南》回答现实生活问题(急症先给第一个动作),fortune-extras 做塔罗、星座和解梦。三个技能互不依赖,按需安装。
最省事的办法是把这句话发给你的 AI:
| 宿主 | 命令 |
|---|---|
| Claude Code | /plugin marketplace add ShousenZHANG/chinese-fortune,再 /plugin install chinese-fortune@chinese-fortune |
| Claude Code 斜杠命令 | 装好插件后可直接用 /chinese-fortune:bazi(八字)、/chinese-fortune:days(哪天好)、/chinese-fortune:hehun(合婚)、/chinese-fortune:year、:week、:month、:areas(年度运势),也可以直接用中文提问 |
| 同仓库的另外两个技能 | 现实生活问答 life-guide,塔罗、星座、解梦 fortune-extras:把上面命令里的 chinese-fortune 换成技能名(Claude Code 是 /plugin install life-guide@chinese-fortune) |
| Codex、Cursor、GitHub Copilot、Gemini CLI 等 | npx skills add ShousenZHANG/chinese-fortune --skill chinese-fortune |
| Gemini CLI(自带命令) | gemini skills install https://github.com/ShousenZHANG/chinese-fortune --path skills/chinese-fortune |
| claude.ai、ChatGPT、Claude API | 从 Releases 下载 chinese-fortune-v版本号.zip:claude.ai 在 Settings > Features 上传;ChatGPT(Business、Enterprise、Edu)在 Plugins > Skills 上传;Claude API 用 Skills API 上传 |
| 只支持 MCP 的工具(Claude Desktop、Cursor、VS Code 等) | 解压同一个 zip,按下方配置接入 |
{"mcpServers": {"chinese-fortune": {"command": "python", "args": ["/解压路径/chinese-fortune/scripts/mcp_server.py"]}}}
MCP 配置在 Windows 上把 python 换成 py,参数前加 "-3";工具名和资源会自动列出,SKILL.md 和参考文档作为资源提供。保存档案、前瞻记录这两个会写个人资料的脚本不通过 MCP 开放。
只需 Python 3.9 或以上(macOS 自带的 python3 就够),不用 pip 安装任何包,计算不联网:排盘库 lunar_python 和时区数据 tzdata 已随包附带。CI 在 Python 3.9、3.11、3.12 和 Windows 上验证。装好后在技能目录自检,返回 "healthy": true 即可:
python scripts/doctor.py
~/.claude/skills/,Codex ~/.codex/skills/,Gemini CLI ~/.gemini/skills/),应得到 chinese-fortune/SKILL.md。python3、python、py -3,找一个 3.9 以上的;都没有时征得用户同意再装 Python(命令见 SKILL.md「运行环境与诊断」)。python scripts/doctor.py,返回 "healthy": true 就装好了;否则按 next_step 处理。问到命理时,AI 会先问这道题用得上的出生资料(日期、时间、出生地、性别)和你现在住的城市。时间记不清可以给范围,比如 19–20 点;只查古籍不需要生辰。
| 想知道 | 可以这样问 |
|---|---|
| 八字命局 | 我出生于 1990 年 5 月 10 日 14:30,男,北京出生,现在住悉尼。请用白话解释八字的主要结构,说明哪些条件成立、哪些地方有分歧。 |
| 哪天对我好 | 下个月哪天搬家好?未来七天哪天对我好? |
| 面试、考试几点 | 下周二上午和周四下午能面试,每次一小时,选哪个? |
| 事业、财运、感情、学业 | 看看我的事业和财运。人生领域速读。 |
| 大运、流年、本周本月 | 我现在这步大运好不好?2027 年运势怎么样?这周、这个月运势如何? |
| 穿什么、戴什么 | 我穿什么颜色、戴什么对自己有利? |
| 黄历、六爻、奇门 | 10 月 29 日搬家可以吗?用六爻看下周二的面试。下周哪个时辰适合出行? |
| 查古籍 | 《子平真诠》怎么理解用神?先解释意思,再给原文位置。 |
| 现实生活 | 失业了先做什么?替朋友担保签不签? |
回答先用大白话直接说结论,再给短原文,每段古文后马上解释它的意思、为什么和你的情况有关。下面节选自白话输出示例(依据固定测试盘撰写,不是真实用户预测):
不能直接给你一个“补某种五行就好”的答案。按这套古法,盘中一条约束关系比较突出,同时还有削弱它和支持它的关系,需要放在一起看;不能只抓住一个名称就判好坏。
《子平真诠》说:“八字用神,專求月令。”这里的“用神”是从出生月份确定分析的起点;本例先看己土正官,并不等于“最缺什么就补什么”。
Generated from the plugin's indexed repository (shousenzhang/chinese-fortune) — no native marketplace selected
npx claudepluginhub p/shousenzhang-chinese-fortuneBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground