google-workspace

google-workspace is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 207 tokens per session (3,511 once invoked), scanned A, original, CC0-1.0.

A set of instructions for safely working with Google Docs, Sheets, and Slides through connected tools. It explains how each app's API—the interface software uses to edit files—handles positions, ranges, formatting, and other details.

In plain words
What is it for?
Use it before creating or changing Google documents, spreadsheets, or presentations in Drive.
Why use it?
It helps avoid edits in the wrong place, incorrect numbers or dates, and formatting errors when changing Google files programmatically.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before creating or changing Google documents, spreadsheets, or presentations in Drive.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/google-workspace
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 69,759 stars · on GitHub

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 asgeirtj/system_prompts_leaks --skill google-workspace
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

Made for: Claude Code, Codex.

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-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/google-workspace/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/google-workspace)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/google-workspace"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/google-workspace/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-workspace

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/google-workspace"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/google-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 207 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,511 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.00207 $0.03511
Opus 5.5 $0.00083 $0.01404
Sonnet 5.5 $0.00041 $0.00702
Haiku 4.5 $0.00021 $0.00351

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

Security

Grade A, and why

google-workspace 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 today.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/docs_index.py, scripts/render_export.py, scripts/sheets_helper.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

Anthropic/claude-code/skills/google-workspace/SKILL.md · 98 lines

How it starts

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

Google Docs, Sheets, and Slides

The Google connectors are thin wrappers over Google's raw APIs, with almost no guidance of their own. This skill supplies that guidance: which connector does what, the rules that keep edits in the user's file, and, in one reference file per app, how each API really behaves. Most of the app-specific rules in the references were tested against Google's Docs, Sheets and Slides APIs; the rest were seen through the connectors, and a few have not been checked yet.

Read the reference before you touch the file

Working on Read first Why it matters
A Google Doc references/docs.md Docs edits address UTF-16 positions that shift after every insert and go stale after every write. Tabs and pending suggestions change the positions too.
A Google Sheet references/sheets.md Both write tools parse input like the Sheets UI, so text can silently become numbers or dates. Formatting needs numeric sheet IDs, 0-based ranges, and field masks without parentheses.
A Google Slides deck references/slides.md Positions are in EMU, an element's real size is its size times its scale, and an unmasked read can exceed 150 KB for three slides. Slides never shrinks text to fit.

Read the reference for every app the task touches before the first edit. Embedding a Sheets chart in a deck means reading both. The references are short, and skipping one is how edits land in the wrong place.

1. Check the connectors before you start

Connector What it can do
Google Drive Create files, upload and convert content, rename, read a file as text, export (PDF and other formats), search, trash
Google Docs Read a doc's full structure and edit it in place, directly or as suggestions
Google Sheets Read values and structure, write values and formulas, format, add tabs and charts
Google Slides Read a deck, add and edit slides, shapes, text, tables, and linked charts

Drive can create all three file types. It can't edit a file after that. Without the matching editor connector, every change means a new file and a new link, and the user loses the link they already have.

Read the full file on GitHub · 98 lines

Files

What ships with it

8 files 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. today Changed acb38598bade
  2. 8d ago Changed · +1 lines 014e36f6ac86
  3. 19d ago First seen · 97 lines · 207 tokens per session scan A f53b2d8c9bcb

Subscribe to this mod's changes

google-workspace is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (69,759 stars, last pushed today), licensed CC0-1.0. It adds 207 tokens to every session and 3,511 once invoked, about $0.0008 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-09-28.