Google Sheets for Openclaw

A robust tool for automating Google Sheets operations including data management, formatting, and layout control via the Google Sheets API.

longmaba
v1.0.0
Feb 1, 2026
1
3.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install google-sheet

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install google-sheet using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Google Sheets?

The Google Sheets skill for Openclaw Skills provides a powerful interface for AI agents to interact directly with spreadsheets using the Google Sheets API. By leveraging a Node.js SDK and service account authentication, this tool enables programmatic reading, writing, and management of spreadsheet data without manual intervention.

This integration is particularly valuable for developers looking to incorporate structured data storage or retrieval into their AI workflows. Whether you are building an automated reporting system or a data-driven AI agent, this extension for Openclaw Skills offers the technical depth required to handle complex spreadsheet tasks like cell formatting, sheet management, and bulk data operations.

Google Sheets Use Cases

  • Programmatically reading data ranges for AI-driven analysis.
  • Appending logs, research findings, or generated content to existing spreadsheets.
  • Automating spreadsheet layout tasks like freezing rows or auto-fitting columns.
  • Managing multiple sheet tabs and metadata within a single spreadsheet file.
  • Applying professional formatting and borders to generated data reports.

How Google Sheets Works

  1. The skill authenticates with the Google Sheets API using a pre-configured Google Cloud service account key.
  2. Users or agents issue commands via a CLI interface to target specific Spreadsheet IDs.
  3. The skill processes the request, translating it into the appropriate Google API call (e.g., spreadsheets.values.get or spreadsheets.batchUpdate).
  4. Data is exchanged in JSON format, allowing for structured input and output of cell values and formatting properties.

Google Sheets Setup

  1. Google Cloud Console Setup: Enable the Google Sheets API and create a Service Account to download a JSON key.
  2. Credential Configuration: Provide the key via the GOOGLE_SERVICE_ACCOUNT_KEY environment variable or place service-account.json in the skill directory.
  3. Permission Management: Share your target Google Sheets with the client_email found in your service account JSON.
  4. Dependency Installation:
cd skills/google-sheets && npm install

Google Sheets Data Schema & Taxonomy

The skill utilizes standard Google Sheets identifiers and A1 notation for data organization:

Attribute Description
Spreadsheet ID The unique string found in the sheet URL: /d/SPREADSHEET_ID/edit
Range A1 notation (e.g., Sheet1!A1:C10) used to target specific cells
JSON Data Input values provided as nested arrays (e.g., [["Row1Col1", "Row1Col2"]])
Format Objects JSON schemas defining colors, text styles, and alignment properties

Google Sheets Advanced Features

  • Multi-tab management including adding, renaming, and deleting sheets within a workbook.
  • Granular formatting controls for background colors, text styles, and alignment.
  • Advanced layout commands for merging cells, freezing panes, and manual or auto-resizing of columns and rows.
  • Efficient format duplication using the copyFormat command to sync styles across ranges.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*