← 返回
未分类 中文

Calctl

Command-line tool for macOS Sonoma that manages Apple Calendar events using EventKit with create, list, edit, and delete capabilities.
用于 macOS Sonoma 的命令行工具,使用 EventKit 管理 Apple 日历事件,支持创建、列出、编辑和删除功能。
christianteohx christianteohx 来源
未分类 clawhub v1.2.9 1 版本 100000 Key: 无需
★ 1
Stars
📥 400
下载
💾 1
安装
1
版本
#calendar#latest#macos

概述

calctl Skill

Native macOS Calendar CLI built with EventKit. No AppleScript, no osascript.

When to invoke

Trigger when user says or asks for:

  • "calendar CLI"
  • "apple calendar from terminal"
  • "calctl"
  • "event CLI for macOS"
  • "list calendar events from command line"
  • "create calendar event from terminal"
  • "add recurring event"
  • "schedule recurring calendar"
  • "weekly meeting in calendar"
  • "every monday calendar event"

How to use

The calctl CLI is already built at https://github.com/christianteohx/calctl.

Clone and build it, or install via Homebrew.

Install (Homebrew, recommended):

brew install christianteohx/tap/calctl

Direct binary:

curl -fsSL https://github.com/christianteohx/calctl/releases/latest/download/calctl -o ~/bin/calctl
chmod +x ~/bin/calctl

Build from source (macOS 13+, Swift 6.0+):

git clone https://github.com/christianteohx/calctl
cd calctl
swift build
.build/release/calctl <command>

First run: macOS will prompt for Calendar permission. Grant it in System Settings > Privacy & Security > Calendars > Terminal.

Commands

calctl status                    check calendar access status
calctl authorize                 trigger permission prompt
calctl list                      list all calendars (with id, title, source)
calctl today [--attendees]       show today's events (--attendees shows invitees)
calctl tomorrow [--attendees]     show tomorrow's events (--attendees shows invitees)
calctl week [--attendees]        show this week's events (--attendees shows invitees)
calctl date YYYY-MM-DD [--attendees]  show events for a specific date
calctl add --title ... --start ... --end ... [--recurrence RULE]  create an event
calctl edit --id <id> ...       edit an event
calctl delete --id <id>          delete an event
--calendar <name>                filter by calendar name

Recurring events

Add --recurrence with iCalendar RRULE syntax:

calctl add --title "Weekly Standup" --start "2026-04-14 09:00" --end "2026-04-14 09:30" --recurrence "FREQ=WEEKLY;INTERVAL=1;BYDAY=MO"
calctl add --title "Daily Reminder" --start "2026-04-15 08:00" --end "2026-04-15 08:05" --recurrence "FREQ=DAILY"
calctl add --title "Monthly Report" --start "2026-05-01 10:00" --end "2026-05-01 11:00" --recurrence "FREQ=MONTHLY;BYMONTHDAY=1"

Supported RRULE keys: FREQ (DAILY/WEEKLY/MONTHLY/YEARLY), INTERVAL, BYDAY, BYMONTHDAY, COUNT, UNTIL.

Attendees

Use --attendees on today, tomorrow, week, or date commands to show attendee information:

calctl today --attendees
calctl week --attendees

Shows each attendee's name/email and participation status (accepted, pending, declined, tentative, etc.). Events with no attendees show no attendee data. Available in both plain text and JSON output.

版本历史

共 1 个版本

  • v1.2.9 当前
    2026-05-03 10:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Skill Dependency Fixer

christianteohx
扫描已安装的 OpenClaw 技能,检测缺失的 npm、pip、brew 或系统依赖,并自动安装可修复的依赖。
★ 1 📥 393
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,438
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,502