Manantra

Birthday Reminder

生活服务v1.0.0
作者:Manantra更新于 2026-05-11birthday-reminder@clawhub_manantra/birthday-reminder
个人计划效率习惯#Home

据 AlphaMoat 统计,截至 2026-09,Birthday Reminder 累计下载 3,929 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 2,632 位,在「生活服务」分类(246 个)中排名第 99 位。

累计安装
157
累计下载
3,929
星标
1
全站排名
#2,632
全站前 52% · 「生活服务」前 41%
平台累计安装累计下载星标评论
ClawHub ↗1243,9291-
SkillHub ↗1573,8441—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

文档描述将生日存入 data/birthdays.md,并说明如何按姓名、日期或年龄查询。提供出生日期和年份时可计算下次生日及届时年龄;若配置每日检查,也可按文档设定的时点发送提醒。添加或修改记录前应核对姓名和日期。 文档指定 birthdays.md,但风险卡称脚本使用 birthdays.json,依赖提醒或审计留存前先核实统一实际文件。姓名及出生年为个人信息,应认可位置、访问和保留期限。年龄需已知出生年;提醒另需配置每日检查,不代表调度已启用。

资料发布于 2026-10-27

可以用来做什么

  • 登记生日并查询指定人物的日期

什么时候用

  • 列出已保存的生日并查看近期安排

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

请说明生日保存位置、自然语言查询方式和提醒如何运作。

月度数据趋势

累计下载3,929
2,3963,2204,0432026-03 · 累计下载 2,5102026-05 · 累计下载 3,0782026-06 · 累计下载 3,2592026-07 · 累计下载 3,6042026-08 · 累计下载 3,7942026-09 · 累计下载 3,92926-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,929—1
2026-083,794+5.3%1
2026-073,604+10.6%1
2026-063,259+5.9%1
2026-053,078—1
2026-032,510—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.7 KB · ClawHub v1.0.0
---
name: birthday-reminder
description: 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".
---

# Birthday Reminder Skill

Manage birthdays naturally. Store in `data/birthdays.md`, query with natural language.

## Storage
展开全部(共 109 行)

Birthdays are stored in `/home/clawd/clawd/data/birthdays.md`:

```markdown
# Geburtstage

- **Valentina** - 14.02.2000 (wird 26)
- **Max** - 15.03.1990
```

## Natural Language Patterns

### Adding Birthdays
When user says things like:
- "Valentina hat am 14. Februar Geburtstag"
- "Füge hinzu: Max, 15.03.1990"
- "X wurde am 10.05.1985 geboren"

**Action:**
1. Parse name and date
2. Extract year if provided
3. Calculate upcoming age: `birthday_year - birth_year`
4. Append to `/home/clawd/clawd/data/birthdays.md`
5. Confirm with age info

### Querying Birthdays
When user asks:
- "Wann hat Valentina Geburtstag?"
- "Welche Geburtstage kommen als Nächstes?"
- "Wie alt wird Valentina?"
- "Nächster Geburtstag"

**Action:**
1. Read `/home/clawd/clawd/data/birthdays.md`
2. Parse all entries
3. Calculate days until each birthday
4. Sort by upcoming date
5. Show age turning if year is known

### Listing All
When user says:
- "Zeige alle Geburtstage"
- "Liste meine Geburtstage"

**Action:**
1. Read the file
2. Show formatted list with days until each

## Date Parsing

Support various formats:
- "14. Februar" → 14.02
- "14.02." → 14.02
- "14.02.2000" → 14.02.2000
- "14.2.2000" → 14.02.2000

## Age Calculation

```python
from datetime import datetime

def calculate_turning_age(birth_year, birthday_month, birthday_day):
    today = datetime.now()
    birthday_this_year = today.replace(month=birthday_month, day=birthday_day)
    
    if today.date() <= birthday_this_year.date():
        birthday_year = today.year
    else:
        birthday_year = today.year + 1
    
    return birthday_year - birth_year
```

## Days Until Birthday

```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
```

## Automatic Reminders

For cron/reminders, check birthdays daily and notify if:
- 7 days before
- 1 day before  
- On the day

Use the `check_reminders()` logic from `scripts/reminder.py`.

## File Format

Each line: `- **Name** - DD.MM.YYYY (wird X)` or `- **Name** - DD.MM.`

Keep the file sorted by date (month/day) for easier reading.

「生活服务」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。