mcpbeat Sign in

Google Sheets Skill for Codex

Analyze and edit connected Google Sheets with range precision. Use when the user wants to create Google Sheets, find a spreadsheet, inspect tabs or ranges, search rows, plan formulas, create or repair charts, clean or restructure tables, write concise summaries, or make explicit cell-range updates.

29k tokens
context cost
the whole folder, loaded on every use
11
files
instructions only
0
copies elsewhere
how many repositories repackaged it
4915
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/openai/plugins --skill google-sheets

What comes with it

111 364 bytes besides the instruction
agents/openai.yaml
assets/google-sheets-small.svg
assets/google-sheets.png
references/reference-batch-update-recipes.md
references/reference-chart-recipes.md
references/reference-edit-workflow.md
references/reference-formula-patterns.md
references/reference-import-spreadsheet-to-native-sheets.md
references/reference-live-read-search-safety.md
references/style-profiles.md

The instruction itself

8 sections, as written by the author

Google Sheets

Use this skill to keep spreadsheet work grounded in the exact spreadsheet, sheet, range, headers, and formulas that matter.

Purpose Of This File

This file is intentionally minimal and only covers:

  • routing to the right spreadsheet workflow
  • stateful operation and mandatory routing to reference files
  • live-read/search safety for direct connector calls

Detailed editing, formula, chart, upload, live-read/search, and batch-update rules live in references/.

Latency is not a constraint for this skill, so always read the relevant reference files before performing the task.

If the user has not provided explicit style direction, read references/style-profiles.md and apply the appropriate Google Sheets destination default before authoring workbook formatting.

Default Routing

  • New Google Sheets creation: first check whether the @spreadsheets plugin or the $Excel skill is installed.
  • If either is installed, YOU MUST use @spreadsheets or $Excel to create a local .xlsx. Then import the .xlsx into Drive as a native Google Sheets spreadsheet. Read references/reference-import-spreadsheet-to-native-sheets.md.
  • If neither skill is installed, create the spreadsheet directly with Google Sheets MCP.
  • Existing Google Sheets edits: use Google Sheets MCP directly.

Do not reference the local .xlsx in the final answer. Your final answer includes the Google Spreadsheet link only.

Canonical Workflow Bias

Prefer one simple proven workflow over a large tree of recovery branches.

When a task matches a known successful pattern, follow that pattern directly instead of re-evaluating every possible fallback path.

Do not let accumulated edge-case guardrails turn a straightforward Sheets task into a long blocker-analysis exercise.

For sheet creation and editing tasks, prefer this sequence when viable:

  • Gather the required source material.
  • Pick the correct default routing.
  • Establish the sheet checklist or sheet plan.
  • Build or edit the sheet.
  • Verify the sheet is clean, complete, native, and scannable.
  • Stop once the verified workflow has succeeded.

If a simple verified workflow is viable, use it. Do not drift into speculative alternate paths.

Required Read Order (No Skips)

If Default Routing uses @spreadsheets or $Excel:

  • Read the @spreadsheets plugin skill or $Excel skill
  • Read references/reference-import-spreadsheet-to-native-sheets.md

If Default Routing uses connector edit workflow:

  • Read references/reference-edit-workflow.md.
  • Before any direct live range read, cell read, or search_spreadsheet_rows, read references/reference-live-read-search-safety.md.
  • Read every task-specific file from the matrix below.
  • If the task spans multiple categories, read all matching files.
  • If uncertain, read every file in references/.

Do not execute content edits until the required references are read in the current turn.

Final Answer Requirement

If the @spreadsheets plugin or the $Excel skill is installed, you MUST use one of them to create a local .xlsx and import it to Google Drive with upload_mode: "native_google_sheets".

Even though you created a local .xlsx, do not cite the local path in the final answer. The final answer cites only the Google Spreadsheet link.

Connector Load Checklist

  • Confirm the exact target Google Sheet URL or spreadsheet id before editing an existing spreadsheet.
  • If the user only gives a title or title keywords, use the connector/app search path to identify candidate spreadsheets before asking for a URL.
  • Resolve and record the spreadsheet id, target sheet names, and sheetId values.
  • Read spreadsheet metadata before deeper reads or writes.
  • For direct live range reads, cell reads, or search_spreadsheet_rows, use exact visible tab names from metadata, bounded ranges, and the recovery rules in references/reference-live-read-search-safety.md. Do not guess Sheet1, scan whole grids, or retry oversized row searches.
  • Before each edit pass, identify the exact sheet, range, headers, formulas, and validation constraints being edited through connector reads.
  • Re-read target cells before writing when live values, formulas, formatting, or validation could affect the write.

Task To Reference Map

| Task area | Required reference file |

| --- | --- |

| Existing spreadsheet edit workflow, grounding, validation-backed cells, output conventions, and write planning | references/reference-edit-workflow.md |

| Direct live range reads, cell reads, row searches, tab/range recovery, and oversized search avoidance | references/reference-live-read-search-safety.md |

| Raw Sheets write shapes and example batch_update bodies | references/reference-batch-update-recipes.md |

| Importing a locally created .xlsx, .xls, .ods, .csv, or .tsv into Google Sheets | references/reference-import-spreadsheet-to-native-sheets.md |

| Formula design, repair, rollout, or syntax refresh | references/reference-formula-patterns.md |

| Chart creation, repair, chart-spec recall, or repositioning | references/reference-chart-recipes.md |

| Unspecified styling for native Google Sheets destinations | references/style-profiles.md |

Other skills for the same job

different authors, same section of the catalogue
XLSX
by anthropics
vendor ×15

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas

5k tokens scripts
XLSX
by w95
×7

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

3k tokens
Raffle Winner Picker
by frostant
×5

Picks random winners from lists, spreadsheets, or Google Sheets for giveaways, raffles, and contests. Ensures fair, unbiased selection with transparency.

949 tokens
Fda Database
by christophacham
×4

Query openFDA API for drugs, devices, adverse events, recalls, regulatory submissions (510k, PMA), substance identification (UNII), for FDA regulatory data analysis and safety research.

32k tokens scripts
Matlab
by christophacham
×4

MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing. Use when writing MATLAB/Octave scripts for linear algebra, signal processing, image processing, differential equations, optimization, statistics, or creating scientific visualizations. Also use when the user needs help with MATLAB syntax, functions, or wants to convert between MATLAB and Python code. Scripts can be executed with MATLAB or the open-source GNU Octave interpreter.

25k tokens
Umap Learn
by ComeOnOliver
×4

UMAP dimensionality reduction. Fast nonlinear manifold learning for 2D/3D visualization, clustering preprocessing (HDBSCAN), supervised/parametric UMAP, for high-dimensional data.

14k tokens
D3 Viz
by chrisvoncsefalvay
×3

Creating interactive data visualisations using d3.js. This skill should be used when creating custom charts, graphs, network diagrams, geographic visualisations, or any complex SVG-based data visualisation that requires fine-grained control over visual elements, transitions, or interactions. Use this for bespoke visualisations beyond standard charting libraries, whether in React, Vue, Svelte, vanilla JavaScript, or any other environment.

20k tokens
Alphafold Database
by christophacham
×3

Access AlphaFold 200M+ AI-predicted protein structures. Retrieve structures by UniProt ID, download PDB/mmCIF files, analyze confidence metrics (pLDDT, PAE), for drug discovery and structural biology.

7k tokens

How to use it

Copy the folder

Take openai/google-sheets from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.