google-sheet-apiOpenClaw skill that installs a Google Sheets CLI with setup steps and commands for read/write, batch, formatting, and sheet management.
Install via ClawdBot CLI:
clawdbot install codedao12/google-sheet-apiProvide a production-ready Google Sheets CLI for OpenClaw. This skill supports data reads/writes, batch operations, formatting, and sheet management with service account authentication.
cd google-sheet-api
npm install
node scripts/sheets-cli.js help
node scripts/sheets-cli.js read <spreadsheetId> "Sheet1!A1:C10"
node scripts/sheets-cli.js append <spreadsheetId> "Sheet1!A:B" '@data.json'
You can also use npm:
npm run sheets -- read <spreadsheetId> "Sheet1!A1:C10"
Supported sources (first match wins):
GOOGLE_SHEETS_CREDENTIALS_JSON (inline JSON string)GOOGLE_SERVICE_ACCOUNT_KEY (file path)GOOGLE_SHEETS_KEY_FILE (file path)GOOGLE_APPLICATION_CREDENTIALS (file path)./service-account.json, ./credentials.json, ./google-service-account.json~/.config/google-sheets/credentials.json@path.Example data.json:
[["Name","Score"],["Alice",95]]
Data:
read, write, append, clear, batchGet, batchWriteFormatting:
format, getFormat, borders, merge, unmerge, copyFormatLayout:
resize, autoResize, freezeSheets:
create, info, addSheet, deleteSheet, renameSheetAdvanced:
batch (raw spreadsheets.batchUpdate requests)429 and transient 5xx errors.Generated Mar 1, 2026
A finance team uses this skill to automatically pull daily sales data from a Google Sheet, generate JSON reports, and feed them into a dashboard pipeline. It handles batch reads and formatting updates to highlight key metrics, ensuring consistent reporting without manual intervention.
A retail business employs this skill to update inventory levels in a Google Sheet from warehouse scans, using append and write commands. It automates stock tracking, reduces errors, and integrates with supply chain tools via JSON outputs for real-time updates.
A marketing agency uses this skill to manage campaign data across multiple sheets, automating data entry from lead forms and formatting cells to visualize performance. It supports batch operations for handling large datasets efficiently in automated workflows.
An educational institution implements this skill to automate grade calculations and updates in a Google Sheet, using read and write commands to process student scores. It ensures data integrity with service account authentication and outputs JSON for integration with learning management systems.
A software development team uses this skill to sync task statuses from project tools into a Google Sheet, employing batch writes and formatting to highlight deadlines. It enables automated reporting and team coordination through CLI-driven updates.
A company offers this skill as part of a subscription-based service that integrates Google Sheets with other business apps, charging monthly fees for automation and support. Revenue comes from tiered plans based on usage volume and advanced features like batch operations.
A consultancy uses this skill to build custom automation solutions for clients, such as financial reporting or inventory systems, billing per project or hourly. Revenue is generated from implementation services, training, and ongoing maintenance contracts.
A developer offers this skill as an open-source CLI with basic read/write functions for free, then monetizes advanced features like formatting and batch updates through paid licenses or support. Revenue streams include one-time purchases or annual subscriptions for premium capabilities.
💬 Integration Tip
Use environment variables for credentials to avoid hardcoding keys, and implement retry logic for API errors to ensure reliability in automated pipelines.
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
Connect to 100+ APIs (Google Workspace, Microsoft 365, GitHub, Notion, Slack, Airtable, HubSpot, etc.) with managed OAuth. Use this skill when users want to...
Build, debug, and deploy websites using HTML, CSS, JavaScript, and modern frameworks following production best practices.
YouTube Data API integration with managed OAuth. Search videos, manage playlists, access channel data, and interact with comments. Use this skill when users want to interact with YouTube. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Scaffold, test, document, and debug REST and GraphQL APIs. Use when the user needs to create API endpoints, write integration tests, generate OpenAPI specs, test with curl, mock APIs, or troubleshoot HTTP issues.
Search for jobs across LinkedIn, Indeed, Glassdoor, ZipRecruiter, Google Jobs, Bayt, Naukri, and BDJobs using the JobSpy MCP server.