{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/accli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=accli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/accli",
    "agentPageUrl": "https://openagent3.xyz/skills/accli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/accli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/accli/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Installation",
        "body": "npm install -g @joargp/accli\n\nRequirements: macOS only (uses JavaScript for Automation)"
      },
      {
        "title": "Overview",
        "body": "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."
      },
      {
        "title": "DateTime Formats",
        "body": "Timed events: YYYY-MM-DDTHH:mm or YYYY-MM-DDTHH:mm:ss\nAll-day events: YYYY-MM-DD"
      },
      {
        "title": "Global Options",
        "body": "--json - Output as JSON (recommended for parsing)\n--help - Show help for any command"
      },
      {
        "title": "List Calendars",
        "body": "accli calendars [--json]\n\nLists all available calendars with names and persistent IDs. Run this first to discover available calendars and their IDs."
      },
      {
        "title": "List Events",
        "body": "accli events <calendarName> [options]\n\nOptions:\n\n--calendar-id <id> - Persistent calendar ID (recommended over name)\n--from <datetime> - Start of range (default: now)\n--to <datetime> - End of range (default: from + 7 days)\n--max <n> - Maximum events to return (default: 50)\n--query <q> - Case-insensitive filter on summary/location/description\n--json - Output JSON\n\nExamples:\n\n# Events from Work calendar for this week\naccli events Work --json\n\n# Events in January\naccli events Work --from 2025-01-01 --to 2025-01-31 --json\n\n# Search for specific events\naccli events Work --query \"standup\" --max 10 --json"
      },
      {
        "title": "Get Single Event",
        "body": "accli event <calendarName> <eventId> [--json]\n\nRetrieves details for a specific event by its ID."
      },
      {
        "title": "Create Event",
        "body": "accli create <calendarName> --summary <s> --start <datetime> --end <datetime> [options]\n\nRequired Options:\n\n--summary <s> - Event title\n--start <datetime> - Start time\n--end <datetime> - End time\n\nOptional:\n\n--location <l> - Event location\n--description <d> - Event description\n--all-day - Create an all-day event\n--json - Output JSON\n\nExamples:\n\n# Create a timed meeting\naccli create Work --summary \"Team Standup\" --start 2025-01-15T09:00 --end 2025-01-15T09:30 --json\n\n# Create an all-day event\naccli create Personal --summary \"Vacation\" --start 2025-07-01 --end 2025-07-05 --all-day --json\n\n# Create with location and description\naccli create Work --summary \"Client Meeting\" --start 2025-01-15T14:00 --end 2025-01-15T15:00 \\\n  --location \"Conference Room A\" --description \"Q1 planning discussion\" --json"
      },
      {
        "title": "Update Event",
        "body": "accli update <calendarName> <eventId> [options]\n\nOptions (all optional - only provide what to change):\n\n--summary <s> - New title\n--start <datetime> - New start time\n--end <datetime> - New end time\n--location <l> - New location\n--description <d> - New description\n--all-day - Convert to all-day event\n--no-all-day - Convert to timed event\n--json - Output JSON\n\nExample:\n\naccli update Work event-id-123 --summary \"Updated Meeting Title\" --start 2025-01-15T15:00 --end 2025-01-15T16:00 --json"
      },
      {
        "title": "Delete Event",
        "body": "accli delete <calendarName> <eventId> [--json]\n\nPermanently deletes an event. Confirm with user before executing."
      },
      {
        "title": "Check Free/Busy",
        "body": "accli freebusy --calendar <name> --from <datetime> --to <datetime> [options]\n\nOptions:\n\n--calendar <name> - Calendar name (can repeat for multiple calendars)\n--calendar-id <id> - Persistent calendar ID (can repeat)\n--from <datetime> - Start of range (required)\n--to <datetime> - End of range (required)\n--json - Output JSON\n\nShows busy time slots, excluding cancelled, declined, and transparent events.\n\nExamples:\n\n# Check availability across calendars\naccli freebusy --calendar Work --calendar Personal --from 2025-01-15 --to 2025-01-16 --json\n\n# Check specific hours\naccli freebusy --calendar Work --from 2025-01-15T09:00 --to 2025-01-15T18:00 --json"
      },
      {
        "title": "Configuration",
        "body": "# Set default calendar (interactive)\naccli config set-default\n\n# Set default by name\naccli config set-default --calendar Work\n\n# Show current config\naccli config show\n\n# Clear default\naccli config clear\n\nWhen a default calendar is set, commands automatically use it if no calendar is specified."
      },
      {
        "title": "Before Creating Events",
        "body": "List calendars to get available calendar names/IDs\nCheck free/busy to find available time slots\nConfirm event details with user before creating"
      },
      {
        "title": "Best Practices",
        "body": "Always use --json flag for programmatic parsing\nPrefer --calendar-id over calendar names for reliability\nWhen querying events, start with reasonable date ranges\nConfirm with user before delete operations\nUse ISO 8601 datetime format consistently"
      },
      {
        "title": "Common Patterns",
        "body": "Find a free slot and schedule:\n\n# 1. Check availability\naccli freebusy --calendar Work --from 2025-01-15T09:00 --to 2025-01-15T18:00 --json\n\n# 2. Create event in available slot\naccli create Work --summary \"Meeting\" --start 2025-01-15T14:00 --end 2025-01-15T15:00 --json\n\nView today's schedule:\n\naccli events Work --from $(date +%Y-%m-%d) --to $(date -v+1d +%Y-%m-%d) --json"
      }
    ],
    "body": "Apple Calendar CLI (accli)\nInstallation\nnpm install -g @joargp/accli\n\n\nRequirements: macOS only (uses JavaScript for Automation)\n\nOverview\n\nThe 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.\n\nQuick Reference\nDateTime Formats\nTimed events: YYYY-MM-DDTHH:mm or YYYY-MM-DDTHH:mm:ss\nAll-day events: YYYY-MM-DD\nGlobal Options\n--json - Output as JSON (recommended for parsing)\n--help - Show help for any command\nCommands\nList Calendars\naccli calendars [--json]\n\n\nLists all available calendars with names and persistent IDs. Run this first to discover available calendars and their IDs.\n\nList Events\naccli events <calendarName> [options]\n\n\nOptions:\n\n--calendar-id <id> - Persistent calendar ID (recommended over name)\n--from <datetime> - Start of range (default: now)\n--to <datetime> - End of range (default: from + 7 days)\n--max <n> - Maximum events to return (default: 50)\n--query <q> - Case-insensitive filter on summary/location/description\n--json - Output JSON\n\nExamples:\n\n# Events from Work calendar for this week\naccli events Work --json\n\n# Events in January\naccli events Work --from 2025-01-01 --to 2025-01-31 --json\n\n# Search for specific events\naccli events Work --query \"standup\" --max 10 --json\n\nGet Single Event\naccli event <calendarName> <eventId> [--json]\n\n\nRetrieves details for a specific event by its ID.\n\nCreate Event\naccli create <calendarName> --summary <s> --start <datetime> --end <datetime> [options]\n\n\nRequired Options:\n\n--summary <s> - Event title\n--start <datetime> - Start time\n--end <datetime> - End time\n\nOptional:\n\n--location <l> - Event location\n--description <d> - Event description\n--all-day - Create an all-day event\n--json - Output JSON\n\nExamples:\n\n# Create a timed meeting\naccli create Work --summary \"Team Standup\" --start 2025-01-15T09:00 --end 2025-01-15T09:30 --json\n\n# Create an all-day event\naccli create Personal --summary \"Vacation\" --start 2025-07-01 --end 2025-07-05 --all-day --json\n\n# Create with location and description\naccli create Work --summary \"Client Meeting\" --start 2025-01-15T14:00 --end 2025-01-15T15:00 \\\n  --location \"Conference Room A\" --description \"Q1 planning discussion\" --json\n\nUpdate Event\naccli update <calendarName> <eventId> [options]\n\n\nOptions (all optional - only provide what to change):\n\n--summary <s> - New title\n--start <datetime> - New start time\n--end <datetime> - New end time\n--location <l> - New location\n--description <d> - New description\n--all-day - Convert to all-day event\n--no-all-day - Convert to timed event\n--json - Output JSON\n\nExample:\n\naccli update Work event-id-123 --summary \"Updated Meeting Title\" --start 2025-01-15T15:00 --end 2025-01-15T16:00 --json\n\nDelete Event\naccli delete <calendarName> <eventId> [--json]\n\n\nPermanently deletes an event. Confirm with user before executing.\n\nCheck Free/Busy\naccli freebusy --calendar <name> --from <datetime> --to <datetime> [options]\n\n\nOptions:\n\n--calendar <name> - Calendar name (can repeat for multiple calendars)\n--calendar-id <id> - Persistent calendar ID (can repeat)\n--from <datetime> - Start of range (required)\n--to <datetime> - End of range (required)\n--json - Output JSON\n\nShows busy time slots, excluding cancelled, declined, and transparent events.\n\nExamples:\n\n# Check availability across calendars\naccli freebusy --calendar Work --calendar Personal --from 2025-01-15 --to 2025-01-16 --json\n\n# Check specific hours\naccli freebusy --calendar Work --from 2025-01-15T09:00 --to 2025-01-15T18:00 --json\n\nConfiguration\n# Set default calendar (interactive)\naccli config set-default\n\n# Set default by name\naccli config set-default --calendar Work\n\n# Show current config\naccli config show\n\n# Clear default\naccli config clear\n\n\nWhen a default calendar is set, commands automatically use it if no calendar is specified.\n\nWorkflow Guidelines\nBefore Creating Events\nList calendars to get available calendar names/IDs\nCheck free/busy to find available time slots\nConfirm event details with user before creating\nBest Practices\nAlways use --json flag for programmatic parsing\nPrefer --calendar-id over calendar names for reliability\nWhen querying events, start with reasonable date ranges\nConfirm with user before delete operations\nUse ISO 8601 datetime format consistently\nCommon Patterns\n\nFind a free slot and schedule:\n\n# 1. Check availability\naccli freebusy --calendar Work --from 2025-01-15T09:00 --to 2025-01-15T18:00 --json\n\n# 2. Create event in available slot\naccli create Work --summary \"Meeting\" --start 2025-01-15T14:00 --end 2025-01-15T15:00 --json\n\n\nView today's schedule:\n\naccli events Work --from $(date +%Y-%m-%d) --to $(date -v+1d +%Y-%m-%d) --json"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/joargp/accli",
    "publisherUrl": "https://clawhub.ai/joargp/accli",
    "owner": "joargp",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}