calendar-maker

calendar-maker is a skill for Claude Code, Codex from idea2realClaw/myAgent. It costs 0 tokens per session (882 once invoked), scanned A, original, MIT.

A skill that creates calendar files in the .ics format, which calendar applications use to import events and reminders. It can build events from individual details or Markdown birthday lists.

In plain words
What is it for?
It generates one-time or repeating events, birthday reminders, and batches of birthdays for import into calendar applications.
Why use it?
Hand-writing calendar files is easy to get wrong because their date, timestamp, and formatting rules are strict.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/idea2realclaw/myagent/calendar-maker
Any agent
npx skills add idea2realClaw/myAgent --skill calendar-maker
Clone the repo
git clone --depth 1 https://github.com/idea2realClaw/myAgent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for calendar-maker

README.md
[![agentmods](https://agentmods.dev/badge/skills/idea2realclaw/myagent/calendar-maker.svg)](https://agentmods.dev/skills/idea2realclaw/myagent/calendar-maker)
Your own site
<a href="https://agentmods.dev/skills/idea2realclaw/myagent/calendar-maker"><img src="https://agentmods.dev/badge/skills/idea2realclaw/myagent/calendar-maker.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 882 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00882
Opus 5 $0.00000 $0.00441
Sonnet 5 $0.00000 $0.00176
Haiku 4.5 $0.00000 $0.00088

Measured 5d ago against content hash 606848133496, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

calendar-maker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/create_calendar.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/calendar-maker/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

calendar-maker Skill

功能

根据数据自动生成符合 RFC 5545 标准的 .ics 日历文件,支持生日提醒、事件日程等。

触发词

  • 创建日历、生成日历文件
  • 生日提醒、生日日历
  • 导出日历、.ics文件
  • 批量添加日程

使用方法

基本用法

python3 ~/.workbuddy/skills/calendar-maker/scripts/create_calendar.py \
  --name "哥哥生日" --month 7 --day 25 \
  --output birthday.ics

批量生日

python3 ~/.workbuddy/skills/calendar-maker/scripts/create_calendar.py \
  --birthday-file birthday.md \
  --output birthdays.ics

命令行参数

参数 说明 示例
--name 事件名称 "会议"、"生日提醒"
--month 月份 7
--day 日期 25
--year 年份(可选,默认当年) 2026
--repeat 重复频率 yearly/monthly/weekly/daily
--birthday-file 从Markdown文件读取生日列表
--output 输出文件路径 events.ics

Markdown 生日列表格式

| 姓名 | 月 | 日 | 备注 |
|------|---|---|------|
| 哥哥 | 7 | 25 | |
| 姐姐 | 10 | 31 | |

或直接提供日期:

| 姓名 | 日期 |
|------|------|
| 哥哥 | 7月25日 |
| 姐姐 | 10月31日 |

技术要点

❌ 禁止手动编写 .ics 文件

  • HTML 注释(<!-- -->)会导致 macOS 日历解析失败
  • 行尾符、格式细节容易出错
  • DTSTAMP 时间戳格式要求严格

✅ 必须使用 icalendar 库

import icalendar
from icalendar import Event, Calendar
from icalendar.prop import vRecur, vDate
from datetime import date, datetime, timedelta

# 创建日历
cal = Calendar()
cal.add('version', '2.0')
cal.add('prodid', '-//龙木心//Calendar Maker//CN')

# 创建事件
event = Event()
event.add('uid', f'unique-id@domain')
event.add('dtstamp', datetime(2026, 4, 19, 8, 0, 0))
event.add('dtstart', vDate(date(2026, 7, 25)))
event.add('dtend', vDate(date(2026, 7, 26)))
event.add('summary', '事件名称')

# 年度重复
event.add('rrule', vRecur(freq='YEARLY', bymonth=7, bymonthday=25))

cal.add_component(event)

# 写入文件(自动处理RFC 5545格式)
with open('output.ics', 'wb') as f:
    f.write(cal.to_ical())

关键类型

  • vDate() - 包装 date 对象,用于全天事件
  • vRecur() - 创建重复规则,参数 freq/byMonth/byMonthDay
  • datetime() - 创建 UTC 时间戳的 DTSTAMP

依赖

pip3 install icalendar

文件结构

calendar-maker/
├── SKILL.md
└── scripts/
    └── create_calendar.py

Read the full file on GitHub · 113 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 113 lines · 0 tokens per session scan A 606848133496

Subscribe to this mod's changes

calendar-maker is a skill published in the GitHub repository idea2realClaw/myAgent (2 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 882 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.