← 返回 Skills 市场
2) 准备
3) 准备
191
总下载
1
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install birthday-reminder-cn
功能描述
管理并计算生日提醒(阳历与农历),支持每条记录单独配置和全局默认值,支持当天提醒/提前 N 天/多次提醒和提醒时间配置,默认使用北京时间。用于需要生成或维护生日提醒方案、编写配置文件、验证提醒是否到期,并结合官方定时任务技能自动触发通知发送。
使用说明 (SKILL.md)
Birthday Reminder
5分钟上手
1) 先决条件
- 已安装本技能。
- 环境可执行
python3(建议 3.9+)。 - 已准备官方定时任务 skill(Automation)。
- 已准备通知通道凭据(如 Telegram 的
bot_token和chat_id)。
2) 准备 birthdays.json
复制下面模板并按需修改:
{
"defaults": {
"calendar": "solar",
"timezone": "Asia/Shanghai",
"remind_at": "09:00",
"offset_days": [7, 1, 0],
"leap_strategy": "skip"
},
"people": [
{
"name": "妻子",
"calendar": "solar",
"month": 3,
"day": 25
},
{
"name": "父母",
"calendar": "lunar",
"month": 8,
"day": 8,
"offset_days": [15, 3, 0]
}
]
}
关键字段:
defaults:全局默认值。people:生日记录列表;每一条可覆盖任意默认字段。calendar:solar或lunar。month/day:生日月日。offset_days:提醒提前天数数组,0表示当天提醒。remind_at:提醒时间,格式HH:MM。timezone:IANA 时区名,默认Asia/Shanghai。leap_month:仅农历使用,是否闰月生日。leap_strategy:闰月缺失年份处理策略。skip:该年跳过。use-non-leap:该年改用同月非闰月。
3) 准备 notify.json
建议从 assets/notify.example.json 复制后修改。常见 Telegram 配置:
{
"message_style": "warm",
"channels": [
{
"type": "telegram",
"enabled": true,
"bot_token": "你的_bot_token",
"chat_id": "你的_chat_id"
}
]
}
支持的通知类型:
consolefilewebhookfeishudingtalkslacktelegram
4) 三步检查(推荐顺序)
先看会生成哪些提醒:
python3 scripts/birthday_reminder.py list --config /绝对路径/birthdays.json
再查当前是否有到期提醒:
python3 scripts/birthday_reminder.py check --config /绝对路径/birthdays.json --output json
最后预览发送内容(不真实发送):
python3 scripts/notify_bridge.py \
--birthday-config /绝对路径/birthdays.json \
--notify-config /绝对路径/notify.json \
--dry-run
时间模拟(推荐格式 yyyy-MM-DD HH:mm:ss):
python3 scripts/notify_bridge.py \
--birthday-config /绝对路径/birthdays.json \
--notify-config /绝对路径/notify.json \
--now "2026-03-18 19:00:00"
5) 自动运行(官方定时任务 skill)
在官方定时任务 skill(Automation)里定时执行:
python3 scripts/notify_bridge.py \
--birthday-config /绝对路径/birthdays.json \
--notify-config /绝对路径/notify.json
- 推荐频率:每 10 分钟。
- 推荐时区:
Asia/Shanghai。
用户示例请求
- “添加一条农历八月初八的生日,并提前 15 天和当天上午 9 点提醒。”
- “把妻子生日设为阳历 3 月 25 日,默认时区北京,提前 7 天和 1 天提醒。”
示例:桐桐(阳历 3/18 晚上 19:00,Telegram 提醒)
birthdays.json:
{
"defaults": {
"calendar": "solar",
"timezone": "Asia/Shanghai",
"remind_at": "09:00",
"offset_days": [0],
"leap_strategy": "skip"
},
"people": [
{
"name": "桐桐",
"calendar": "solar",
"month": 3,
"day": 18,
"remind_at": "19:00",
"offset_days": [0]
}
]
}
notify.json:
{
"channels": [
{
"type": "telegram",
"enabled": true,
"bot_token": "你的_bot_token",
"chat_id": "你的_chat_id"
}
]
}
测试发送:
python3 scripts/notify_bridge.py \
--birthday-config /绝对路径/birthdays.json \
--notify-config /绝对路径/notify.json \
--now "2026-03-18 19:00:00"
常见问题
- 配置了但没收到提醒:
- 通常是官方定时任务 skill 没触发到
notify_bridge.py。
- 通常是官方定时任务 skill 没触发到
--now怎么写:- 推荐
yyyy-MM-DD HH:mm:ss,例如2026-03-25 09:00:00。
- 推荐
- 只执行了
check为什么没发消息:check只检查;真正发送需要执行notify_bridge.py。
问题反馈
- 代码仓库:
https://github.com/905583906/jeff-skills - 提交问题(Issues):
https://github.com/905583906/jeff-skills/issues
遇到问题时,建议在 Issue 里附上:
- 你的配置片段(隐藏敏感信息)
- 执行命令
- 报错信息或截图
安全使用建议
This skill appears to do what it says: calculate birthdays (solar/lunar) and send notifications to channels you configure. Before installing: (1) inspect notify.json and keep tokens/webhook URLs secret (file permissions, don't commit to public repos); (2) test with --dry-run and run the 'list' and 'check' commands to validate behavior; (3) if you schedule automatic runs, ensure the runtime environment only has network access to endpoints you trust (firewall rules or run in an isolated container if needed); (4) note lunar conversions are limited to 1900–2099 as documented. If you need higher assurance, review the scripts locally or run them in a sandboxed environment.
功能分析
Type: OpenClaw Skill
Name: birthday-reminder-cn
Version: 1.0.6
The skill is a legitimate birthday reminder utility that supports both solar and lunar calendars and provides notification integration for platforms like Telegram, Slack, and Feishu. The Python scripts (`birthday_reminder.py` and `notify_bridge.py`) use standard libraries to perform date calculations and send HTTP POST requests to user-configured endpoints. There is no evidence of malicious intent, data exfiltration to unauthorized parties, or hidden backdoors; all network activity is directed to URLs explicitly defined by the user in their configuration files.
能力评估
Purpose & Capability
Name/description match the provided scripts and docs. The Python scripts implement reminder calculation (solar/lunar) and multi-channel notification dispatch, which is coherent with the stated purpose.
Instruction Scope
SKILL.md directs the agent/user to run the included Python scripts and to provide local JSON configs. Instructions only reference the birthday and notify config files and official Automation scheduling; they do not request arbitrary system files or unrelated environment variables.
Install Mechanism
No install spec or external downloads. The repository contains local Python scripts to be run directly. No network-based install or extracted archives are used by the skill itself.
Credentials
The skill requests no environment variables; notification channel credentials are supplied in notify.json (e.g., Telegram bot_token/chat_id, webhook URLs). This is appropriate for a notifier, but those secrets live in a file so users should protect that file (permissions, not checked into VCS).
Persistence & Privilege
always is false and the skill does not modify system or other skills' configs. It only runs as a local script and relies on the official Automation skill for scheduling.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install birthday-reminder-cn - 安装完成后,直接呼叫该 Skill 的名称或使用
/birthday-reminder-cn触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.6
文档重构为“5分钟上手”:先决条件、两份配置文件、三步检查、官方定时任务自动运行、常见问题;移除本地计划任务说明。
v1.0.5
文档优化:新增“如何检查(推荐顺序)”步骤,强化 list/check/notify_bridge 的检查说明;精简文档为用户视角并补充示例请求。
v1.0.2
文档新增完整示例:桐桐(阳历3月18日19:00)+ Telegram提醒;补充 birthdays.json 与 notify.json 配置片段及测试命令。
v1.0.1
新增 list 命令用于列出所有已配置提醒;新增 notify_bridge 通知桥接器,支持 console/file/webhook/飞书/钉钉/Slack/Telegram;补充用户升级与通知配置文档。
v1.0.0
初版发布:支持农历/阳历生日、全局默认与单条覆盖、多次提前提醒、本地定时任务方案。
元数据
常见问题
生日提醒 是什么?
管理并计算生日提醒(阳历与农历),支持每条记录单独配置和全局默认值,支持当天提醒/提前 N 天/多次提醒和提醒时间配置,默认使用北京时间。用于需要生成或维护生日提醒方案、编写配置文件、验证提醒是否到期,并结合官方定时任务技能自动触发通知发送。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 191 次。
如何安装 生日提醒?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install birthday-reminder-cn」即可一键安装,无需额外配置。
生日提醒 是免费的吗?
是的,生日提醒 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
生日提醒 支持哪些平台?
生日提醒 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 生日提醒?
由 Jeff(@905583906)开发并维护,当前版本 v1.0.6。
推荐 Skills