google-sheets-skill_skill

This skill helps you read, write, and manage Google Sheets by automating data retrieval, updates, and sheet creation.
  • Python

4

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill idanbeck/claude-skills --skill google-sheets-skill

  • sheets_skill.py11.0 KB
  • SKILL.md2.3 KB

Overview

This skill reads, writes, and manages Google Sheets via the Google Sheets API. It supports reading ranges or whole sheets, updating or appending rows, creating and deleting sheets, and exporting results as JSON. Setup uses Google OAuth credentials for secure access.

How this skill works

The skill authenticates with Google OAuth and calls the Google Sheets API to list spreadsheets, fetch sheet metadata, read cell ranges, overwrite or append values, and perform sheet-level operations (create, add, delete). Commands accept spreadsheet IDs and A1-style ranges and return JSON-formatted responses for easy integration. Credential setup is required once; subsequent requests reuse the authenticated session.

When to use it

  • Import or export tabular data between apps and Google Sheets
  • Automate writing reports, logs, or form results into a sheet
  • Read specific ranges or entire sheets for analysis or downstream processing
  • Create templates, add or remove tabs programmatically
  • Append rows when collecting incremental records or events

Best practices

  • Store and protect OAuth credentials; grant least-privilege scopes needed
  • Use explicit spreadsheet IDs (from the URL) to avoid operating on the wrong file
  • Prefer range-specific reads/writes to limit bandwidth and avoid accidental overwrites
  • Validate and normalize data before writing to prevent schema drift in sheets
  • Use append for adding records and write (overwrite) only when replacing known ranges

Example use cases

  • Read a range like "Sheet1!A1:C10" to pull recent rows into a script
  • Append new transaction records into a monthly sheet without touching existing data
  • Create a new spreadsheet as a report template and populate headers and formulas
  • Add or delete tabs to reorganize data programmatically during ETL
  • Clear or overwrite a specific range to reset a dashboard section

FAQ

Open the spreadsheet in a browser and copy the ID from the URL between /d/ and /edit.

What range formats are supported?

A1 notation is supported: specific ranges (Sheet1!A1:C10), full columns (Sheet1!A:C), rows (Sheet1!1:10), or a whole sheet name (Sheet1).

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational