返回顶部
m

macos-calendar-assistant

Manage macOS Calendar with OpenClaw in IM-first workflows (Telegram/Discord/Feishu/iMessage/Slack), including screenshot-to-schedule extraction, idempotent create/update, move/extend/reschedule, reminders, conflict checks, daily review sync, and duplicate cleanup. Use when users ask to add/edit/move/postpone events, parse schedule screenshots/chat messages, adjust weekly plans into daily execution, or keep calendar and review notes in sync.

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

macos-calendar-assistant

# macos-calendar-assistant Use bundled scripts for reliable Calendar.app operations. ## Workflow 1. Extract title, start/end, timezone, calendar, location, notes, alarm. 2. Check conflicts before writing: - `scripts/list_events.swift <start_iso> <end_iso>` 3. Prefer idempotent writes: - `scripts/upsert_event.py` (create/update/skip) 4. Apply alarm if requested: - `scripts/set_alarm.py --uid <event_uid> --alarm-minutes <n>` 5. For hygiene, run duplicate scan: - `scripts/calendar_clean.py --start <iso> --end <iso>` ## Calendar routing defaults - Workout / Run / Training → `Training` - Work / Meeting / Client → `Work` - Product / Development / Building → `Product` - Personal / Social / Travel → `Life` - If unspecified: prefer writable iCloud/CalDAV calendars over local calendars. > Note: Calendar names vary by user setup. Map the intent to the closest local calendar name before writing. ## Commands ### List calendars ```bash swift scripts/list_calendars.swift ``` ### List events in range ```bash swift scripts/list_events.swift "2026-03-06T00:00:00+08:00" "2026-03-06T23:59:59+08:00" ``` Output includes `uid` for follow-up alarm/edit operations. ### Idempotent create/update (recommended) ```bash python3 scripts/upsert_event.py \ --title "Team sync" \ --start "2026-03-06T19:00:00+08:00" \ --end "2026-03-06T20:00:00+08:00" \ --calendar "Work" \ --notes "Agenda" \ --location "Online" \ --alarm-minutes 15 ``` Result is one of: `CREATED`, `UPDATED`, `SKIPPED`. Use `--dry-run` for preview. ### Legacy direct add (always creates) ```bash python3 scripts/add_event.py --title "..." --start "..." --end "..." ``` ### Set alarm by UID ```bash python3 scripts/set_alarm.py --uid "EVENT_UID" --alarm-minutes 15 ``` ### Move event (legacy utility) ```bash swift scripts/move_event.swift "Team sync" "Work" "2026-03-07T10:00:00+08:00" 60 --search-days 7 # optional precise match: # --original-start "2026-03-06T10:00:00+08:00" ``` Prefer `upsert_event.py` for most rescheduling flows; use `move_event.swift` for direct title-based move when needed. ### Duplicate scan / cleanup ```bash python3 scripts/calendar_clean.py --start "2026-03-01T00:00:00+08:00" --end "2026-03-08T23:59:59+08:00" python3 scripts/calendar_clean.py --start "..." --end "..." --apply --confirm yes --snapshot-out ./delete-plan.json ``` ### Upcoming events (within 2 hours) ```bash python3 scripts/within_2h.py ``` ### Environment + tests ```bash python3 scripts/env_check.py python3 scripts/regression_test.py scripts/smoke_test.sh ``` ### Daily auto-check notifier ```bash scripts/install.sh # run env check + install cron from config.json scripts/uninstall.sh # remove cron ``` ## Extraction & scheduling heuristics (from real usage) 1. **Speaker ownership from chat screenshots** - Treat the user's message bubble as primary intent. - Treat counterpart bubbles as constraints (availability/travel window), not direct auto-create tasks. 2. **Conflict policy** - If user explicitly says "override" (for example, "replace this slot"), allow replacing an existing slot and reschedule the displaced event. - If not explicit, warn and ask for a choice before overwriting. 3. **Time-window intent parsing** - Phrases like "4–6 PM for the other person" should first be interpreted as an availability window. - Convert to a formal event only after user confirmation. 4. **Reschedule priority** - Prefer moving flexible events (workouts/optional blocks) before strategic P0 work blocks. - Do not auto-move P0 items unless user explicitly requests. 5. **Confirmation prompt template** - Use: "I identified X as your intent and Y as counterpart constraints. I will apply Z. Confirm?" - Keep it short; avoid over-confirming when intent is explicit. ## Constraints - macOS only (EventKit + Calendar permission required) - Default timezone comes from `config.json.timezone` (fallback Asia/Shanghai) when user does not specify - Use `--apply` only after reviewing dry-run output

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 macos-calendar-assistant-1776206263 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 macos-calendar-assistant-1776206263 技能

通过命令行安装

skillhub install macos-calendar-assistant-1776206263

下载 Zip 包

⬇ 下载 macos-calendar-assistant v1.0.0

文件大小: 26.04 KB | 发布时间: 2026-4-15 11:07

v1.0.0 最新 2026-4-15 11:07
Initial release. OpenClaw-native macOS calendar skill for IM-first and agentic schedule management, including idempotent event upsert, duplicate detection with safe cleanup, daily cron checks, and full plan-execute-review-adjust workflow loop.

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

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

p2p_official_large
返回顶部