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

calendar-hold-sync

bởi tdewitt

Coding Agents & IDEs
478Lượt tải do clawskills.sh công bố
2Sao
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

Sync one or more source Google calendars into private Busy hold events in one or more target calendars using gog.

Mô tả

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

Mirrors events from source Google calendars into target calendars as private Busy hold events to prevent double-booking. Uses the gog CLI for idempotent reconcile: creating, updating, and deleting holds as source events change. Supports backfill of legacy hold events and scheduled or polling-based continuous sync.

Handles idempotent reconcile, drift detection, and legacy backfill without requiring webhook infrastructure or manual de-duplication.

Khi nào nên dùng

  • Block work calendar time when personal events are scheduled
  • Keep multiple Google accounts free of meeting conflicts
  • Backfill legacy hold events with sync metadata
  • Run nightly reconcile to fix drifted or stale hold events
  • Watch calendars every 15 minutes for near-real-time hold updates

Quy trình ví dụ

ĐẦU VÀO

User asks: sync my personal Google calendar to my work calendar as private busy blocks

AGENT
  1. 1

    Read the user-provided JSON config to identify source and target calendar mappings

  2. 2

    Run hold-sync validate-config to verify the config structure

  3. 3

    Run hold-sync reconcile --all --dry-run to preview hold creates, updates, and deletes

  4. 4

    Run hold-sync reconcile --all to apply changes

  5. 5

    Run hold-sync watch --all to keep holds in sync on a polling interval

ĐẦU RA

Private Busy hold events created in the target calendar for all source events within the configured lookahead window

Yêu cầu

  • gog CLI installed and available in PATH (https://gogcli.sh/)
  • Google OAuth client_secret.json obtained from Google Cloud Console

Cài đặt

clawhub install tdewitt/calendar-hold-sync

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