← 返回 Skills 市场
155
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install fortune-luck
功能描述
根据生日和历法计算每日爱情、事业、财运、健康运势,提供幸运元素和实用建议。
使用说明 (SKILL.md)
运势计算 Skill
触发关键词
- 帮我算运势
- 算今日运势
- 今天运势怎么样
- 今日运势
- 查运势
- 运气怎么样
- 今日运气
功能
根据生日计算每日运势(爱情、事业、财运、健康),生成幸运元素和建议。
首次使用
首次调用时,如果未保存生日,会提示用户输入:
- 生日日期(格式:YYYY-MM-DD)
- 历法类型(阳历/阴历)
用户回复后会自动保存,后续无需重复输入。
输入参数
birth_date: 生日,格式 YYYY-MM-DD(可选,有保存时自动读取)query_date: 查询日期,格式 YYYY-MM-DD(可选,默认今天)calendar_type: 历法类型,"solar"(阳历) 或 "lunar"(阴历)
输出格式
{
"query_date": "2026-03-24",
"birth_date": "1990-01-15",
"constellation": "摩羯座",
"zodiac": "马",
"lunar_date": "农历正月十五",
"ganzhi_day": "甲辰日",
"day_tian_shen": "玉堂(黄道)",
"auspicious_label": "黄道吉日",
"scores": {
"overall": 78,
"love": 72,
"career": 80,
"wealth": 75,
"health": 82
},
"lucky_color": "红色",
"lucky_number": 7,
"lucky_direction": "正南",
"yi": ["嫁娶", "祈福", "开市"],
"ji": ["动土", "安葬"],
"advice": "今日气场强,适合推进关键事项..."
}
数据存储
生日数据保存在用户目录下的 .openclaw/fortune_birthday.json 文件中,跨平台兼容。
- Windows:
C:\Users\\x3C用户名>\.openclaw\fortune_birthday.json - macOS/Linux:
~/.openclaw/fortune_birthday.json
调用示例
from fortune_luck import FortuneCalculator
calc = FortuneCalculator()
# 检查是否需要询问生日
if calc.get_saved_birthday() is None:
# 需要先问用户生日
print(calc.get_ask_birthday_prompt())
else:
# 直接计算
result = calc.calculate() # 使用保存的生日
print(result.to_text("share"))
# 保存生日后计算
calc.calculate("1990-01-15", calendar_type="solar")
输出模板(分享用)
📅 2026年3月24日 运势
🎂 1990年1月15日 | 摩羯座 | 生肖马
💫 今日判断:黄道吉日
📊 运势评分
- 总运: 78/99
- 爱情: 72 | 事业: 80 | 财运: 75 | 健康: 82
🍀 幸运元素
- 幸运色: 红色
- 幸运数字: 7
- 幸运方位: 正南
📋 宜: 嫁娶、祈福、开市
⚠️ 忌: 动土、安葬
💡 建议: 今日气场强,适合推进关键事项...
安全使用建议
This skill appears to do what it says: compute daily fortunes based on a saved birthday. Before installing, note that it will save your birthday and calendar type to ~/.openclaw/fortune_birthday.json in plaintext. The only external dependency is the lunar_python package (installable via pip). If you are uncomfortable storing your birthday, don't save it (the skill will ask each time) or inspect/delete the file after use. As always, install third‑party Python packages from trusted sources and review package reputation before installing.
功能分析
Type: OpenClaw Skill
Name: fortune-luck
Version: 1.2.0
The skill bundle provides a legitimate fortune-telling service based on Chinese lunar and Western astrology. It stores user-provided birthdays locally in '~/.openclaw/fortune_birthday.json' as documented in SKILL.md and fortune_luck.py, with no evidence of data exfiltration, unauthorized network access, or malicious execution logic.
能力评估
Purpose & Capability
The name/description (fortune by birthday) align with the included Python modules, README, and SKILL.md. No unrelated credentials, system services, or external APIs are requested. Required functionality (lunar calendar handling) explains the dependency on lunar_python.
Instruction Scope
SKILL.md instructs the agent to ask for and persist the user's birthday and to use the FortuneCalculator API. The runtime instructions and code only read/write the documented birthday file and perform local computations; they do not read other system files, environment variables, or send data to external endpoints.
Install Mechanism
This is an instruction-only skill (no install spec). It has a runtime dependency on the third‑party Python package lunar_python (pip install lunar-python), which is documented in README/SKILL.md. Installing that package from PyPI is normal for this purpose; the skill itself does not download arbitrary binaries or run installers.
Credentials
The skill requests no environment variables or credentials. It stores the user's birth date and calendar type in a local file (~/.openclaw/fortune_birthday.json). Storing personal data locally is proportionate to the feature, but be aware this is personal information and will persist on disk in plaintext.
Persistence & Privilege
always is false and the skill does not request elevated privileges or modify other skills/configurations. Its only persistent action is writing a single JSON file under the user's home directory, which is documented.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fortune-luck - 安装完成后,直接呼叫该 Skill 的名称或使用
/fortune-luck触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
修复:移除 fortune.py 中的硬编码路径,改为直接导入模块
v1.1.0
修复:使用跨平台路径存储生日数据,文档新增数据存储说明
v1.0.0
初始版本 - 基于中国农历黄历和西方星座的每日运势计算
元数据
常见问题
运势计算 (Fortune Luck) 是什么?
根据生日和历法计算每日爱情、事业、财运、健康运势,提供幸运元素和实用建议。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 155 次。
如何安装 运势计算 (Fortune Luck)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fortune-luck」即可一键安装,无需额外配置。
运势计算 (Fortune Luck) 是免费的吗?
是的,运势计算 (Fortune Luck) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
运势计算 (Fortune Luck) 支持哪些平台?
运势计算 (Fortune Luck) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 运势计算 (Fortune Luck)?
由 Zafer Liu(@zaferliu)开发并维护,当前版本 v1.2.0。
推荐 Skills