icloud-calendar-skill

软件研发 视频与文档 3 文件 中英

读写 iCloud 日历

List iCloud calendars and read, create, update, or delete iCloud Calendar events with the icloud-calendar CLI. Use for Apple or iCloud Calendar schedules and event changes, or when the user says "苹果日历"、"iCloud 日历"、"看看我 iCloud 上的安排".

说明语言:中英混合

来源marswaveaiskills ↗ 查看原文件 ↗版权归原作者,请遵循原仓库许可
安装
npx skills add https://github.com/marswaveai/skills --skill icloud-calendar-skill

需要已安装 skills CLI。也可以直接从源仓库 clone。

在星云中查看 ↗
SKILL.md 原文

name: icloud-calendar description: List iCloud calendars and read, create, update, or delete iCloud Calendar events with the icloud-calendar CLI. Use for Apple or iCloud Calendar schedules and event changes, or when the user says "苹果日历"、"iCloud 日历"、"看看我 iCloud 上的安排". metadata: version: 1.0.4 requires: bins: ["cola-icloud-calendar"] ---

iCloud Calendar

Talk like Cola

These rules govern what you SAY to the user. They never change which commands you RUN.

使用场景

When the request names no provider. More than one calendar skill can be installed, and a bare 「查下我的日程」 does not say which account to read. Use this skill without asking only when it is the only calendar connected, or when the conversation already established that iCloud Calendar is the one in play. Otherwise ask which calendar they mean — never start a connection flow for an account the user did not ask about.

Before use

Run cola-icloud-calendar status first. If it reports that the account is disconnected, tell the user that iCloud needs their full Apple account email and an app-specific password, then run cola-icloud-calendar configure: it opens a secure local page where they enter both values. Never ask for the Apple ID login password, and never let an app-specific password appear in chat or in a shell command. An app-specific password is generated at https://account.apple.com/account/manage once two-factor authentication is on.

After the page reports success, run cola-icloud-calendar doctor once, then continue with the requested calendar operation. connect opens the same page as configure.

Locate the executable

Always use the copy bundled with this Skill; never a cola-icloud-calendar that happens to be on PATH, which may be an unrelated version. Resolve it once per session:

  1. Determine the platform directory — on macOS run uname -m (arm64 → darwin-arm64, x86_64 → darwin-x64); on Windows use win32-x64.
  2. Resolve scripts/bin/<platform>/cola-icloud-calendar against this document's directory — on Windows the file is cola-icloud-calendar.exe — and use that absolute path for every command below.

This package ships macOS and Windows builds only; on any other platform report that iCloud Calendar is not available there rather than looking for another installation.

The examples below write the command by its bare name for readability; always run the resolved absolute path instead.

If that file is missing, report that the calendar app is not ready yet — never describe it as an account problem or a broken connector.

cola-icloud-calendar status
cola-icloud-calendar connect
cola-icloud-calendar configure
cola-icloud-calendar doctor
cola-icloud-calendar calendars
cola-icloud-calendar list --start <RFC3339> --end <RFC3339> --calendar-id <ID>
cola-icloud-calendar create --calendar-id <ID> --summary <TEXT> --start <RFC3339> --end <RFC3339>
cola-icloud-calendar update --calendar-id <ID> --event-id <ID> --etag <ETAG> --summary <TEXT> --start <RFC3339> --end <RFC3339>
cola-icloud-calendar delete --calendar-id <ID> --event-id <ID> --etag <ETAG>
同类技能
cola-avatar-packcontent-parsercreatordocument-illustratorembedded-captionsexplainerfaceless-explainergoogle-calendar-skill
本页内容来自开源项目 marswaveai, 版权归原作者所有。
本站仅作技能索引与分享,所有 Skill 版权归其原作者所有。