跳到正文
TakoAPI
返回技能列表

caldav-calendar

由 asleep123 提供

Calendar & Scheduling
19.6k下载量由 clawskills.sh 提供
173星标
21浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Run vdirsyncer sync to fetch latest events from the remote CalDAV server

  2. 2

    Run khal list today 7d to retrieve events for the next 7 days

  3. 3

    Apply --format to extract start date, time range, and title fields

  4. 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 或你在用的任意编程智能体里。

链接