Manage CalDAV calendars (iCloud, Google, Yandex) from the command line. Supports OAuth2 and Basic auth, multi-account, table/JSON output.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install caldav-cli或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install caldav-cli⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/caldav-cli/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: caldav-cli description: Manage CalDAV calendars (iCloud, Google, Yandex) from the command line. Supports OAuth2 and Basic auth, multi-account, table/JSON output. metadata: {"clawdbot":{"emoji":"📅","os":["linux","macos"],"requires":{"bins":["caldav-cli","node"],"configs":["~/.config/caldav-cli/config.json"],"keychain":true},"install":[{"id":"npm","kind":"shell","command":"npm install -g caldav-cli","bins":["caldav-cli"],"label":"Install caldav-cli via npm"}],"source":"https://github.com/cyberash-dev/caldav-cli"}} ---
A CalDAV CLI client. Manages multiple accounts with secure OS keychain storage. Supports iCloud, Google (OAuth2), Yandex and any custom CalDAV server.
Requires Node.js >= 18.
npm install -g caldav-cli
After installation the caldav-cli command is available globally.
caldav-cli account add # Interactive wizard: pick provider, enter credentials
caldav-cli events list # Show events for the next 7 days
caldav-cli events create # Interactive wizard: create a new event
Add account (interactive wizard — prompts for provider, credentials, tests connection):
caldav-cli account add
List configured accounts:
caldav-cli account list
Remove an account:
caldav-cli account remove <name>
caldav-cli events list # Next 7 days (default)
caldav-cli events list --from 2026-02-10 --to 2026-02-20
caldav-cli events list -a work # Specific account
caldav-cli events list -c "Team Calendar" # Filter by calendar name
caldav-cli events list -a work -c Personal --from 2026-03-01 --to 2026-03-31
JSON output (for scripting):
caldav-cli events list --json
caldav-cli events list --json --from 2026-02-10 --to 2026-02-20
Interactive wizard (prompts for all fields):
caldav-cli events create
Non-interactive (all options via flags):
caldav-cli events create \
--title "Team standup" \
--start "2026-02-10T10:00" \
--end "2026-02-10T10:30" \
--account work \
--calendar "Team Calendar" \
--description "Daily sync" \
--location "Room 42"
Partial flags (wizard prompts for the rest):
caldav-cli events create --title "Lunch" --account work
JSON output after creation:
caldav-cli events create --json --title "Event" --start "2026-02-10T10:00" --end "2026-02-10T11:00"
| Provider | Auth | Server URL | |----------|------|------------| | Apple iCloud | Basic (app-specific password) | https://caldav.icloud.com | | Google Calendar | OAuth2 (Client ID + Secret) | https://apidata.googleusercontent.com/caldav/v2 | | Yandex Calendar | Basic (app password) | https://caldav.yandex.ru | | Custom | Basic | User provides URL |
Google requires OAuth2. Before running caldav-cli account add:
The wizard will ask for these, then open a browser for authorization. The refresh token is stored securely in the OS keychain.
@napi-rs/keyring. Never written to disk in plaintext.~/.config/caldav-cli/config.json (file permissions 0600).No secrets are stored on disk. Existing installations that stored OAuth2 client credentials in config.json are automatically migrated to the keychain on first run.
events list| Flag | Short | Description | Default | |------|-------|-------------|---------| | --account | -a | Account name | default account | | --from | | Start date (YYYY-MM-DD) | today | | --to | | End date (YYYY-MM-DD) | today + 7 days | | --calendar | -c | Filter by calendar name | all calendars | | --json | | Output as JSON | false |
events create| Flag | Short | Description | |------|-------|-------------| | --title | -t | Event title | | --start | -s | Start (YYYY-MM-DDTHH:mm) | | --end | -e | End (YYYY-MM-DDTHH:mm) | | --account | -a | Account name | | --calendar | -c | Calendar name | | --description | -d | Event description | | --location | -l | Event location | | --json | | Output as JSON |
All events create flags are optional. Omitted values trigger interactive prompts.
安装 Caldav Cli 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/caldav-cli/ 目录(个人级,所有项目可用),或 .claude/skills/caldav-cli/(项目级)。重启 AI 客户端后,用 /caldav-cli 主动调用,或让 AI 根据上下文自动发现并使用。
Caldav Cli 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Caldav Cli 可免费安装使用。请查阅仓库了解许可证信息。
Manage CalDAV calendars (iCloud, Google, Yandex) from the command line. Supports OAuth2 and Basic auth, multi-account, table/JSON output.
Caldav Cli 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。