# Send Apple Calendar CLI to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "accli",
    "name": "Apple Calendar CLI",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/joargp/accli",
    "canonicalUrl": "https://clawhub.ai/joargp/accli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/accli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=accli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "accli",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T03:19:51.340Z",
      "expiresAt": "2026-05-06T03:19:51.340Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=accli",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=accli",
        "contentDisposition": "attachment; filename=\"accli-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "accli"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/accli"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/accli",
    "downloadUrl": "https://openagent3.xyz/downloads/accli",
    "agentUrl": "https://openagent3.xyz/skills/accli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/accli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/accli/agent.md"
  }
}
```
## Documentation

### Installation

npm install -g @joargp/accli

Requirements: macOS only (uses JavaScript for Automation)

### Overview

The accli tool provides command-line access to macOS Apple Calendar. It enables listing calendars, querying events, creating/updating/deleting events, and checking availability across calendars.

### DateTime Formats

Timed events: YYYY-MM-DDTHH:mm or YYYY-MM-DDTHH:mm:ss
All-day events: YYYY-MM-DD

### Global Options

--json - Output as JSON (recommended for parsing)
--help - Show help for any command

### List Calendars

accli calendars [--json]

Lists all available calendars with names and persistent IDs. Run this first to discover available calendars and their IDs.

### List Events

accli events <calendarName> [options]

Options:

--calendar-id <id> - Persistent calendar ID (recommended over name)
--from <datetime> - Start of range (default: now)
--to <datetime> - End of range (default: from + 7 days)
--max <n> - Maximum events to return (default: 50)
--query <q> - Case-insensitive filter on summary/location/description
--json - Output JSON

Examples:

# Events from Work calendar for this week
accli events Work --json

# Events in January
accli events Work --from 2025-01-01 --to 2025-01-31 --json

# Search for specific events
accli events Work --query "standup" --max 10 --json

### Get Single Event

accli event <calendarName> <eventId> [--json]

Retrieves details for a specific event by its ID.

### Create Event

accli create <calendarName> --summary <s> --start <datetime> --end <datetime> [options]

Required Options:

--summary <s> - Event title
--start <datetime> - Start time
--end <datetime> - End time

Optional:

--location <l> - Event location
--description <d> - Event description
--all-day - Create an all-day event
--json - Output JSON

Examples:

# Create a timed meeting
accli create Work --summary "Team Standup" --start 2025-01-15T09:00 --end 2025-01-15T09:30 --json

# Create an all-day event
accli create Personal --summary "Vacation" --start 2025-07-01 --end 2025-07-05 --all-day --json

# Create with location and description
accli create Work --summary "Client Meeting" --start 2025-01-15T14:00 --end 2025-01-15T15:00 \\
  --location "Conference Room A" --description "Q1 planning discussion" --json

### Update Event

accli update <calendarName> <eventId> [options]

Options (all optional - only provide what to change):

--summary <s> - New title
--start <datetime> - New start time
--end <datetime> - New end time
--location <l> - New location
--description <d> - New description
--all-day - Convert to all-day event
--no-all-day - Convert to timed event
--json - Output JSON

Example:

accli update Work event-id-123 --summary "Updated Meeting Title" --start 2025-01-15T15:00 --end 2025-01-15T16:00 --json

### Delete Event

accli delete <calendarName> <eventId> [--json]

Permanently deletes an event. Confirm with user before executing.

### Check Free/Busy

accli freebusy --calendar <name> --from <datetime> --to <datetime> [options]

Options:

--calendar <name> - Calendar name (can repeat for multiple calendars)
--calendar-id <id> - Persistent calendar ID (can repeat)
--from <datetime> - Start of range (required)
--to <datetime> - End of range (required)
--json - Output JSON

Shows busy time slots, excluding cancelled, declined, and transparent events.

Examples:

# Check availability across calendars
accli freebusy --calendar Work --calendar Personal --from 2025-01-15 --to 2025-01-16 --json

# Check specific hours
accli freebusy --calendar Work --from 2025-01-15T09:00 --to 2025-01-15T18:00 --json

### Configuration

# Set default calendar (interactive)
accli config set-default

# Set default by name
accli config set-default --calendar Work

# Show current config
accli config show

# Clear default
accli config clear

When a default calendar is set, commands automatically use it if no calendar is specified.

### Before Creating Events

List calendars to get available calendar names/IDs
Check free/busy to find available time slots
Confirm event details with user before creating

### Best Practices

Always use --json flag for programmatic parsing
Prefer --calendar-id over calendar names for reliability
When querying events, start with reasonable date ranges
Confirm with user before delete operations
Use ISO 8601 datetime format consistently

### Common Patterns

Find a free slot and schedule:

# 1. Check availability
accli freebusy --calendar Work --from 2025-01-15T09:00 --to 2025-01-15T18:00 --json

# 2. Create event in available slot
accli create Work --summary "Meeting" --start 2025-01-15T14:00 --end 2025-01-15T15:00 --json

View today's schedule:

accli events Work --from $(date +%Y-%m-%d) --to $(date -v+1d +%Y-%m-%d) --json
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: joargp
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T03:19:51.340Z
- Expires at: 2026-05-06T03:19:51.340Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/accli)
- [Send to Agent page](https://openagent3.xyz/skills/accli/agent)
- [JSON manifest](https://openagent3.xyz/skills/accli/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/accli/agent.md)
- [Download page](https://openagent3.xyz/downloads/accli)