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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bryant24hao/macos-calendar-assistantmacos-calendar-assistant
Use bundled scripts for reliable Calendar.app operations.
Workflow
- Extract title, start/end, timezone, calendar, location, notes, alarm.
- Check conflicts before writing:
scripts/list_events.swift <start_iso> <end_iso>
- Prefer idempotent writes:
scripts/upsert_event.py(create/update/skip)
- Apply alarm if requested:
scripts/set_alarm.py --uid <event_uid> --alarm-minutes <n>
- 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
swift scripts/list_calendars.swift
List events in range
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)
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)
python3 scripts/add_event.py --title "..." --start "..." --end "..."
Set alarm by UID
python3 scripts/set_alarm.py --uid "EVENT_UID" --alarm-minutes 15
Move event (legacy utility)
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
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)
python3 scripts/within_2h.py
Environment + tests
python3 scripts/env_check.py
python3 scripts/regression_test.py
scripts/smoke_test.sh
Daily auto-check notifier
scripts/install.sh # run env check + install cron from config.json
scripts/uninstall.sh # remove cron
Extraction & scheduling heuristics (from real usage)
- 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.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bryant24hao-macos-calendar-assistant": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
oc-doctor
Runs a comprehensive 11-section health check on local OpenClaw installations. Diagnoses configuration errors, session bloat, model drift, cron issues, security misconfigurations, gateway problems, and system instruction token budget. Generates a structured report with CRITICAL/WARNING/INFO findings and offers interactive one-click fixes. Use when: "openclaw doctor", "claw doctor", "claw health check", "openclaw diagnose", or troubleshooting OpenClaw.
skill-publisher
End-to-end workflow for publishing agent skills to GitHub, ClawdHub, and skills.sh. Handles repo creation, topic tagging, ClawdHub publish, skills.sh index request, and installation verification. Use when: "publish skill", "上架 skill", "发布技能", "submit to skills.sh", "submit to clawhub", "skill 上架流程".