返回顶部
i

icloud-caldav

Direct iCloud Calendar integration via CalDAV protocol. Create, read, update, and delete calendar events without third-party services. Use when the user wants to manage their iCloud Calendar, check schedule, create events, or find free time. Requires Apple ID and app-specific password.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
930
下载量
0
收藏
概述
安装方式
版本历史

icloud-caldav

# iCloud CalDAV — Direct Calendar Access Manage iCloud Calendar directly via CalDAV protocol. No third-party services, no data leaves your machine except to Apple's servers. ## When to Use **Activate when the user wants to:** - Check their calendar or upcoming events - Create new calendar events - Delete existing events - List available calendars **Do NOT use for:** - Reminders (use `apple-reminders` skill if available) - Contacts (CalDAV is calendar-only) - Non-iCloud calendars (Google, Outlook, etc.) ## Prerequisites **Required credentials:** - `APPLE_ID` — Your Apple ID email address - `APPLE_APP_PASSWORD` — An [app-specific password](https://appleid.apple.com) (NOT your regular Apple ID password) **To generate app-specific password:** 1. Go to [appleid.apple.com](https://appleid.apple.com) 2. Sign in → Sign-In and Security → App-Specific Passwords 3. Generate a new password 4. Use this password (not your regular one) ## Quick Start ```bash # Set credentials export APPLE_ID="your.email@icloud.com" export APPLE_APP_PASSWORD="xxxx-xxxx-xxxx-xxxx" # List calendars ./scripts/caldav.py list-calendars # List events for next 7 days ./scripts/caldav.py list-events --days 7 # Create an event ./scripts/caldav.py create-event \ --title "Team Meeting" \ --start "2025-07-23T14:00:00" \ --duration 60 \ --calendar "Work" ``` ## Available Operations | Operation | Command | Description | |-----------|---------|-------------| | List calendars | `list-calendars` | Show all iCloud calendars | | List events | `list-events` | Events in a date range | | Create event | `create-event` | Add new calendar event | | Delete event | `delete-event` | Remove event by filename or UID | ## Workflow Patterns ### Creating Events ```bash # Basic event ./scripts/caldav.py create-event \ --title "Dentist Appointment" \ --start "2025-07-25T09:30:00" \ --duration 30 # With location and description ./scripts/caldav.py create-event \ --title "Project Review" \ --start "2025-07-26T14:00:00" \ --duration 60 \ --location "Conference Room B" \ --description "Q3 planning review" \ --calendar "Work" # All-day event ./scripts/caldav.py create-event \ --title "Vacation" \ --start "2025-08-01" \ --all-day ``` ### Batch Operations **Note:** CalDAV does not support native batch operations. To create multiple events, run the script multiple times: ```bash # Create multiple events by running the command multiple times ./scripts/caldav.py create-event --title "Meeting 1" --start "2025-07-26T10:00:00" --duration 60 ./scripts/caldav.py create-event --title "Meeting 2" --start "2025-07-26T14:00:00" --duration 60 ./scripts/caldav.py create-event --title "Meeting 3" --start "2025-07-27T09:00:00" --duration 60 ``` iCloud handles rapid sequential requests well, but there is no single API call for creating multiple events. ### Deleting Events ```bash # Delete by filename ./scripts/caldav.py delete-event \ --file "event-name.ics" \ --calendar "Calendar" # Delete by UID (searches calendar for matching event) ./scripts/caldav.py delete-event \ --uid "openclaw-xxx@openclaw.local" \ --calendar "Calendar" ``` **Warning:** Deletions are permanent. iCloud may have its own backup, but standard CalDAV DELETE immediately removes the event. ## Date/Time Formats - **ISO 8601**: `2025-07-23T14:00:00` (assumes local timezone if none specified) - **With timezone**: `2025-07-23T14:00:00+08:00` - **All-day**: `2025-07-23` (date only) ## Security Notes - Credentials are read from environment variables only - No credentials are logged or stored - All communication is HTTPS to `caldav.icloud.com` - App-specific passwords can be revoked anytime at appleid.apple.com ## Error Handling | Error | Cause | Solution | |-------|-------|----------| | 401 Unauthorized | Bad credentials | Check APPLE_ID and APPLE_APP_PASSWORD | | 404 Not Found | Calendar/event doesn't exist | List calendars/events first | | 403 Forbidden | Read-only calendar | Try a different calendar | | Timeout | Network issue | Retry the request | ## References - See `references/caldav-protocol.md` for CalDAV implementation details - See `references/icloud-endpoints.md` for iCloud-specific endpoints

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 icloud-caldav-1776420056 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 icloud-caldav-1776420056 技能

通过命令行安装

skillhub install icloud-caldav-1776420056

下载 Zip 包

⬇ 下载 icloud-caldav v1.0.0

文件大小: 9.11 KB | 发布时间: 2026-4-17 18:19

v1.0.0 最新 2026-4-17 18:19
Initial release: direct iCloud Calendar management via CalDAV.

- Create, read, update, and delete iCloud calendar events from your own machine—no third-party services.
- Interact with all calendars and events; list, create, delete with simple commands.
- Requires Apple ID and app-specific password for secure access.
- Handles scheduling, event lookup, and free-time search; batch operations not natively supported.
- Secure: credentials only via environment, communicates directly with Apple servers.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部