caldav-calendar
由 asleep123 提供
Calendar & Scheduling简介
Sync and query CalDAV calendars.
描述
该技能的功能
Syncs CalDAV calendars from providers like iCloud, Google, Fastmail, and Nextcloud to local .ics files using vdirsyncer, then reads and writes them with khal. Supports listing, searching, creating, and editing events from the command line. Linux only.
Gives offline-capable, scriptable calendar access without a GUI, so agents can query and modify calendar data directly from the command line.
何时使用
- Checking today's or next week's events from the terminal
- Creating a meeting on iCloud Calendar without opening a browser
- Searching past events by keyword across all calendars
- Scripting calendar queries with custom date and title output formats
- Pushing locally created or edited events back to a remote CalDAV server
示例工作流
User asks: What do I have scheduled in the next 7 days?
- 1
Run vdirsyncer sync to fetch latest events from the remote CalDAV server
- 2
Run khal list today 7d to retrieve events for the next 7 days
- 3
Apply --format to extract start date, time range, and title fields
- 4
Return the structured list to the user
A formatted list of upcoming events with dates, times, and titles for the next 7 days
前置要求
- CalDAV account credentials (iCloud, Google Calendar, Fastmail, Nextcloud, or other provider)
- App-specific password if using iCloud, required for third-party CalDAV access
安装
clawhub install asleep123/caldav-calendar运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。