calctl
由 rainbat 提供
Notes & PKM简介
Manage Apple Calendar events via icalBuddy + AppleScript CLI.
描述
该技能的功能
calctl manages Apple Calendar events from the command line using icalBuddy for reads and AppleScript for writes. Commands cover listing calendars, viewing events by date range, creating events with options, and searching by title.
Reads and writes Apple Calendar events entirely from the terminal without switching to the Calendar app or using a GUI.
何时使用
- Check today's schedule without opening Calendar
- Add a meeting to a specific work calendar from the terminal
- Search for an upcoming event by keyword
- Create an all-day event or one with notes attached
示例工作流
User asks: Add a team standup to the Work calendar tomorrow at 9am, ending at 9:30
- 1
Parse the requested title, calendar name, date, start time, and end time
- 2
Resolve 'tomorrow' to the correct date
- 3
Run: calctl add "Team Standup" --calendar Work --date 2026-03-19 --time 09:00 --end 09:30
Event "Team Standup" created in the Work calendar on 2026-03-19 from 09:00 to 09:30
前置要求
- icalBuddy installed via `brew install ical-buddy`
安装
clawhub install rainbat/calctl运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。