Manage birthdays with natural language. Store birthdays in /home/clawd/clawd/data/birthdays.md, get upcoming reminders, calculate ages. Use when the user mentions birthdays, wants to add/remember someone's birthday, check upcoming birthdays, or asks about someone's age/birthday. Understands phrases like "X hat am DD.MM. Geburtstag", "Wann hat X Geburtstag?", "Nächste Geburtstage".
自然地管理生日。存储在 data/birthdays.md 中,支持自然语言查询。
生日存储在 /home/clawd/clawd/data/birthdays.md 中:
markdown
操作:
操作:
操作:
支持多种格式:
python
from datetime import datetime
def calculateturningage(birthyear, birthdaymonth, birthday_day):
today = datetime.now()
birthdaythisyear = today.replace(month=birthdaymonth, day=birthdayday)
if today.date() <= birthdaythisyear.date():
birthday_year = today.year
else:
birthday_year = today.year + 1
return birthdayyear - birthyear
python
def days_until(month, day):
today = datetime.now()
birthday = today.replace(month=month, day=day)
if birthday < today:
birthday = birthday.replace(year=today.year + 1)
return (birthday - today).days
用于定时任务/提醒,每日检查生日并在以下时间通知:
使用 scripts/reminder.py 中的 check_reminders() 逻辑。
每行:- 姓名 - DD.MM.YYYY(将满X岁) 或 - 姓名 - DD.MM.
保持文件按日期(月/日)排序,以便于阅读。
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 birthday-reminder-1776375164 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 birthday-reminder-1776375164 技能
skillhub install birthday-reminder-1776375164
文件大小: 5.36 KB | 发布时间: 2026-4-17 15:05