{
  "schemaVersion": "1.0",
  "item": {
    "slug": "google-sheet-api",
    "name": "Google Sheet API",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/codedao12/google-sheet-api",
    "canonicalUrl": "https://clawhub.ai/codedao12/google-sheet-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/google-sheet-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=google-sheet-api",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "package.json",
      "SKILL.md",
      "env_example.md",
      "assets/sheets-api-guide.md",
      "scripts/sheets-cli.js"
    ],
    "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-sheet-api"
    },
    "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-sheet-api",
    "agentPageUrl": "https://openagent3.xyz/skills/google-sheet-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/google-sheet-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/google-sheet-api/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": "Purpose",
        "body": "Provide a production-ready Google Sheets CLI for OpenClaw. This skill supports data reads/writes, batch operations, formatting, and sheet management with service account authentication."
      },
      {
        "title": "Best fit",
        "body": "You need a repeatable CLI for automation tasks.\nYou want JSON-in/JSON-out for pipelines.\nYou need more than basic read/write (formatting, sheet ops, batch updates)."
      },
      {
        "title": "Not a fit",
        "body": "You must use end-user OAuth consent flows (this skill is service-account focused).\nYou only need lightweight, one-off edits."
      },
      {
        "title": "One-time setup",
        "body": "Create or select a Google Cloud project.\nEnable the Google Sheets API.\nCreate a service account and download its JSON key.\nShare target spreadsheets with the service account email."
      },
      {
        "title": "Install",
        "body": "cd google-sheet-api\nnpm install"
      },
      {
        "title": "Run",
        "body": "node scripts/sheets-cli.js help\nnode scripts/sheets-cli.js read <spreadsheetId> \"Sheet1!A1:C10\"\nnode scripts/sheets-cli.js append <spreadsheetId> \"Sheet1!A:B\" '@data.json'\n\nYou can also use npm:\n\nnpm run sheets -- read <spreadsheetId> \"Sheet1!A1:C10\""
      },
      {
        "title": "Credentials",
        "body": "Supported sources (first match wins):\n\nGOOGLE_SHEETS_CREDENTIALS_JSON (inline JSON string)\nGOOGLE_SERVICE_ACCOUNT_KEY (file path)\nGOOGLE_SHEETS_KEY_FILE (file path)\nGOOGLE_APPLICATION_CREDENTIALS (file path)\n./service-account.json, ./credentials.json, ./google-service-account.json\n~/.config/google-sheets/credentials.json"
      },
      {
        "title": "Input conventions",
        "body": "JSON values can be inline or loaded from file using @path.\nWrite/append expect a 2D array of values.\n\nExample data.json:\n\n[[\"Name\",\"Score\"],[\"Alice\",95]]"
      },
      {
        "title": "Command map (high level)",
        "body": "Data:\n\nread, write, append, clear, batchGet, batchWrite\n\nFormatting:\n\nformat, getFormat, borders, merge, unmerge, copyFormat\n\nLayout:\n\nresize, autoResize, freeze\n\nSheets:\n\ncreate, info, addSheet, deleteSheet, renameSheet\n\nAdvanced:\n\nbatch (raw spreadsheets.batchUpdate requests)"
      },
      {
        "title": "Operational guidance",
        "body": "Prefer read-only scope for read workflows when possible.\nAdd retry with exponential backoff for 429 and transient 5xx errors.\nKeep request payloads small to avoid limit issues."
      },
      {
        "title": "Expected output",
        "body": "JSON to stdout; non-zero exit code on errors."
      },
      {
        "title": "Security notes",
        "body": "Never log or commit service account keys.\nShare spreadsheets only with the service account email required by this skill."
      }
    ],
    "body": "Google Sheets API Skill (Advanced)\nPurpose\n\nProvide a production-ready Google Sheets CLI for OpenClaw. This skill supports data reads/writes, batch operations, formatting, and sheet management with service account authentication.\n\nBest fit\nYou need a repeatable CLI for automation tasks.\nYou want JSON-in/JSON-out for pipelines.\nYou need more than basic read/write (formatting, sheet ops, batch updates).\nNot a fit\nYou must use end-user OAuth consent flows (this skill is service-account focused).\nYou only need lightweight, one-off edits.\nOne-time setup\nCreate or select a Google Cloud project.\nEnable the Google Sheets API.\nCreate a service account and download its JSON key.\nShare target spreadsheets with the service account email.\nInstall\ncd google-sheet-api\nnpm install\n\nRun\nnode scripts/sheets-cli.js help\nnode scripts/sheets-cli.js read <spreadsheetId> \"Sheet1!A1:C10\"\nnode scripts/sheets-cli.js append <spreadsheetId> \"Sheet1!A:B\" '@data.json'\n\n\nYou can also use npm:\n\nnpm run sheets -- read <spreadsheetId> \"Sheet1!A1:C10\"\n\nCredentials\n\nSupported sources (first match wins):\n\nGOOGLE_SHEETS_CREDENTIALS_JSON (inline JSON string)\nGOOGLE_SERVICE_ACCOUNT_KEY (file path)\nGOOGLE_SHEETS_KEY_FILE (file path)\nGOOGLE_APPLICATION_CREDENTIALS (file path)\n./service-account.json, ./credentials.json, ./google-service-account.json\n~/.config/google-sheets/credentials.json\nInput conventions\nJSON values can be inline or loaded from file using @path.\nWrite/append expect a 2D array of values.\n\nExample data.json:\n\n[[\"Name\",\"Score\"],[\"Alice\",95]]\n\nCommand map (high level)\n\nData:\n\nread, write, append, clear, batchGet, batchWrite\n\nFormatting:\n\nformat, getFormat, borders, merge, unmerge, copyFormat\n\nLayout:\n\nresize, autoResize, freeze\n\nSheets:\n\ncreate, info, addSheet, deleteSheet, renameSheet\n\nAdvanced:\n\nbatch (raw spreadsheets.batchUpdate requests)\nOperational guidance\nPrefer read-only scope for read workflows when possible.\nAdd retry with exponential backoff for 429 and transient 5xx errors.\nKeep request payloads small to avoid limit issues.\nExpected output\nJSON to stdout; non-zero exit code on errors.\nSecurity notes\nNever log or commit service account keys.\nShare spreadsheets only with the service account email required by this skill."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/codedao12/google-sheet-api",
    "publisherUrl": "https://clawhub.ai/codedao12/google-sheet-api",
    "owner": "codedao12",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/google-sheet-api",
    "downloadUrl": "https://openagent3.xyz/downloads/google-sheet-api",
    "agentUrl": "https://openagent3.xyz/skills/google-sheet-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/google-sheet-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/google-sheet-api/agent.md"
  }
}