← 返回 Skills 市场
christianteohx

Calctl

作者 Christian Teo · GitHub ↗ · v1.2.9 · MIT-0
cross-platform ⚠ suspicious
136
总下载
1
收藏
0
当前安装
23
版本数
在 OpenClaw 中安装
/install apple-calctl
功能描述
Command-line tool for macOS Sonoma that manages Apple Calendar events using EventKit with create, list, edit, and delete capabilities.
使用说明 (SKILL.md)

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 \x3Ccommand>

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 \x3Cid> ...       edit an event
calctl delete --id \x3Cid>          delete an event
--calendar \x3Cname>                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.

安全使用建议
This skill is internally consistent with its stated purpose: it tells you how to install and run a native macOS calendar CLI that will prompt macOS to grant Calendar access. Before installing, verify the upstream source: check the GitHub repo and release artifacts, prefer building from source if you don't trust the binary, and verify checksums or signatures if available. Be cautious about adding a third-party Homebrew tap or running curl to download an executable directly. Granting Calendar permission to Terminal (or whatever shell you run it in) gives any binary run there access to your calendar data, so only proceed if you trust the calctl project.
功能分析
Type: OpenClaw Skill Name: apple-calctl Version: 1.2.9 The skill instructions in SKILL.md direct the AI agent to download and execute a binary directly from an external GitHub repository (https://github.com/christianteohx/calctl) using 'curl' and 'chmod +x'. While this is a common installation method for CLI tools, it introduces a high-risk execution path that bypasses package manager verification and could lead to the execution of unvetted code. No explicit evidence of malicious intent was found, but the pattern of fetching and running remote artifacts is a significant security concern.
能力评估
Purpose & Capability
The name/description (macOS Calendar CLI using EventKit) matches the SKILL.md. The README-style instructions focus on installing and running a native calctl binary (Homebrew, GitHub release, or build from source). No unrelated credentials, config paths, or binaries are requested. (Minor metadata inconsistency: registry metadata listed no homepage, while SKILL.md provides a GitHub repo URL.)
Instruction Scope
SKILL.md only instructs how to obtain, build, and run the calctl CLI and how to grant macOS Calendar permission (Terminal). It does not ask the agent to read unrelated files, environment variables, or send data to unexpected endpoints. The instructions do reference writing the binary to ~/bin and running Terminal, which is expected for a native CLI.
Install Mechanism
There is no platform install spec in the registry (instruction-only). The SKILL.md recommends Homebrew (a third-party tap) or direct curl from a GitHub Releases URL. Pulling and executing a third-party native binary is a normal way to install a CLI but carries standard risks: unreviewed third-party brew taps and downloaded binaries should be verified (checksums/signatures) or built from source when possible.
Credentials
No environment variables, credentials, or config paths are requested. The only permission implied is the macOS Calendar privacy grant (OS-level) required for EventKit access, which is proportionate to the stated functionality.
Persistence & Privilege
Skill is instruction-only, always:false, and does not request persistent platform privileges or modify other skills. Autonomous invocation is allowed by default but that is normal; this skill does not request elevated or cross-skill privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install apple-calctl
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /apple-calctl 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.9
No changes detected in this version. - Version 1.2.9 was released with no modifications to the SKILL.md or any files. - All commands and functionality remain as previously described.
v1.2.8
Added --attendees flag for today, tomorrow, week, and date commands
v1.2.7
**Major update: Project files and documentation added, and skill instructions overhauled.** - Added core project files: Swift source code, data models, error handling, and SPM manifest. - Introduced extensive developer and workflow documentation (README.md, architecture.md, summary.md, etc.). - Updated SKILL.md with new usage instructions: now describes code generation for a macOS Calendar CLI using EventKit in Swift, with explicit build/run/install steps. - Command list and implementation requirements fully reworked for clarity and maintainability. - Metadata updated: now requires Swift binary and clarifies system dependencies.
v1.2.6
- Updated usage instructions to clarify the first-run macOS Calendar permission prompt. - Improved project description and invocation phrases for clarity. - No changes to functionality or core requirements.
v1.2.5
calctl 1.2.5 introduces a new project structure and setup documentation. - Added Swift Package Manager support with a new Package.swift file. - Organized source code into CalendarCore module with new files: CalendarCore.swift, DateParser.swift, Errors.swift, and Models.swift. - Added extensive documentation: README.md, SPEC.md, BACKLOG.md, architecture.md, decisions.md, failures.md, summary.md, and workflow.md. - Introduced setup scripts: setup-githooks.sh and smoke.sh, to assist with development and testing workflows. - SKILL.md updated for a simplified description and updated trigger phrases.
v1.2.4
- Updated skill description to include support for recurring events using RRULE and single-occurrence edits. - Clarified core requirements and platform support. - No user-facing command or interface changes. - Minor metadata formatting updates.
v1.2.3
- Dropped explicit "Sonoma" reference; now states only "macOS 14+ required". - No changes to functionality, commands, or usage instructions. - Clarified macOS version requirement in the core requirements section.
v1.2.2
Version 1.2.2 - Major project restructuring with 15 new files added, including core source files and documentation. - Added Swift Package Manager support via Package.swift for easier building and dependency management. - Introduced modular source code organization (CalendarCore, DateParser, Models, Errors). - Updated documentation (README.md, architecture.md, SPEC.md, etc.) to reflect new architecture and usage patterns. - Adjusted metadata to specify Swift is required. - Simplified and refocused the SKILL.md description and triggers for clarity.
v1.2.1
- Updated the description to clarify support for recurring events (RRULE) and single-occurrence edits with --this-only. - No changes to functionality; documentation improved for accuracy and clarity.
v1.2.0
calctl 1.2.0 adds support for editing or deleting only a single occurrence of recurring events. - New --this-only flag for edit and delete commands to target individual occurrences in recurring events. - Documentation updated to explain --this-only usage and its effect. - All other usage and installation instructions remain unchanged.
v1.1.2
- Added "macOS calendar command line" to the trigger phrases in the description. - Updated build requirements in the instructions from macOS 13+ to macOS 14+.
v1.1.1
- Updated instructions to direct users to install and use the already-built calctl CLI from the project homepage, rather than generating a new project. - Removed implementation and project structure details; focused on usage, supported commands, and installation methods. - Cleared the EventKit/swift binary requirement from metadata. - Streamlined recurring event documentation and clarified supported RRULE keys. - Simplified language and examples for better usability.
v1.1.0
- Updated skill description for clarity and conciseness, highlighting support for recurring events. - No functional or behavioral changes; instructions and technical requirements remain unchanged.
v1.0.9
- Added support for recurring calendar events via --recurrence option using iCalendar RRULE syntax. - Expanded trigger phrases to recognize requests for recurring events (e.g., "add recurring event", "weekly meeting in calendar"). - Updated command documentation for add to include recurrence examples and supported RRULE keys. - Clarified instructions for handling recurrence rules with EKRecurrenceRule.
v1.0.8
- Revised installation instructions: now labels Homebrew as "(recommended)" and shortens headings for clarity. - No functional or trigger changes; documentation only.
v1.0.7
- Reformatted example commands and output instructions using code blocks for improved readability. - No changes to functionality or invocation triggers. - All core requirements, implementation notes, and project structure remain the same.
v1.0.6
- Updated CLI command list in documentation to use a consistent, clearer format - Reformatted project structure and installation instructions for improved readability - No changes to functionality; documentation formatting only
v1.0.5
- Reformatted code blocks for commands and project structure to use consistent indentation. - No changes to features, instructions, or command list—documentation style update only.
v1.0.4
- Reformatted the command and output instructions into code blocks for improved readability. - Minor clarifications added to the Calendar permission instructions. - No functional or invocation changes; documentation and formatting improvements only.
v1.0.3
- Reformatted command and project structure lists for improved readability. - Changed command descriptions from table to bullet list format. - Updated formatting in the installation and usage instructions for clarity. - Minor style changes to implementation notes—removed code formatting for consistency. - No changes to actual functionality or requirements.
元数据
Slug apple-calctl
版本 1.2.9
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 23
常见问题

Calctl 是什么?

Command-line tool for macOS Sonoma that manages Apple Calendar events using EventKit with create, list, edit, and delete capabilities. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 136 次。

如何安装 Calctl?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install apple-calctl」即可一键安装,无需额外配置。

Calctl 是免费的吗?

是的,Calctl 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Calctl 支持哪些平台?

Calctl 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Calctl?

由 Christian Teo(@christianteohx)开发并维护,当前版本 v1.2.9。

💬 留言讨论