{
  "schemaVersion": "1.0",
  "item": {
    "slug": "calendar-hold-sync",
    "name": "Calendar Hold Sync",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/tdewitt/calendar-hold-sync",
    "canonicalUrl": "https://clawhub.ai/tdewitt/calendar-hold-sync",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/calendar-hold-sync",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=calendar-hold-sync",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.base.md",
      "README.md",
      "SKILL.md",
      "agents/openai.yaml",
      "providers/openclaw.md",
      "providers/codex.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-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/calendar-hold-sync"
    },
    "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/calendar-hold-sync",
    "agentPageUrl": "https://openagent3.xyz/skills/calendar-hold-sync/agent",
    "manifestUrl": "https://openagent3.xyz/skills/calendar-hold-sync/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/calendar-hold-sync/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 Hold Sync",
        "body": "Implement hold mirroring from source Google calendars into target calendars to prevent double-booking."
      },
      {
        "title": "Dependency",
        "body": "Require gog CLI in PATH.\nRequire user OAuth already configured for each account used in mappings.\nDo not hardcode account emails, calendar IDs, or event IDs in code.\n\nIf gog is not configured, use this setup flow:\n\nRun gog auth credentials /path/to/client_secret.json.\nRun gog auth add you@gmail.com --services calendar.\nVerify with gog auth list.\n\nOnly add additional Google services if you explicitly need them for another workflow.\n\nOfficial gog references:\n\nHomepage: https://gogcli.sh/\nSource: https://github.com/steipete/gogcli"
      },
      {
        "title": "Config Contract",
        "body": "Use a user-provided JSON config file with this shape:\n\nmappings[]\nmappings[].name\nmappings[].targetAccount\nmappings[].targetCalendarId (default primary)\nmappings[].sources[] with { account, calendarId }\nmappings[].lookaheadDays (default 30)\nmappings[].allDayMode: ignore|mirror\nmappings[].overlapPolicy: skip|allow\nhold.summary (default Busy)\nhold.visibility (private)\nhold.transparency (busy)\nhold.notifications (none)\nhold.reminders (none)\nmetadata.format (SYNCV1)\nmetadata.encoding (base64url(json))\nmetadata.fields: srcAccount,srcCalendar,eventId,start,end,title\nscheduling.reconcileCron\nscheduling.daytimeCron (optional)\nscheduling.driftWindowDays (optional)\nscheduling.watchIntervalSeconds (optional, default 20)\nsafety.dryRun\nsafety.maxChangesPerRun\nsafety.excludeIfSummaryMatches[]\nsafety.excludeIfDescriptionPrefix[]\ngog.listEventsCmd|createEventCmd|updateEventCmd|deleteEventCmd (optional template overrides)\ngog.allowCustomCommands (must be true to enable any gog.*Cmd override)"
      },
      {
        "title": "Custom Command Template Safety",
        "body": "When custom commands are enabled:\n\nOnly gog command templates are accepted.\nTemplates are rendered by replacing placeholders like {account} and {calendarId}.\nRendered commands are executed as argv tokens (no shell interpolation).\nKeep gog.allowCustomCommands=false unless you fully trust and audit the config file."
      },
      {
        "title": "Metadata Encoding",
        "body": "Store source linkage in hold description as:\n\nSYNCV1:<base64url(JSON)>\n\nJSON fields:\n\nsrcAccount\nsrcCalendar\neventId\nstart\nend\ntitle"
      },
      {
        "title": "Behavior",
        "body": "For each mapping:\n\nRead source events in the active window.\nBuild desired hold events (private, busy, no reminders).\nDetect existing managed holds by SYNCV1: prefix.\nReconcile idempotently:\n\nCreate missing holds.\nUpdate drifted holds.\nDelete stale holds.\n\nIf overlap policy is skip, do not create a hold when a non-managed target event overlaps.\nEnforce maxChangesPerRun.\nRespect dryRun."
      },
      {
        "title": "Backfill",
        "body": "Backfill mode upgrades legacy hold events (matching expected hold signature but lacking SYNCV1) by attaching encoded metadata when a unique source match exists."
      },
      {
        "title": "Command Surface",
        "body": "hold-sync validate-config\nhold-sync reconcile --mapping <name>|--all [--dry-run]\nhold-sync backfill --mapping <name>|--all [--dry-run]\nhold-sync status --mapping <name>|--all\nhold-sync install-cron --mapping <name>|--all\nhold-sync watch --mapping <name>|--all [--dry-run] [--interval-seconds <n>]"
      },
      {
        "title": "Watch Cadence",
        "body": "Require watch cadence to be configurable from user config:\n\nscheduling.watchIntervalSeconds controls watch poll frequency.\nmappings[].lookaheadDays controls rolling watch/reconcile window.\n\nRecommend baseline values:\n\nwatchIntervalSeconds: 900 (15 minutes)\nlookaheadDays: 1 (24 hours)"
      },
      {
        "title": "Working Model",
        "body": "Use polling-based watch mode (hold-sync watch) for fast updates.\nExpect update latency approximately equal to watchIntervalSeconds.\nTreat this as self-hosted/operator-run automation."
      },
      {
        "title": "Known Limits",
        "body": "Do not assume webhook/push subscriptions are present; current fast sync path is polling.\nKeep periodic scheduled reconcile as fallback even when watch mode is enabled."
      },
      {
        "title": "Required Tests",
        "body": "metadata encode/decode round-trip\noverlap detection correctness\nidempotent reconcile upsert/delete behavior\n\nAttribution: gog setup flow adapted from:\n\nhttps://clawhub.ai/steipete/gog\nhttps://github.com/steipete/gogcli\nhttps://gogcli.sh/"
      },
      {
        "title": "Provider Notes (openclaw)",
        "body": "Use this variant when publishing to ClawHub/OpenClaw.\n\nKeep instructions implementation-focused and command-oriented.\nKeep dependency explicit: gog must be preconfigured by user.\nPrefer deterministic script execution over speculative edits.\nAvoid provider-specific APIs; treat the CLI as the boundary."
      }
    ],
    "body": "Calendar Hold Sync\n\nImplement hold mirroring from source Google calendars into target calendars to prevent double-booking.\n\nDependency\nRequire gog CLI in PATH.\nRequire user OAuth already configured for each account used in mappings.\nDo not hardcode account emails, calendar IDs, or event IDs in code.\n\nIf gog is not configured, use this setup flow:\n\nRun gog auth credentials /path/to/client_secret.json.\nRun gog auth add you@gmail.com --services calendar.\nVerify with gog auth list.\n\nOnly add additional Google services if you explicitly need them for another workflow.\n\nOfficial gog references:\n\nHomepage: https://gogcli.sh/\nSource: https://github.com/steipete/gogcli\nConfig Contract\n\nUse a user-provided JSON config file with this shape:\n\nmappings[]\nmappings[].name\nmappings[].targetAccount\nmappings[].targetCalendarId (default primary)\nmappings[].sources[] with { account, calendarId }\nmappings[].lookaheadDays (default 30)\nmappings[].allDayMode: ignore|mirror\nmappings[].overlapPolicy: skip|allow\nhold.summary (default Busy)\nhold.visibility (private)\nhold.transparency (busy)\nhold.notifications (none)\nhold.reminders (none)\nmetadata.format (SYNCV1)\nmetadata.encoding (base64url(json))\nmetadata.fields: srcAccount,srcCalendar,eventId,start,end,title\nscheduling.reconcileCron\nscheduling.daytimeCron (optional)\nscheduling.driftWindowDays (optional)\nscheduling.watchIntervalSeconds (optional, default 20)\nsafety.dryRun\nsafety.maxChangesPerRun\nsafety.excludeIfSummaryMatches[]\nsafety.excludeIfDescriptionPrefix[]\ngog.listEventsCmd|createEventCmd|updateEventCmd|deleteEventCmd (optional template overrides)\ngog.allowCustomCommands (must be true to enable any gog.*Cmd override)\nCustom Command Template Safety\n\nWhen custom commands are enabled:\n\nOnly gog command templates are accepted.\nTemplates are rendered by replacing placeholders like {account} and {calendarId}.\nRendered commands are executed as argv tokens (no shell interpolation).\nKeep gog.allowCustomCommands=false unless you fully trust and audit the config file.\nMetadata Encoding\n\nStore source linkage in hold description as:\n\nSYNCV1:<base64url(JSON)>\n\nJSON fields:\n\nsrcAccount\nsrcCalendar\neventId\nstart\nend\ntitle\nBehavior\n\nFor each mapping:\n\nRead source events in the active window.\nBuild desired hold events (private, busy, no reminders).\nDetect existing managed holds by SYNCV1: prefix.\nReconcile idempotently:\nCreate missing holds.\nUpdate drifted holds.\nDelete stale holds.\nIf overlap policy is skip, do not create a hold when a non-managed target event overlaps.\nEnforce maxChangesPerRun.\nRespect dryRun.\nBackfill\n\nBackfill mode upgrades legacy hold events (matching expected hold signature but lacking SYNCV1) by attaching encoded metadata when a unique source match exists.\n\nCommand Surface\nhold-sync validate-config\nhold-sync reconcile --mapping <name>|--all [--dry-run]\nhold-sync backfill --mapping <name>|--all [--dry-run]\nhold-sync status --mapping <name>|--all\nhold-sync install-cron --mapping <name>|--all\nhold-sync watch --mapping <name>|--all [--dry-run] [--interval-seconds <n>]\nWatch Cadence\n\nRequire watch cadence to be configurable from user config:\n\nscheduling.watchIntervalSeconds controls watch poll frequency.\nmappings[].lookaheadDays controls rolling watch/reconcile window.\n\nRecommend baseline values:\n\nwatchIntervalSeconds: 900 (15 minutes)\nlookaheadDays: 1 (24 hours)\nWorking Model\nUse polling-based watch mode (hold-sync watch) for fast updates.\nExpect update latency approximately equal to watchIntervalSeconds.\nTreat this as self-hosted/operator-run automation.\nKnown Limits\nDo not assume webhook/push subscriptions are present; current fast sync path is polling.\nKeep periodic scheduled reconcile as fallback even when watch mode is enabled.\nRequired Tests\nmetadata encode/decode round-trip\noverlap detection correctness\nidempotent reconcile upsert/delete behavior\n\nAttribution: gog setup flow adapted from:\n\nhttps://clawhub.ai/steipete/gog\nhttps://github.com/steipete/gogcli\nhttps://gogcli.sh/\nProvider Notes (openclaw)\n\nUse this variant when publishing to ClawHub/OpenClaw.\n\nKeep instructions implementation-focused and command-oriented.\nKeep dependency explicit: gog must be preconfigured by user.\nPrefer deterministic script execution over speculative edits.\nAvoid provider-specific APIs; treat the CLI as the boundary."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/tdewitt/calendar-hold-sync",
    "publisherUrl": "https://clawhub.ai/tdewitt/calendar-hold-sync",
    "owner": "tdewitt",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/calendar-hold-sync",
    "downloadUrl": "https://openagent3.xyz/downloads/calendar-hold-sync",
    "agentUrl": "https://openagent3.xyz/skills/calendar-hold-sync/agent",
    "manifestUrl": "https://openagent3.xyz/skills/calendar-hold-sync/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/calendar-hold-sync/agent.md"
  }
}