Yun Shi

v1.1.2

提供每日运程推送,支持八字、紫微斗数、奇门遁甲占卜,合婚风水分析及事业财运健康感情解读。

5· 204·0 current·0 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Chinese astrology, daily push, BaZi/Ziwei/QiMen/etc.) match the included scripts and declared node dependency (iztro). Minor mismatch: SKILL.md mentions installing both 'iztro' and 'lunar-typescript' while the install metadata/ package.json explicitly lists only 'iztro' (lunar-typescript appears transitively in package-lock). Overall dependencies are proportionate to the stated purpose.
Instruction Scope
Runtime instructions tell the agent to run local node scripts and configure cron; scripts read/write data/profiles under the skill workspace and optionally read a knowledge directory (OPENCLAW_KNOWLEDGE_DIR). No instructions to access unrelated system config, secrets, or external APIs; the optional knowledge-dir reading means the skill can parse files from a path you provide.
Install Mechanism
No remote download URLs or arbitrary extract steps; install uses standard npm package(s) (iztro) appropriate for astrology calculations. This is a typical, expected install method for a Node-based skill.
Credentials
The skill requires Node.js >=18 and has one optional env var OPENCLAW_KNOWLEDGE_DIR to point at a local knowledge-base; it does not require secret tokens or unrelated credentials. Note: if you set OPENCLAW_KNOWLEDGE_DIR to a path, the skill will read .md files there — only set it to directories you trust.
Persistence & Privilege
always is false; skill stores user profiles under its own data/profiles/* and provides scripts to manage them. It does not request permanent platform-wide privileges or modify other skills. Cron instructions are optional and run the skill's own push script.
Assessment
This skill appears to do what it says: local astrology algorithms and scheduled pushes. Before installing: (1) be aware user personal data (names, birthdates, family) is stored under the skill's data/profiles directory — restrict filesystem access and back up or remove sensitive files as needed; (2) the optional OPENCLAW_KNOWLEDGE_DIR causes the skill to read all .md files in that directory — do not point it at sensitive system directories; (3) the skill installs an npm dependency (iztro) — review dependencies if you require vetted packages; (4) review the daily-push.js / push-toggle.js scripts if you plan to enable cron pushes so you understand how and when notifications are scheduled. No credentials or external endpoints are required by default.

Like a lobster shell, security has layers — review code before you run it.

latestvk970ek3kjch63545mtwme3bced83xzfg
204downloads
5stars
11versions
Updated 2w ago
v1.1.2
MIT-0

运势 (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/<userId>.json,含敏感信息,请确认访问权限

🛠️ 工具脚本

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

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

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

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

# 偏好追踪(每次提问后调用)
node scripts/preference-tracker.js record <userId> <topic> explicit_query|topic_drill
node scripts/preference-tracker.js weights|top <userId> [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

Comments

Loading comments...