← 返回 Skills 市场
whx405831799

fortune-telling(算命)

作者 whx405831799 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
590
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install fortune-telling
功能描述
中英文算命 skill,基于中国周易和出生年月测算运势。支持今天、本周、本月运势预测。根据用户输入语言自动切换中英文。
使用说明 (SKILL.md)

Fortune Telling 算命

基于中国周易的运势预测 skill,根据用户的出生年月日来测算今天、本周、本月的运势。

触发方式

  • 中文:算命测运势卜卦今天运势本周运势本月运势
  • English: fortune telling, read my fortune, daily fortune, weekly fortune, monthly fortune

参数

用户需要提供:

  1. 出生日期:公历或农历日期(如:1990年5月15日 或 农历1990年四月廿一)
  2. 时间范围:今天/本周/本月(默认今天)
  3. 具体问题(可选):想问的具体事项

算命原理

周易八卦

基于周易六十四卦,根据出生年月日推算本命卦和当前卦象:

  1. 本命卦:根据出生年份和性别计算
  2. 当前卦:根据当前日期和本命卦推算
  3. 变卦:根据时辰和具体问题推演

五行分析

根据出生年月日推算五行:

  • 金、木、水、火、土
  • 分析五行强弱和相生相克

运势维度

  1. 整体运势:综合评分 1-100
  2. 事业运:工作、事业方面的运势
  3. 财运:金钱、投资方面的运势
  4. 感情运:爱情、人际关系
  5. 健康运:身体状况、精神状态

输出格式

中文格式

🔮 命理测算

---

**本命卦象**:{卦名}
**当前卦象**:{卦名}
**五行属性**:{五行}

---

## {时间范围}运势

**整体运势**:⭐⭐⭐⭐ (85/100)
{整体运势解读}

**事业运**:⭐⭐⭐⭐⭐ (92/100)
{事业运势解读}

**财运**:⭐⭐⭐ (68/100)
{财运解读}

**感情运**:⭐⭐⭐⭐ (78/100)
{感情运势解读}

**健康运**:⭐⭐⭐⭐ (82/100)
{健康运势解读}

---

## 今日建议

✅ **宜**:{建议事项}
❌ **忌**:{忌讳事项}
🍀 **幸运色**:{颜色}
🔢 **幸运数字**:{数字}

---

卦象解读仅供参考,命运掌握在自己手中。🙏

English Format

🔮 Fortune Telling

---

**Birth Hexagram**: {hexagram name}
**Current Hexagram**: {hexagram name}
**Five Elements**: {elements}

---

## {Time Period} Fortune

**Overall**: ⭐⭐⭐⭐ (85/100)
{overall fortune reading}

**Career**: ⭐⭐⭐⭐⭐ (92/100)
{career fortune reading}

**Wealth**: ⭐⭐⭐ (68/100)
{wealth fortune reading}

**Love**: ⭐⭐⭐⭐ (78/100)
{love fortune reading}

**Health**: ⭐⭐⭐⭐ (82/100)
{health fortune reading}

---

## Recommendations

✅ **Do**: {recommended actions}
❌ **Don't**: {things to avoid}
🍀 **Lucky Color**: {color}
🔢 **Lucky Number**: {number}

---

Fortune readings are for reference only. You create your own destiny. 🙏

算法说明

本命卦计算

男命:(100 - 出生年份后两位 + 1) ÷ 8 的余数对应卦象
女命:(出生年份后两位 - 4) ÷ 8 的余数对应卦象

卦象对应:
1 = 乾 ☰ (天)
2 = 兑 ☱ (泽)
3 = 离 ☲ (火)
4 = 震 ☳ (雷)
5 = 巽 ☴ (风)
6 = 坎 ☵ (水)
7 = 艮 ☶ (山)
8 = 坤 ☷ (地)

五行计算

根据天干地支:
天干:甲乙木、丙丁火、戊己土、庚辛金、壬癸水
地支:寅卯木、巳午火、辰戌丑未土、申酉金、亥子水

使用示例

中文

用户:算命,我是1990年5月15日出生的
助手:[生成运势报告]

用户:帮我看看本周运势,生日是1988年农历三月初八
助手:[生成本周运势]

English

