# Plum Blossom

> 梅花易数卜卦系统。 支持时间起卦、数字起卦、汉字起卦。 自动排出本卦、互卦、变卦，包含干支时间、五行旺衰、卦辞、体用生克分析。

- Skill: `dvcrn/plum-blossom` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add dvcrn/plum-blossom`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dvcrn/plum-blossom/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dvcrn (https://skillmd.com/u/dvcrn)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/dvcrn/plum-blossom

---


# 梅花易数卜卦 🎯

中华传统占卜术数，源于宋代邵康节。

## 功能

- **时间起卦** - 根据年月日时起卦
- **数字起卦** - 任意两个数字起卦
- **汉字起卦** - 以汉字笔画数起卦
- **自动解卦** - 本卦+互卦+变卦，体用生克，月令旺衰

## 安装使用

```bash
# 克隆或复制 skill 到本地
cd /app/working/skills/

# 使用
cd plum-blossom
python3 plum_blossom.py [命令] [参数]
```

## 命令行

```bash
# 时间起卦（使用当前时间）
python3 plum_blossom.py time

# 数字起卦
python3 plum_blossom.py num 8 5

# 汉字起卦
python3 plum_blossom.py text "玄安"
```

## 输出示例

```
丙午年 辛辰月 甲戌日 丙丑时
木相，火旺，土旺，金相，水囚
【主卦】䷫ 地风升(体克用)
        卦辞「升，元亨，用见大人，勿恤，南征吉。」
【互卦】䷀ 互见乾乾
【变卦】䷀ 乾为天(体用比和)
        卦辞「元亨利贞。」
一爻动，爻辞「潜龙勿用。」
✓ 此卦主吉
```

## 文件说明

```
plum-blossom/
├── plum_blossom.py    # 核心代码
├── SKILL.md           # 说明文档
├── _meta.json         # 元信息
└── data/
    ├── 万物类象.md    # 八卦象意参考
    ├── 三要十应.md    # 心法参考
    └── 解卦技巧.md    # 方法论参考
```

## 注意事项

1. 起卦需心诚，专注于所问之事
2. 本系统仅供参考娱乐，切勿迷信
3. 重大决策仍需理性分析


