{
  "schemaVersion": "1.0",
  "item": {
    "slug": "google-calendar",
    "name": "Google Calendar",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/AdrianMiller99/google-calendar",
    "canonicalUrl": "https://clawhub.ai/AdrianMiller99/google-calendar",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/google-calendar",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=google-calendar",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/google_calendar.py",
      "scripts/refresh_token.py",
      "scripts/venv/pyvenv.cfg"
    ],
    "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/google-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/google-calendar",
    "agentPageUrl": "https://openagent3.xyz/skills/google-calendar/agent",
    "manifestUrl": "https://openagent3.xyz/skills/google-calendar/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/google-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. 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": "Overview",
        "body": "This skill provides a thin wrapper around the Google Calendar REST API. It lets you:\n\nlist upcoming events (optionally filtered by time range or query)\nadd a new event with title, start/end time, description, location, and attendees\nupdate an existing event by its ID\ndelete an event by its ID\n\nThe skill is implemented in Python (scripts/google_calendar.py). It expects the following environment variables to be set (you can store them securely with openclaw secret set):\n\nGOOGLE_CLIENT_ID=…\nGOOGLE_CLIENT_SECRET=…\nGOOGLE_REFRESH_TOKEN=…   # obtained after OAuth consent\nGOOGLE_CALENDAR_ID=primary   # or the ID of a specific calendar\n\nThe first time you run the skill you may need to perform an OAuth flow to obtain a refresh token – see the Setup section below."
      },
      {
        "title": "Commands",
        "body": "google-calendar list [--from <ISO> --to <ISO> --max <N>]\ngoogle-calendar add   --title <title> [--start <ISO> --end <ISO>]\n                     [--desc <description> --location <loc> --attendees <email1,email2>]\ngoogle-calendar update --event-id <id> [--title <title> ... other fields]\ngoogle-calendar delete --event-id <id>\n\nAll commands return a JSON payload printed to stdout. Errors are printed to stderr and cause a non‑zero exit code."
      },
      {
        "title": "Setup",
        "body": "Create a Google Cloud project and enable the Google Calendar API.\nCreate OAuth credentials (type Desktop app). Note the client_id and client_secret.\nRun the helper script to obtain a refresh token:\nGOOGLE_CLIENT_ID=… GOOGLE_CLIENT_SECRET=… python3 -m google_calendar.auth\n\nIt will open a browser (or print a URL you can open elsewhere) and ask you to grant access. After you approve, copy the refresh_token it prints.\nStore the credentials securely:\nopenclaw secret set GOOGLE_CLIENT_ID <value>\nopenclaw secret set GOOGLE_CLIENT_SECRET <value>\nopenclaw secret set GOOGLE_REFRESH_TOKEN <value>\nopenclaw secret set GOOGLE_CALENDAR_ID primary   # optional\n\n\nInstall the required Python packages (once):\npip install --user google-auth google-auth-oauthlib google-api-python-client"
      },
      {
        "title": "How it works (brief)",
        "body": "The script loads the credentials from the environment, refreshes the access token using the refresh token, builds a service = build('calendar', 'v3', credentials=creds), and then calls the appropriate API method."
      },
      {
        "title": "References",
        "body": "Google Calendar API reference: https://developers.google.com/calendar/api/v3/reference\nOAuth 2.0 for installed apps: https://developers.google.com/identity/protocols/oauth2/native-app\n\nNote: This skill does not require a GUI; it works entirely via HTTP calls, so it is suitable for headless servers."
      }
    ],
    "body": "Google Calendar Skill\nOverview\n\nThis skill provides a thin wrapper around the Google Calendar REST API. It lets you:\n\nlist upcoming events (optionally filtered by time range or query)\nadd a new event with title, start/end time, description, location, and attendees\nupdate an existing event by its ID\ndelete an event by its ID\n\nThe skill is implemented in Python (scripts/google_calendar.py). It expects the following environment variables to be set (you can store them securely with openclaw secret set):\n\nGOOGLE_CLIENT_ID=…\nGOOGLE_CLIENT_SECRET=…\nGOOGLE_REFRESH_TOKEN=…   # obtained after OAuth consent\nGOOGLE_CALENDAR_ID=primary   # or the ID of a specific calendar\n\n\nThe first time you run the skill you may need to perform an OAuth flow to obtain a refresh token – see the Setup section below.\n\nCommands\ngoogle-calendar list [--from <ISO> --to <ISO> --max <N>]\ngoogle-calendar add   --title <title> [--start <ISO> --end <ISO>]\n                     [--desc <description> --location <loc> --attendees <email1,email2>]\ngoogle-calendar update --event-id <id> [--title <title> ... other fields]\ngoogle-calendar delete --event-id <id>\n\n\nAll commands return a JSON payload printed to stdout. Errors are printed to stderr and cause a non‑zero exit code.\n\nSetup\nCreate a Google Cloud project and enable the Google Calendar API.\nCreate OAuth credentials (type Desktop app). Note the client_id and client_secret.\nRun the helper script to obtain a refresh token:\nGOOGLE_CLIENT_ID=… GOOGLE_CLIENT_SECRET=… python3 -m google_calendar.auth\n\nIt will open a browser (or print a URL you can open elsewhere) and ask you to grant access. After you approve, copy the refresh_token it prints.\nStore the credentials securely:\nopenclaw secret set GOOGLE_CLIENT_ID <value>\nopenclaw secret set GOOGLE_CLIENT_SECRET <value>\nopenclaw secret set GOOGLE_REFRESH_TOKEN <value>\nopenclaw secret set GOOGLE_CALENDAR_ID primary   # optional\n\nInstall the required Python packages (once):\npip install --user google-auth google-auth-oauthlib google-api-python-client\n\nHow it works (brief)\n\nThe script loads the credentials from the environment, refreshes the access token using the refresh token, builds a service = build('calendar', 'v3', credentials=creds), and then calls the appropriate API method.\n\nReferences\nGoogle Calendar API reference: https://developers.google.com/calendar/api/v3/reference\nOAuth 2.0 for installed apps: https://developers.google.com/identity/protocols/oauth2/native-app\n\nNote: This skill does not require a GUI; it works entirely via HTTP calls, so it is suitable for headless servers."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/AdrianMiller99/google-calendar",
    "publisherUrl": "https://clawhub.ai/AdrianMiller99/google-calendar",
    "owner": "AdrianMiller99",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/google-calendar",
    "downloadUrl": "https://openagent3.xyz/downloads/google-calendar",
    "agentUrl": "https://openagent3.xyz/skills/google-calendar/agent",
    "manifestUrl": "https://openagent3.xyz/skills/google-calendar/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/google-calendar/agent.md"
  }
}