Ziwei Skill — Development skill for Claude Code
紫微斗数 Skill for Claude Code / OpenClaw - 基于传统命理学的命盘分析与运势预测.
How to install Ziwei Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open shanrichard/ziwei-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Ziwei Skill does
紫微斗数 Skill for Claude Code / OpenClaw - 基于传统命理学的命盘分析与运势预测.
Alternatives in Development
- Openclaw China — OpenClaw中国插件:支持飞书,钉钉,QQ,企业微信,微信 4k ★
- Antigravity Claude Proxy — Proxy that exposes Antigravity provided claude / gemini models, so we can use them in Claude Code and OpenClaw 3.5k ★
- Nihaixia — 倪海厦视角的中医Agent Skill,基于倪海厦教学资料开发,蒸馏倪师伤寒论、金匮要略、黄帝内经、神农本草经、针灸篇等,人纪/医案/经方思维,六经辨证,八纲辨证,天机道,天纪,紫微斗数,易经,阴阳,八卦,五行,风水,地 2.7k ★
README
紫微斗数 Ziwei Skill
基于传统紫微斗数命理学的命盘分析与运势预测,支持 Claude Code 和 OpenClaw。
Quick Start
npx ziwei-cli
这会:
- 检测你的 Claude Code / OpenClaw 安装
- 安装 skill 到正确位置
- 全局安装
ziweiCLI
手动安装
# Clone
git clone https://github.com/shanrichard/ziwei-skill ~/.claude/skills/ziwei
cd ~/.claude/skills/ziwei
# 安装依赖
npm install
# 全局安装 CLI
npm link
CLI 使用
# 本命层 - 查看命宫三方四正
ziwei palace --date 1990-05-15 --time 10:30 --gender 男 --city 北京 --palace 命宫
# 流年层 - 查看官禄宫流年运势
ziwei palace --palace 官禄宫 --scope yearly --year 2025 --date 1990-05-15 --time 10:30 --gender 男 --city 北京
# 流月层
ziwei palace --palace 财帛宫 --scope monthly --year 2025 --month 6 ...
# 本命合盘
ziwei synastry origin \
--a-date 1990-05-15 --a-time 10:30 --a-gender 男 --a-city 北京 \
--b-date 1992-03-20 --b-time 14:00 --b-gender 女 --b-city 上海
Skill 使用
安装后重启 Claude Code / OpenClaw,然后直接说:
- "帮我算命"
- "看看我今年的运势"
- "我和对方合适吗"
支持的功能
宫位查询 (`palace`)
- 本命层 (
origin) - 默认 - 大限层 (
decadal) - 需指定--year - 流年层 (
yearly) - 需指定--year - 流月层 (
monthly) - 需指定--year --month - 流日层 (
daily) - 需指定--year --month --day
合盘分析 (`synastry`)
- 本命合盘 (
origin) - 流年合盘 (
yearly)
宫位与议题对应
| 议题 | 目标宫 |
|---|---|
| 性格/整体运势 | 命宫 |
| 事业/升职 | 官禄宫 |
| 婚恋/感情 | 夫妻宫 |
| 财运/理财 | 财帛宫 |
| 健康 | 疾厄宫 |
| 房产/家庭 | 田宅宫 |
| 出行/移民 | 迁移宫 |
| 子女/创作 | 子女宫 |
| 朋友/同事 | 仆役宫 |
| 兄弟/合伙 | 兄弟宫 |
| 学业/考试 | 父母宫 |
| 心态/福报 | 福德宫 |
技术栈
- iztro - 紫微斗数排盘库
- lunar-javascript - 农历转换
- commander - CLI 框架
License
MIT
Related Skills
Agentic Stack
One brain, many harnesses. Portable .agent/ folder (memory + skills + protocols) that plugs into Claude Code,
Nexting
Remote control for Claude Code, Codex, Grok, and Cursor on Mac or PC. View sessions, send tasks, and drive the
Opik Openclaw
🦞 Official plugin for OpenClaw that exports agent traces to Opik. See and monitor agent behaviour, cost, toke
AgentHandover
What if OpenClaw, Claude Code, Codex etc. knew how to do your work without you saying it? AgentHandover observ
Phistory
Phistory automatically archives versioned system prompt snapshots from agent CLIs like Claude Code, Codex, Ope
Openclaw Billing Proxy
Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage
Related Agents
ClawPort -- Setup Guide
This guide walks you through getting ClawPort running against your own OpenClaw instance. If you just want the
Part 16: autoDream — Automatic Memory Consolidation
Note: OpenClaw 2026.4+ has a built-in dreaming system (Part 22) inside memory-core. If you're on 2026.4+, use
CyberClaw
👾 下一代透明智能体架构 Next-Gen Transparent Agent Architecture 🔍 全行为审计 🛡️ 两段式安全调用 🧠 双水位记忆 ⏰ 心跳任务 📊 P0 级事故率降低 80% 兼容