Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

caldav-cli

bởi cyberash-dev

DevOps & Cloud
1.2kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Manage CalDAV calendars (iCloud, Google, Yandex) from the command line.

Mô tả

Kỹ năng này làm gì

caldav-cli manages CalDAV calendars from the terminal. It supports iCloud, Google Calendar, Yandex, and custom CalDAV servers with OAuth2 or Basic auth. Credentials are stored in the OS keychain, never written to disk in plaintext.

Storing OAuth2 tokens in the OS keychain rather than a plaintext config file makes it safer than most CLI calendar tools.

Khi nào nên dùng

  • List today's meetings without opening a browser
  • Create a recurring standup event from a shell script
  • Query calendar events as JSON for automation pipelines
  • Switch between personal and work calendars by account name
  • Bulk-add events from a cron job or CI workflow

Quy trình ví dụ

ĐẦU VÀO

User asks: show me all events on my work account for next week and export them as JSON

AGENT
  1. 1

    Run caldav-cli account list to confirm the work account name

  2. 2

    Run caldav-cli events list -a work --from 2026-03-16 --to 2026-03-20 --json

  3. 3

    Parse the JSON output to extract titles, times, and calendar names

  4. 4

    Return formatted results to the user

ĐẦU RA

A JSON array of next week's events from the work account, including titles, start/end times, and calendar names

Yêu cầu

  • Apple app-specific password (for iCloud accounts)
  • Google OAuth2 Client ID and Client Secret from Google Cloud Console (for Google Calendar accounts)
  • Yandex app password (for Yandex Calendar accounts)

Cài đặt

clawhub install cyberash-dev/caldav-cli

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết