google-sheets

google-sheets is a skill for Claude Code, Codex from sashakang/google-drive-plugin. It costs 88 tokens per session (1,486 once invoked), scanned A, original, MIT.

A toolset for creating, reading, changing, and formatting native Google Sheets spreadsheets. Google Sheets is Google's online spreadsheet application.

In plain words
What is it for?
Use it to create sheets, read or write ranges, format cells, manage tabs, freeze rows or columns, and create bar, line, pie, or scatter charts.
Why use it?
It handles spreadsheet operations directly, including cell values, formulas, tabs, frozen rows or columns, and charts, without treating the file as a generic CSV or Excel workbook.

Skill for Claude CodeCodex

Part of the google-drive-cowork-mcp plugin — 3 skills, 4 commands, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/sashakang/google-drive-plugin/google-sheets
Any agent
npx skills add sashakang/google-drive-plugin --skill google-sheets
Clone the repo
git clone --depth 1 https://github.com/sashakang/google-drive-plugin

Made for: Claude Code, Codex.

Or install google-drive-cowork-mcp, the plugin that ships this one along with the rest of its 3 skills, 4 commands, 1 MCP server.

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/sashakang/google-drive-plugin/google-sheets.svg)](https://agentmods.dev/skills/sashakang/google-drive-plugin/google-sheets)
Your own site
<a href="https://agentmods.dev/skills/sashakang/google-drive-plugin/google-sheets"><img src="https://agentmods.dev/badge/skills/sashakang/google-drive-plugin/google-sheets.svg" alt="Measured on agentmods" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,486 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00088 $0.01486
Opus 5 $0.00044 $0.00743
Sonnet 5 $0.00018 $0.00297
Haiku 4.5 $0.00009 $0.00149

Measured 3d ago against content hash 58dd9784a0f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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/google-sheets/SKILL.md · 128 lines

How it starts

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

Google Sheets Operations

When to use

  • Create/read/write/format native Google Sheets
  • Build reports, dashboards, or trackers in Sheets
  • Create charts from spreadsheet data
  • Manage tabs (add, rename, delete, freeze)

When NOT to use

  • .xlsx files → use the built-in Cowork xlsx skill (not part of this plugin)
  • Google Docs → use the google-docs skill (included in this plugin)
  • .csv files that don't need Sheets features → handle locally

Available tools

Tool Purpose
sheets_create Create new spreadsheet, optional tab names
sheets_get Read metadata (tabs, frozen rows/cols, named ranges), optionally include values
sheets_read Read cell values from an A1 range (formatted values or formulas)
sheets_write Atomic batch write to one or more ranges
sheets_format Apply formatting via raw batchUpdate requests
sheets_manage_tabs Add, rename, delete tabs, or freeze rows/columns
sheets_create_chart Create embedded BAR, LINE, PIE, or SCATTER chart

No read-before-write requirement

Unlike Google Docs, Sheets tools do not require a prior read call before writing. A1 notation is already precise, so there is no risk of index drift. However, calling sheets_get first to discover tab names and structure is still strongly recommended.

A1 notation reference

All range parameters use standard A1 notation:

Format Example Meaning
Cell A1 Single cell
Range A1:C10 Rectangle
Full columns A:C All rows in columns A-C
Full rows 1:5 All columns in rows 1-5
With sheet Sheet1!A1:C10 Specific tab
Quoted sheet 'My Sheet'!A1:B5 Tab name with spaces

Key patterns

Create a tracker spreadsheet

  1. sheets_create(title, sheet_names=["Data", "Summary"])
  2. sheets_write(id, [{range: "Data!A1:D1", values: [["Name", "Date", "Amount", "Status"]]}])
  3. sheets_write(id, [{range: "Data!A2:D4", values: [[...], ...]}]) — fill data rows
  4. sheets_format(id, [...]) — bold headers, add borders
  5. sheets_manage_tabs(id, "freeze", sheet_name="Data", rows=1) — freeze header row

Read the full file on GitHub · 128 lines

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. 3d ago First seen · 128 lines · 88 tokens per session scan A 58dd9784a0f3

Subscribe to this mod's changes

google-sheets is a skill published in the GitHub repository sashakang/google-drive-plugin (1 stars, last pushed 4mo ago), licensed MIT. It adds 88 tokens to every session and 1,486 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

security-ownership-map

Analyze git repositories to build a security ownership topology (people-to-file), compute bus factor and sensitive-code ownership, and export CSV/JSON for graph databases and visualization. Trigger only when the user explicitly wants a security-oriented ownership or bus-factor analysis grounded in git history (for…

HKUDS/DeepCode · 99 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

ondb

A logical analysis and reasoning tool for AI. Use when decomposing documents into structured knowledge, querying entities and relations, validating consistency, or indexing files. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", "analyze this document", entity CRUD, or cross-skill…

x-cmd/x-cmd · 71 tokens

sn-da-large-file-analysis

万行以上 Excel 数据集的高性能分析引擎。提供 openpyxl readonly 流式读取(iterrows 支持 10 万行以上)、Parquet 转换加速、内存优化、分块处理和大文件写入模式。遇到以下任一情况就主动使用本 skill:①数据行数 ≥ 10k(由 sn-da-excel-workflow 的行数评估步骤触发);②用户出现触发词:大文件 / 大数据量 / 性能优化 / 内存不足 / OOM / 百万行 / 十万行 / 流式读取 / Parquet / 分块处理 / large file / big data / streaming read / chunked processing;③直接使用…

OpenSenseNova/SenseNova-Skills · 218 tokens