google-sheets-live-guard

google-sheets-live-guard is a skill for Claude Code, Codex from nebelov/yandex-direct-for-all. It costs 54 tokens per session (1,739 once invoked), scanned A, original, MIT.

A safety procedure for editing an existing live Google Sheet, an online spreadsheet. It requires reading the current tabs, cells, formulas, formatting, validation, protections, and nearby manual values immediately before making changes.

In plain words
What is it for?
Use it before inserting rows or tabs, repairing formulas, moving sheets, or changing client-facing reports and other shared spreadsheets.
Why use it?
It reduces the risk of writing to the wrong tab, duplicating rows, moving content incorrectly, overwriting manual edits, or relying on an outdated snapshot.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the yandex-direct-for-all plugin — 19 skills, 3 MCP servers shipped together

Good fit Use it before inserting rows or tabs, repairing formulas, moving sheets, or changing client-facing reports and other shared spreadsheets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nebelov/yandex-direct-for-all/google-sheets-live-guard
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 nebelov/yandex-direct-for-all --skill google-sheets-live-guard
Clone the repo
git clone --depth 1 https://github.com/nebelov/yandex-direct-for-all

Made for: Claude Code, Codex.

Or install yandex-direct-for-all, the plugin that ships this one along with the rest of its 19 skills, 3 MCP servers.

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-live-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/nebelov/yandex-direct-for-all/google-sheets-live-guard/github.svg)](https://agentmods.dev/skills/nebelov/yandex-direct-for-all/google-sheets-live-guard)
Your own site
<a href="https://agentmods.dev/skills/nebelov/yandex-direct-for-all/google-sheets-live-guard"><img src="https://agentmods.dev/badge/skills/nebelov/yandex-direct-for-all/google-sheets-live-guard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for google-sheets-live-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/nebelov/yandex-direct-for-all/google-sheets-live-guard"><img src="https://agentmods.dev/badge/skills/nebelov/yandex-direct-for-all/google-sheets-live-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,739 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.00054 $0.01739
Opus 5.5 $0.00022 $0.00696
Sonnet 5.5 $0.00011 $0.00348
Haiku 4.5 $0.00005 $0.00174

Measured 9d ago against content hash e785ef4dceff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

google-sheets-live-guard 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 9d 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.

plugins/yandex-direct-for-all/skills/google-sheets-live-guard/SKILL.md · 77 lines

How it starts

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

Google Sheets Live Guard

Use this skill as a local safety overlay whenever a task edits an existing Google Sheet. It supplements whatever Google Sheets tool or skill is installed (an API client, an MCP server or a separate google-sheets skill — none ships with this plugin). If one is installed, read its instructions first; if not, apply these guards to direct Sheets API calls.

Live State Before Writes

  • Treat old spreadsheet snapshots, prior row numbers, and earlier review notes as stale once the user, another agent, or the sheet itself may have changed.
  • Immediately before a write, re-read spreadsheet metadata, target tabs, sheetId values, row labels, formulas, formats, validation, and nearby protected/manual cells that could be affected.
  • For manually edited or cleaned sheets, prefer a rich read of current cells over displayed values only. Include formulas, effective values, user-entered values, formatting, validation, and chart or tab metadata when those surfaces affect the edit.
  • A successful bounded CellData read can omit rowData or trailing values when every requested field is empty. Confirm the returned sheet and grid coordinates, then normalize omitted cells to empty objects; do not index rowData[0] unconditionally or mistake this valid empty-range response for an API failure. Non-success responses still require separate error handling.

Idempotent Structure Changes

  • Before inserting rows, creating tabs, duplicating report tabs, or moving tabs, check whether the requested row, section, or tab already exists in the live sheet.
  • If the desired row/tab already exists, switch to verify-only. Do not insert a duplicate just because the original plan expected it to be absent.
  • For tab moves, update only the target sheet properties, use the exact current sheetId, keep the field mask narrow, and re-read tab order afterward.
  • After insertDimension, tab duplication, row movement, or any structural update, discard cached row numbers. Rebuild bindings from current labels, headers, formulas, and metadata before validating the result.

Read the full file on GitHub · 77 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. 9d ago First seen · 77 lines · 54 tokens per session scan A e785ef4dceff

Subscribe to this mod's changes

google-sheets-live-guard is a skill published in the GitHub repository nebelov/yandex-direct-for-all (21 stars, last pushed 2d ago), licensed MIT. It adds 54 tokens to every session and 1,739 once invoked, about $0.0002 per session on Opus 5.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-10-24.

Related

Other skills, from other repositories

manage-safety-analysis

Create, populate, and manage safety analysis spreadsheets (FMEA, FHA, HARA, custom) and fault trees (FTA) in Safety Analysis Manager. Use when the user asks to perform FMEA, hazard analysis, fault tree analysis, safety analysis, or work with Safety Analysis Manager documents. Requires Simulink Fault Analyzer.

matlab/simulink-agentic-toolkit · 71 tokens

matlab-use-spreadsheet-link

Exchange data between Excel and MATLAB using Spreadsheet Link VBA macros and worksheet functions. Use when writing Excel VBA macros that call MLPutMatrix, MLGetMatrix, MLPutVar, MLGetVar, MLPutRanges, MLEvalString, MLGetFigure, or MatlabRequest.

matlab/matlab-agentic-toolkit · 67 tokens

matlab-import-export-data

Read or write data files in MATLAB. Use when the task involves tables, spreadsheets, delimited text, or structured files in CSV, Excel, Parquet, JSON, or XML format — including but not limited to importing, exporting, loading, parsing, converting, validating, configuring import options, reading from URLs, handling…

matlab/matlab-agentic-toolkit · 102 tokens

matlab-import-tracking-data

Import raw data (CSV, XLSX, TXT, or MATLAB tables) into formats used by Sensor Fusion and Tracking Toolbox. Handles both ground truth trajectories and sensor detection data. For truth: builds trackingScenarioRecording, tuning timetable, truthlog, or converted table. For sensor data: builds task-oriented dataFormat…

matlab/matlab-agentic-toolkit · 126 tokens

opendart-excel

A workflow for creating Excel files from South Korea’s DART company filings, which are public financial reports submitted to the Financial Supervisory Service.

gyeongmin100/Open-Dart-Plugin · 70 tokens

tencent-docs

Use when the user asks to search, read, create, edit, or organize Tencent Docs documents, spreadsheets, slides, and related online files through the official Tencent Docs MCP server.

Fortytwoo/codex-tencent-connectors · 41 tokens