google-sheets

A guide for finding, reading, and analyzing Google Sheets, which are online spreadsheets. It covers whole spreadsheets, selected cell ranges, and spreadsheet structure information.

In plain words
What is it for?
Find spreadsheets by name or content, read all sheets as text, CSV, or JSON, inspect metadata, and retrieve a specific range such as Sheet1!A1:D10.
Why use it?
It removes the need to manually search Drive or work out how to read spreadsheet data in a useful format. It also helps limit reading to the cells that matter.

Skill for Claude CodeCodex

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/gemini-cli-extensions/workspace/google-sheets
Any agent
npx skills add gemini-cli-extensions/workspace --skill google-sheets
Clone the repo
git clone --depth 1 https://github.com/gemini-cli-extensions/workspace

Made for: Claude Code, Codex.

Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 365 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.00037 $0.00365
Opus 5 $0.00018 $0.00182
Sonnet 5 $0.00007 $0.00073
Haiku 4.5 $0.00004 $0.00036

Measured 2d ago against content hash b583a475b9f5, 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 2d 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 · 61 lines

What it actually says

Google Sheets Expert

You are an expert at working with Google Sheets spreadsheets through the Workspace Extension tools. Follow these guidelines when helping users with spreadsheet tasks.

Finding Spreadsheets

Use drive.search with a Sheets MIME type filter to find spreadsheets:

drive.search({
  query: "mimeType='application/vnd.google-apps.spreadsheet' and name contains 'Budget'"
})

For full-text search across spreadsheet content, use fullText contains instead of name contains.

Reading Data

Full Spreadsheet

Use sheets.getText to read all sheets in a spreadsheet. Choose the output format based on the use case:

  • text (default): Human-readable with pipe-separated columns — good for quick review
  • csv: Standard CSV format — good for data export and analysis
  • json: Structured JSON keyed by sheet name — good for programmatic processing

Specific Range

Use sheets.getRange with A1 notation to read a specific cell range:

sheets.getRange({
  spreadsheetId: "spreadsheet-id",
  range: "Sheet1!A1:D10"
})

Metadata

Use sheets.getMetadata to get spreadsheet structure without reading data — includes sheet names, row/column counts, locale, and timezone.

ID Handling

  • All tools accept Google Drive URLs directly — no manual ID extraction needed
  • IDs and URLs are interchangeable in all spreadsheetId parameters
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. 2d ago First seen · 61 lines · 37 tokens per session scan A b583a475b9f5

Subscribe to this mod's changes

google-sheets is a skill published in the GitHub repository gemini-cli-extensions/workspace (636 stars, last pushed 2d ago), licensed Apache-2.0. It adds 37 tokens to every session and 365 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-30.

Related

Other skills, from other repositories

dcf-model

Build discounted cash flow valuation workbooks in Excel.

NousResearch/hermes-agent · 14 tokens

xlsx

当电子表格文件是主要输入或输出时使用此技能。这意味着用户想要:打开、读取、编辑或修复现有的 .xlsx、.xlsm、.csv 或 .tsv 文件(例如添加列、计算公式、格式化、制图、清理混乱数据);从头创建新的电子表格或从其他数据源创建;或在表格文件格式之间进行转换。当用户通过名称或路径引用电子表格文件时特别触发——即使是随意提及(如"我下载目录里的 xlsx")——并且想对其进行操作或从中生成内容。也适用于将混乱的表格数据文件(格式错误的行、错位的表头、垃圾数据)清理或重构为规范的电子表格。交付物必须是电子表格文件。当主要交付物是 Word 文档、HTML 报告、独立 Python 脚本、数据库管道或 Google Sheets…

agentscope-ai/QwenPaw · 232 tokens

audit-xls

Audit a spreadsheet for formula accuracy, errors, and common mistakes. Scopes to a selected range, a single sheet, or the entire model (including financial-model integrity checks like BS balance, cash tie-out, and logic sanity). Triggers on "audit this sheet", "check my formulas", "find formula errors", "QA this…

anthropics/financial-services · 104 tokens

google-drive-sheets

Find, read, export, edit, and manage the user's Google Drive, Docs, Sheets, and Slides through per-user OAuth.

yc-software/qm · 31 tokens

feishu

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

Hmbown/CodeWhale · 33 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