google-sheets

google-sheets is a skill for Claude Code, Codex from pbc-os/smb-starter-kit. It costs 34 tokens per session (1,768 once invoked), scanned A, original, MIT.

A Google Sheets assistant for business spreadsheets. Google Sheets is Google's online spreadsheet service for tables, calculations, and shared records.

In plain words
What is it for?
Use it to read cell ranges, append rows, create spreadsheets, retrieve spreadsheet details, track sales or inventory, record expenses, and import or export spreadsheet data.
Why use it?
It reduces manual work when reading and updating recurring business data. It helps keep sales, stock, expenses, and simple dashboards in structured sheets.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to read cell ranges, append rows, create spreadsheets, retrieve spreadsheet…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pbc-os/smb-starter-kit/google-sheets
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pbc-os/smb-starter-kit --skill google-sheets
Clone the repo
git clone --depth 1 https://github.com/pbc-os/smb-starter-kit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for google-sheets

README.md
[![agentmods](https://agentmods.dev/badge/skills/pbc-os/smb-starter-kit/google-sheets.svg)](https://agentmods.dev/skills/pbc-os/smb-starter-kit/google-sheets)
Your own site
<a href="https://agentmods.dev/skills/pbc-os/smb-starter-kit/google-sheets"><img src="https://agentmods.dev/badge/skills/pbc-os/smb-starter-kit/google-sheets.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,768 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01768
Opus 5 $0.00017 $0.00884
Sonnet 5 $0.00007 $0.00354
Haiku 4.5 $0.00003 $0.00177

Measured 6d ago against content hash 4a268c3dfb53, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

google-sheets scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/tier-3-business-ops/google-sheets/SKILL.md · 234 lines

How it starts

The opening of the file, as written. The whole thing — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Sheets

Spreadsheet operations built for how small businesses actually track data.

Uses the gws CLI for all Sheets operations. See the google-workspace skill for setup.

Triggers

  • "read the spreadsheet"
  • "update the sheet"
  • "add a row to..."
  • "create a spreadsheet"
  • "pull data from sheets"
  • "log this to a spreadsheet"
  • Any request involving spreadsheet read/write operations

Prerequisites

  • gws CLI installed and authenticated with Sheets + Drive scope
  • Run gws auth login -s sheets,drive if not already done

Core Commands

gws sheets +read                   # Read values from a spreadsheet
gws sheets +append                 # Append a row to a spreadsheet
gws sheets spreadsheets create     # Create a new spreadsheet
gws sheets spreadsheets get        # Get spreadsheet metadata

Common Operations

Read data from a sheet

# Read a range
gws sheets +read
# When prompted: spreadsheet ID + range (e.g., "Sheet1!A1:D10")

# Read via API directly
gws sheets spreadsheets values get --params '{
  "spreadsheetId": "SPREADSHEET_ID",
  "range": "Sheet1!A1:D100"
}'

# Read entire sheet
gws sheets spreadsheets values get --params '{
  "spreadsheetId": "SPREADSHEET_ID",
  "range": "Sheet1"
}'

Append a row

# Append a single row
gws sheets +append
# When prompted: spreadsheet ID, range, values

# Append via API directly
gws sheets spreadsheets values append --params '{
  "spreadsheetId": "SPREADSHEET_ID",
  "range": "Sheet1!A:D",
  "valueInputOption": "USER_ENTERED"
}' --json '{
  "values": [["2026-01-15", "Widget A", "50", "$12.50"]]
}'

Write / Update cells

# Update a specific range
gws sheets spreadsheets values update --params '{
  "spreadsheetId": "SPREADSHEET_ID",
  "range": "Sheet1!B2",
  "valueInputOption": "USER_ENTERED"
}' --json '{
  "values": [["updated value"]]
}'

# Batch update multiple ranges
gws sheets spreadsheets values batchUpdate --params '{
  "spreadsheetId": "SPREADSHEET_ID"
}' --json '{
  "valueInputOption": "USER_ENTERED",
  "data": [
    {"range": "Sheet1!A1", "values": [["Revenue"]]},
    {"range": "Sheet1!B1", "values": [["Date"]]},
    {"range": "Sheet1!A2", "values": [["$1,250"]]}
  ]
}'

Read the full file on GitHub · 234 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 234 lines · 34 tokens per session scan A 4a268c3dfb53

Subscribe to this mod's changes

google-sheets is a skill published in the GitHub repository pbc-os/smb-starter-kit (10 stars, last pushed 3mo ago), licensed MIT. It adds 34 tokens to every session and 1,768 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.