Skip to content
cccskills
FreePublished on GitHub

google-sheets

Analyze and update connected Google Sheets using precise tabs and cell ranges. Find spreadsheets, search rows, clean tables, repair formulas and charts, or create a new spreadsheet from data or an existing template.

OriginalShow the original description

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.

See how to install

Good for

  • Clean and restructure an existing table
  • Repair formulas and charts
  • Create a spreadsheet from a template
  • Search rows and summarize selected data

Files included (13)

  • SKILL.md8.9 KB
  • agents/openai.yaml366 B
  • assets/google-sheets-small.svg1.6 KB
  • assets/google-sheets.png72.6 KB
  • references/reference-batch-update-recipes.md17.0 KB
  • references/reference-chart-recipes.md12.7 KB
  • references/reference-edit-workflow.md2.6 KB
  • references/reference-formula-patterns.md4.8 KB
  • references/reference-import-spreadsheet-to-native-sheets.md4.4 KB
  • references/reference-live-read-search-safety.md2.3 KB
  • references/reference-native-cell-structure.md4.6 KB
  • references/reference-visual-quality.md1.8 KB
  • references/style-profiles.md1.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Google Sheets

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

Spreadsheets clarification questions

  • Ask for new spreadsheets or major rewrites. Skip this for edits/conversions.
  • Inspect prompt, conversation history, existing file and relevant references to figure out what questions to ask.
  • Questions should cover topic, audience, and purpose and come before planning
  • When asking questions, focus on consequential dimensions not stated or clearly implied.
  • When the artifact is a new analysis, focus on which definition, metric, or lens should drive conclusions.
  • Unresolved reference labels or question marks are user-owned: ask, don't infer.
  • Once topic, audience, and purpose are clear, proceed without asking. Choose emphasis, format, length, style, details. Use placeholders for missing facts.

Use request_user_input once if available, else ask via a message. Have the best suggestion first. Append (Recommended) to its label. Have another good alternative second. Have Use your judgment as the third and final option. If the request times out or returns no answer, proceed using your best judgment; do not ask again.

Purpose Of This File

This file is intentionally minimal and only covers:

  1. routing to the right spreadsheet workflow
  2. stateful operation and mandatory routing to reference files
  3. 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

  1. New Google Sheet from a native Google Sheets reference or template URL: copy the entire source workbook with the Drive file-copy action, then trim or repair the copy. Treat a deep-linked gid as the initial view, not copy scope. Duplicate one source sheet only when the user explicitly requests a single-sheet extraction. Do not rebuild through .xlsx when chips, validation, formulas, rich links, or formatting matter.
  2. Other new Google Sheets creation: Inspect the available skills and plugins for the registered Spreadsheets capability. It may be exposed as the $Spreadsheets skill, the @Spreadsheets plugin, or the plugin URI plugin://spreadsheets@openai-primary-runtime. If found, load and follow its instructions.
    • If a system spreadsheet plugin or skill is installed, YOU MUST use it to create a local .xlsx. Then import the .xlsx into Drive as a native Google Sheets spreadsheet. For table-like option/list/dropdown columns, seed a valid row and add native table DROPDOWN columns post-import.
    • If neither skill is installed, create the spreadsheet directly with Google Sheets MCP.
  3. 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.

File Safety

Treat a provided Google Sheet as read-only unless the user explicitly asks to edit that file. When a task uses the Sheet as a reference, template, similar structure, or data source, copy it or create a separate Sheet, then verify the output spreadsheet ID differs before writing.

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:

  1. Gather the required source material.
  2. Pick the correct default routing.
  3. Establish the sheet checklist or sheet plan.
  4. Build or edit the sheet.
  5. Verify the sheet is clean, complete, native, and scannable per references/reference-visual-quality.md.
  6. 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)

For every route that creates, imports, or edits a Google Sheet, read references/reference-visual-quality.md before final verification.

If Default Routing uses native Google Sheets reference-follow creation:

  1. Read references/reference-edit-workflow.md
  2. Read references/reference-live-read-search-safety.md
  3. Read references/reference-native-cell-structure.md
  4. Read references/reference-batch-update-recipes.md

