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

calmly

bởi halbotley

DevOps & Cloud
445Lượt tải do clawskills.sh công bố
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 macOS Calendar events from the command line using EventKit.

Mô tả

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

calmly is a CLI tool for managing macOS Calendar events using EventKit directly. It creates, lists, and views all-day, multi-day, and timed events across iCloud, local, and CalDAV calendars without triggering UI dialogs or AppleScript.

Unlike icalBuddy (read-only) or AppleScript (prone to hanging on permission dialogs), calmly writes events silently via EventKit after a single one-time permissions grant.

Khi nào nên dùng

  • Batch-creating recurring sports practice events for a kids schedule
  • Adding work meetings to iCloud calendar from a terminal script
  • Listing upcoming events on a specific calendar without opening Calendar.app
  • Creating multi-day vacation blocks from a shell script
  • Automating event creation in CI or personal automation workflows

Quy trình ví dụ

ĐẦU VÀO

User asks: add a timed team meeting to my Work calendar on March 20 from 2pm to 3pm

AGENT
  1. 1

    Run calmly list to confirm the target calendar name

  2. 2

    Construct the addtimed command with the verified calendar name and date

  3. 3

    Run calmly addtimed Work "Team Meeting" 2025-03-20 14:00 15:00

  4. 4

    Run calmly events Work 7 to confirm the event appears in the next 7 days

ĐẦU RA

Event "Team Meeting" created on 2025-03-20 from 14:00 to 15:00 on the Work calendar, synced to iCloud

Yêu cầu

  • calmly installed via Homebrew (`brew install halbotley/tap/calmly`)
  • macOS Calendar access granted in System Settings > Privacy > Calendars

Cài đặt

clawhub install halbotley/calmly

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