Coding

Yunshi

Try it

MingLi is your all-in-one Chinese astrology and fortune-telling companion. It combines six ancient divination systems — BaZi (Four Pillars of Destiny), ZiWei...

What it does

八字/四柱排盘、流年大运分析 今日/近期运势(事业/财运/感情/健康) 紫微斗数命盘 合婚、双方八字相配 占卦(梅花易数、六爻、奇门遁甲) 风水布局、财位、幸运颜色 用户说"算命""看运势""占卜""帮我占一卦"

The skill document

运势 (YunShi)

私人命理顾问 — 每日运程推送 · 八字紫微 · 占卜风水

何时使用

  • 八字/四柱排盘、流年大运分析
  • 今日/近期运势(事业/财运/感情/健康)
  • 紫微斗数命盘
  • 合婚、双方八字相配
  • 占卦(梅花易数、六爻、奇门遁甲)
  • 风水布局、财位、幸运颜色
  • 用户说"算命""看运势""占卜""帮我占一卦"

🌐 多语言响应规则

  1. 语言跟随:用户语言 → 全程同语言回复
  2. 专有术语保留中文:柱名/星曜/卦名保持中文原字,括号内附译文
    • 英文示例:Your Day Pillar is 甲子 (Jiǎ Zǐ — Wood Rat), indicating...
  3. 脚本输出翻译:脚本返回的中文结构由 Agent 解读后以用户语言呈现
  4. 注册格式:非中文用户使用 Name | Gender(M/F) | BirthDate | BirthTime | BirthPlace
  5. 推送语言:跟随档案 language 字段(默认 zh)

📖 功能列表

排盘

功能命令
八字排盘(四柱/日主/用神/神煞)八字 1990-05-15 14:30
紫微斗数(命宫/十二宫/四化)紫微 1990-05-15 男
奇门遁甲奇门 2026-03-24 15:00
择吉选日择吉 2026-04 开业

分析

功能命令
流年/大运/事业/财运/婚姻/健康2026年运势 / 未来十年运势 / 财运好不好
合婚分析合婚 张三 李四
风水分析风水分析

占卜

功能命令
梅花易数梅花易数 3 5 2(数字起卦)或留空时间起卦
六爻预测六爻占卜
奇门占卜奇门选时 明天15:00

每日运程(自动推送)

早晨 07:00 推送今日运势,晚间 20:00 推送明日预告。内容:综合指数、幸运颜色/方位/数字、今日宜忌、风险预警、吉时、每日一言。

推送命令说明
每日运势开 / 开启运势推送开启
每日运势关 / 关闭运势推送关闭
推送状态查看当前状态

📦 环境依赖

  • Node.js >=18(必须)
  • npm install 安装 iztro(紫微斗数)和 lunar-typescript(农历转换)
  • OPENCLAW_KNOWLEDGE_DIR:可选,紫微格局知识库,不存在时自动降级
  • 推送渠道:telegram/feishu 由 openclaw 运行时投递,skill 不调用任何渠道 API
  • 新闻联动:由 Agent 的 WebSearch 工具完成,无搜索能力时跳过
  • 个人数据:存储在 data/profiles/.json,含敏感信息,请确认访问权限

🛠️ 工具脚本

# 注册 / 档案
node scripts/register.js  <姓名> <性别> <出生日期> <出生时间> [地点]
node scripts/profile.js show 
node scripts/profile.js add  spouse|child <姓名> <出生日期> <性别>

# 排盘
node scripts/ziwei.js <出生日期> <性别> [时辰]
node scripts/qimen.js [日期] [时辰]
node scripts/zhuanshi.js  <活动类型> [用户八字]
node scripts/fengshui.js [八字] [年份]

# 运程 / 合婚 / 占卜
node scripts/daily-fortune.js [日期]
node scripts/marriage.js  
node scripts/meihua.js [数字1-3]
node scripts/liuyao.js [010203] [问题]

# 推送管理
node scripts/daily-push.js --dry-run          # 模拟推送
node scripts/daily-push.js --test     # 测试推送
node scripts/daily-push.js --list             # 查看已开启用户
node scripts/push-toggle.js on|off|status 

# 偏好追踪(每次提问后调用)
node scripts/preference-tracker.js record   explicit_query|topic_drill
node scripts/preference-tracker.js weights|top  [N]
# topic: 财运|事业|感情|健康|婚姻|子女|官司|出行|风水

⏰ Cron 推送配置

openclaw cron add "0 7 * * *" "cd ~/.openclaw/workspace/skills/yunshi && node scripts/daily-push.js"
openclaw cron list
openclaw cron delete <任务ID>

子时算法:1 = 23:00-23:59 算次日(倪海厦派);2 = 算当日(传统派)


📊 交叉验证权重

问题类型八字紫微奇门梅花六爻
终身命格40%30%---
年度运势40%30%20%10%-
事业决策30%20%30%-20%
婚姻感情40%30%-10%20%
当下问事--30%40%30%

⚠️ 风险预警等级

🔴 严重(立即处理)· 🟡 注意(谨慎处理)· 🟢 提示(一般提醒)

类型:🚨 健康 · 💰 财务 · 💕 感情 · 💼 事业 · ⚖️ 法律


📁 数据文件

data/profiles/{userId}.json   # 用户档案(姓名/出生/家庭成员八字)
scripts/                      # register, ziwei, qimen, fengshui, profile,
                              # daily-fortune, marriage, meihua, liuyao,
                              # zhuanshi, daily-push, push-toggle, preference-tracker

⚠️ 注意事项

  1. 用户数据与AI计算冲突时,以用户提供信息为准
  2. 命理是参考,不是定数
  3. 用户档案仅供个人使用,注意数据隐私

Version: 1.1.0 · Updated: 2026-03-30

Related skills

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván559 installs18 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.

by Iván535 installs31 stars

More from jiajiaoy

Browse all skills

Get BaZi, ZiWei, QiMen, I Ching, feng shui readings plus scheduled daily horoscope push in one skill.

by jiajiaoy31 installs5 stars

Get a 5-minute daily news brief with 10 curated stories, a deep-dive headline, financial impact ratings, and breaking-news alerts.

by jiajiaoy19 installs

Decide whether, where, and when to buy across Amazon, eBay, AliExpress, Temu, JD, Taobao, Tmall, Pinduoduo, and Xianyu.

by jiajiaoy26 installs1 stars

Continuous learning protocol for Claude — captures corrections, errors, and user preferences into native auto-memory so the next session remembers. Stop teac...

by jiajiaoy11 installs1 stars

离线每日运势 — 输出幸运方位/颜色/数字/物品/宜忌,支持今日/明日/本周/本月、双人合盘、面试/考试/相亲/上线/出差等场景化运势,中英双语,可定时推送 Telegram/Feishu。Daily luck oracle with bilingual output, multi-horizon (today/...

by jiajiaoy12 installs

TrendRadar scans 小红书, 微博, Reddit, Google Trends, and Product Hunt to spot trending products before they peak — assigning a trend direction (surging/rising/st...

by jiajiaoy29 installs