If Default Routing uses the system spreadsheet plugin or skill like [@spreadsheets](plugin://spreadsheets@openai-primary-runtime) or $Spreadsheets:

  1. Read the plugin/skill, e.g. [@spreadsheets](plugin://spreadsheets@openai-primary-runtime)
  2. Read references/reference-import-spreadsheet-to-native-sheets.md
  3. If the new Sheet has explicit or reference-derived option/list/dropdown columns, read references/reference-batch-update-recipes.md before the post-import table batch update.

If Default Routing uses connector edit workflow:

  1. Read references/reference-edit-workflow.md.
  2. Before any direct live range read, cell read, or search_spreadsheet_rows, read references/reference-live-read-search-safety.md.
  3. Read every task-specific file from the matrix below.
  4. If the task spans multiple categories, read all matching files.
  5. 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

Unless Default Routing selected native Google Sheets reference-follow creation, if the registered Spreadsheets capability like the [@spreadsheets](plugin://spreadsheets@openai-primary-runtime) plugin is available, 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.

Spreadsheets location

Use/create ChatGPT at My Drive root. Place new spreadsheets created from scratch or from a template there. Edit existing spreadsheets in place.

Respect user-specified locations.

Connector Load Checklist

  1. Confirm the exact target Google Sheet URL or spreadsheet id before editing an existing spreadsheet.
  2. 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.
  3. Resolve and record the spreadsheet id, target sheet names, and sheetId values.
  4. Read spreadsheet metadata before deeper reads or writes.
  5. 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.
  6. Before each edit pass, identify the exact sheet, range, headers, formulas, and validation constraints being edited through connector reads.
  7. Re-read target cells before writing when live values, formulas, formatting, or validation could affect the write.

Task To Reference Map

Task areaRequired reference file
Existing spreadsheet edit workflow, grounding, validation-backed cells, output conventions, and write planningreferences/reference-edit-workflow.md
Direct live range reads, cell reads, row searches, tab/range recovery, and oversized search avoidancereferences/reference-live-read-search-safety.md
Adding or inserting rows or columns beside populated data while preserving validation, chips, formulas, and formattingreferences/reference-native-cell-structure.md
Reference/template following from a provided Google Sheetreferences/reference-native-cell-structure.md
Raw Sheets write shapes and example batch_update bodiesreferences/reference-batch-update-recipes.md
Importing a local spreadsheet and upgrading intended tables to native Sheets tablesreferences/reference-import-spreadsheet-to-native-sheets.md
Formula design, repair, rollout, or syntax refreshreferences/reference-formula-patterns.md
Chart creation, repair, chart-spec recall, or repositioningreferences/reference-chart-recipes.md
Unspecified styling for native Google Sheets destinationsreferences/style-profiles.md

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Review charts, diagrams, and dashboards for accessibility, including color contrast, keyboard access, and text alternatives. Get specific guidance for preserving key findings in screen readers, static exports, and reduced-motion views.

  • Reviewing dashboard colors and keyboard access
  • Writing chart alt text and long descriptions
  • Preparing accessible figures for PDF reports
openai/plugins7.5KUpdated Oct 8, 2026

Give a photo collection a consistent look using Adobe tools to adjust color, tone, presets, and optional crops. Review a before-and-after sample before processing the full set, then receive links to the edited images.

  • Giving travel photos a consistent look
  • Unifying photos taken in mixed lighting
  • Applying a warm or cinematic style across a photo set
openai/plugins7.5KUpdated Oct 8, 2026

Visualize a logo, sketch, or design on products such as mugs, shirts, and business cards. Review a pilot image, generate a visually consistent set, and collect the results on a shareable Firefly Board.

  • Preview a logo on mugs and shirts
  • Turn a hand-drawn sketch into product mockups
  • Create consistent brand presentation images
openai/plugins7.5KUpdated Oct 8, 2026

Prepare images and videos for social platforms using Adobe tools. Create image crops that keep the subject in view, expand backgrounds when available, preview a full-set sample, and resize videos while preserving their aspect ratio.

  • Creating image variants for multiple social platforms
  • Cropping photos for Instagram Stories
  • Preparing LinkedIn images and YouTube thumbnails
openai/plugins7.5KUpdated Oct 8, 2026

Create flyers, social posts, business cards, and other visuals from Adobe Express templates. Choose a template, customize its text and background color, and receive a design link, with additional editing and export options depending on the available tools.

  • Creating an event flyer
  • Designing an Instagram post
  • Customizing business card text and colors
openai/plugins7.5KUpdated Oct 8, 2026

Turn an uploaded video into three highlight edits with Adobe Quick Cut. Choose a target length and style, then compare versions that feature different moments and download the ones you prefer.

  • Creating a short highlight video for social media
  • Condensing interview footage into a highlight reel
  • Comparing three edits with different moment selections
openai/plugins7.5KUpdated Oct 8, 2026

See all skills by openai

Report a problem with this skill