{
  "schemaVersion": "1.0",
  "item": {
    "slug": "opys-calendar",
    "name": "Opys Calendar Skill",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/21J3phy/opys-calendar",
    "canonicalUrl": "https://clawhub.ai/21J3phy/opys-calendar",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/opys-calendar",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=opys-calendar",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      ".calendar-google-sync-state.json",
      ".calendar-settings.json",
      ".tmp-recent-calendar.md",
      "README.md",
      "SKILL.md",
      "calendar.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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.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/opys-calendar"
    },
    "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/opys-calendar",
    "agentPageUrl": "https://openagent3.xyz/skills/opys-calendar/agent",
    "manifestUrl": "https://openagent3.xyz/skills/opys-calendar/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/opys-calendar/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Calendar Markdown + Google Sync Skill",
        "body": "Use this skill to query/update the local markdown-backed calendar safely and sync it with Google Calendar."
      },
      {
        "title": "Source of Truth",
        "body": "File: calendar.md\nAuthoritative section: ## Event Records (fenced event YAML blocks)\nHuman summary section: ## Event Checklist"
      },
      {
        "title": "Event Identity Rules",
        "body": "id: local identifier\nexternalId: stable cross-system identifier used for dedupe\ngoogleEventIds: per-calendar Google event mapping\nupdatedAt: event-level timestamp for conflict resolution\n\nDo not remove externalId from existing records."
      },
      {
        "title": "Preferred Interface",
        "body": "Use CLI from repo root:\n\nnpm run cli -- <command>"
      },
      {
        "title": "Safe Query Flow",
        "body": "Run npm run cli -- summary.\nIf raw markdown is needed, run npm run cli -- export."
      },
      {
        "title": "Safe Update Flow",
        "body": "Add (preferred for new events):\nnpm run cli -- add --title \"...\" --start \"<ISO>\" --end \"<ISO>\" --category <id> [--shift-to-next|--allow-overlap]\nUpdate:\nnpm run cli -- update --id <event_id> [fields...]\nIf changing --start or --end, include --shift-to-next or --allow-overlap in non-interactive runs.\nCheck/uncheck:\nnpm run cli -- check --id <event_id> or --undone\nDelete:\nnpm run cli -- delete --id <event_id>\nAdd category:\nnpm run cli -- category-add --id <id> --label \"Label\" --color \"#9ca3af\" --description \"...\"\nRemove category:\nnpm run cli -- category-remove --id <id> --reassign <id>\n\nConflict handling:\n\nadd and time-changing update detect overlaps with existing events.\nInteractive runs can choose accept overlap, shift to next available slot, or provide a custom time.\nNon-interactive runs:\n--shift-to-next to auto-resolve to the next open window.\n--allow-overlap to keep the requested overlapping time.\n\nAgent snapshot output:\n\nEvery mutating CLI command writes a rolling markdown snapshot.\nDefault path: ./agent-snapshot.md\nOverride with CALENDAR_AGENT_SNAPSHOT.\nRecent window defaults to 14 days and is configurable with CALENDAR_AGENT_DAYS.\nSnapshot also includes upcoming 7 days when events exist."
      },
      {
        "title": "UI Constraints",
        "body": "UI does not provide add-event form/button.\nEvents are created via CLI agents only.\nUI still supports drag/drop, resize, and check-off."
      },
      {
        "title": "Google Sync Flow",
        "body": "In UI, sign in with Google.\nSelect target calendar via calendar selector controls.\nClick Sync Now for two-way merge.\n\nSync state file:\n\n.calendar-google-sync-state.json"
      },
      {
        "title": "Import/Export",
        "body": "Export: npm run cli -- export --out backup-calendar.md\nImport: npm run cli -- import --in backup-calendar.md"
      },
      {
        "title": "Notes for Agents",
        "body": "Keep datetimes in ISO format.\nPrefer CLI operations over manual markdown edits.\nIf categories are changed manually in frontmatter, keep id, label, and color fields valid."
      },
      {
        "title": "Environment Variables",
        "body": "This skill uses the following environment variables (defined in .env):\n\nGoogle Calendar Sync (Optional)\n\nGOOGLE_CLIENT_ID: Google OAuth Client ID\nGOOGLE_CLIENT_SECRET: Google OAuth Client Secret\nGOOGLE_REDIRECT_URI: Should be http://localhost:<PORT>/api/google/auth/callback\n\n\n\nAgent Configuration (Optional)\n\nCALENDAR_AGENT_SNAPSHOT: Custom absolute or relative path to write the Markdown snapshot. Defaults to ./agent-snapshot.md.\nCALENDAR_AGENT_DAYS: Number of historical days to include in the snapshot (defaults to 14).\nPORT: API server port (defaults to 8787).\nAPP_BASE_URL: Base URL for the frontend UI."
      }
    ],
    "body": "Calendar Markdown + Google Sync Skill\n\nUse this skill to query/update the local markdown-backed calendar safely and sync it with Google Calendar.\n\nSource of Truth\nFile: calendar.md\nAuthoritative section: ## Event Records (fenced event YAML blocks)\nHuman summary section: ## Event Checklist\nEvent Identity Rules\nid: local identifier\nexternalId: stable cross-system identifier used for dedupe\ngoogleEventIds: per-calendar Google event mapping\nupdatedAt: event-level timestamp for conflict resolution\n\nDo not remove externalId from existing records.\n\nPreferred Interface\n\nUse CLI from repo root:\n\nnpm run cli -- <command>\n\nSafe Query Flow\nRun npm run cli -- summary.\nIf raw markdown is needed, run npm run cli -- export.\nSafe Update Flow\nAdd (preferred for new events): npm run cli -- add --title \"...\" --start \"<ISO>\" --end \"<ISO>\" --category <id> [--shift-to-next|--allow-overlap]\nUpdate: npm run cli -- update --id <event_id> [fields...] If changing --start or --end, include --shift-to-next or --allow-overlap in non-interactive runs.\nCheck/uncheck: npm run cli -- check --id <event_id> or --undone\nDelete: npm run cli -- delete --id <event_id>\nAdd category: npm run cli -- category-add --id <id> --label \"Label\" --color \"#9ca3af\" --description \"...\"\nRemove category: npm run cli -- category-remove --id <id> --reassign <id>\n\nConflict handling:\n\nadd and time-changing update detect overlaps with existing events.\nInteractive runs can choose accept overlap, shift to next available slot, or provide a custom time.\nNon-interactive runs:\n--shift-to-next to auto-resolve to the next open window.\n--allow-overlap to keep the requested overlapping time.\n\nAgent snapshot output:\n\nEvery mutating CLI command writes a rolling markdown snapshot.\nDefault path: ./agent-snapshot.md\nOverride with CALENDAR_AGENT_SNAPSHOT.\nRecent window defaults to 14 days and is configurable with CALENDAR_AGENT_DAYS.\nSnapshot also includes upcoming 7 days when events exist.\nUI Constraints\nUI does not provide add-event form/button.\nEvents are created via CLI agents only.\nUI still supports drag/drop, resize, and check-off.\nGoogle Sync Flow\nIn UI, sign in with Google.\nSelect target calendar via calendar selector controls.\nClick Sync Now for two-way merge.\n\nSync state file:\n\n.calendar-google-sync-state.json\nImport/Export\nExport: npm run cli -- export --out backup-calendar.md\nImport: npm run cli -- import --in backup-calendar.md\nNotes for Agents\nKeep datetimes in ISO format.\nPrefer CLI operations over manual markdown edits.\nIf categories are changed manually in frontmatter, keep id, label, and color fields valid.\nEnvironment Variables\n\nThis skill uses the following environment variables (defined in .env):\n\nGoogle Calendar Sync (Optional)\n\nGOOGLE_CLIENT_ID: Google OAuth Client ID\nGOOGLE_CLIENT_SECRET: Google OAuth Client Secret\nGOOGLE_REDIRECT_URI: Should be http://localhost:<PORT>/api/google/auth/callback\n\nAgent Configuration (Optional)\n\nCALENDAR_AGENT_SNAPSHOT: Custom absolute or relative path to write the Markdown snapshot. Defaults to ./agent-snapshot.md.\nCALENDAR_AGENT_DAYS: Number of historical days to include in the snapshot (defaults to 14).\nPORT: API server port (defaults to 8787).\nAPP_BASE_URL: Base URL for the frontend UI."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/21J3phy/opys-calendar",
    "publisherUrl": "https://clawhub.ai/21J3phy/opys-calendar",
    "owner": "21J3phy",
    "version": "0.1.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/opys-calendar",
    "downloadUrl": "https://openagent3.xyz/downloads/opys-calendar",
    "agentUrl": "https://openagent3.xyz/skills/opys-calendar/agent",
    "manifestUrl": "https://openagent3.xyz/skills/opys-calendar/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/opys-calendar/agent.md"
  }
}