User: Read my fortune. I was born on May 15, 1990.
Assistant: [Generates fortune report]

User: What's my weekly fortune? My birthday is March 8, 1988 (lunar calendar).
Assistant: [Generates weekly fortune]

注意事项

  1. 算命结果仅供娱乐参考,不作为决策依据
  2. 命运掌握在自己手中,积极面对生活
  3. 不要过度迷信,理性看待运势预测
  4. 如有重要决定,请咨询专业人士

技术实现

  • 语言检测:根据用户输入自动识别中英文
  • 日期解析:支持公历和农历日期
  • 随机种子:基于出生日期和当前日期,确保同一天同一人结果一致
  • 星级评分:根据卦象和五行推算

License

MIT License - 自由使用,仅供参考娱乐

安全使用建议
This skill is internally coherent and appears to do only local, deterministic fortune calculations from the birthdate/time you provide. Before installing: (1) remember birthdate/time (and possibly gender/time of birth) is personal data—confirm you’re comfortable entering it; (2) the SKILL.md references gender for a calculation but doesn't explicitly request it—expect the skill to ask for gender or assume a default; (3) because it’s instruction-only, there’s no bundled code that reaches out to external servers, but the platform may log your queries—check the platform’s data/privacy policy if you’re concerned; (4) use outputs for entertainment only and don’t provide sensitive secrets. If you need stronger assurance, check the repository URL listed in package.json or request source code implementing the SKILL.md logic.
功能分析
Type: OpenClaw Skill Name: fortune-telling Version: 1.0.0 The fortune-telling skill bundle is a purely instructional set for an AI agent to perform divination based on Chinese I-Ching principles. It contains no executable code, external dependencies, or requests for sensitive system permissions. The instructions in SKILL.md and README.md are limited to formatting outputs and performing basic arithmetic for hexagram calculations based on user-provided birth dates, with no evidence of data exfiltration or malicious intent.
能力评估
Purpose & Capability
The name/description (周易算命) match the instructions: parse birth date (including lunar), compute hexagrams and five-element analysis, and produce today/weekly/monthly reports. There is a minor documentation mismatch: the algorithm references gender for 本命卦 calculation, but the parameter list does not explicitly request gender—this is a small inconsistency in the SKILL.md, not an operational risk.
Instruction Scope
SKILL.md only describes local computations (date parsing, lunar conversion, deterministic random seed based on birthdate/current date) and output formatting. It requires personal data (birth date/time and optional question), which is expected for this purpose. The instructions do not direct the agent to read unrelated files, environment variables, or to send data to external endpoints.
Install Mechanism
No install spec and no code files (instruction-only). Nothing is downloaded or written to disk by the skill itself, so install risk is minimal.
Credentials
The skill declares no required environment variables, credentials, or config paths. This is proportionate to an offline/logic-based fortune-telling skill.
Persistence & Privilege
Flags show no always:true or other elevated persistence. The skill is user-invocable and may be invoked autonomously by the agent (platform default), which is normal and expected for skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install fortune-telling
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /fortune-telling 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the fortune-telling skill, version 1.0.0. - Provides fortune predictions in both Chinese and English, auto-switching based on user input language. - Supports fortune readings for today, this week, and this month using the I Ching (周易) and five elements theory. - Users input birthday (Gregorian or lunar), time period, and optionally a specific question. - Outputs formatted readings across overall, career, wealth, love, and health, including recommendations and lucky attributes. - Includes clear usage instructions and algorithm descriptions for birth hexagram and five elements calculations. - Designed for entertainment; results are consistent for the same input and day.
元数据
Slug fortune-telling
版本 1.0.0
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 1
常见问题

fortune-telling(算命) 是什么?

中英文算命 skill,基于中国周易和出生年月测算运势。支持今天、本周、本月运势预测。根据用户输入语言自动切换中英文。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 590 次。

如何安装 fortune-telling(算命)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install fortune-telling」即可一键安装,无需额外配置。

fortune-telling(算命) 是免费的吗?

是的,fortune-telling(算命) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

fortune-telling(算命) 支持哪些平台?

fortune-telling(算命) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 fortune-telling(算命)?

由 whx405831799(@whx405831799)开发并维护,当前版本 v1.0.0。

💬 留言讨论