google-apps-script

google-apps-script is a skill for Claude Code from jezweb/claude-skills. It costs 89 tokens per session (4,646 once invoked), scanned A, original, MIT.

A guide for building Google Apps Script automations for Sheets and Google Workspace. It covers menus, sidebars, scheduled actions, email, PDF export, and connections to outside APIs.

In plain words
What is it for?
Use it to add spreadsheet menus, react to edits or form submissions, send emails, export PDFs, or process data automatically.
Why use it?
It gives structure for recurring spreadsheet tasks that would otherwise require manual work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the integrations plugin — 9 skills, 8 commands shipped together

not rated 1.1krepo +8 11d ago A scan Socket: passSnyk: passSkillSpector: warn 89 tokens original MIT

Good fit Use it to add spreadsheet menus, react to edits or form submissions, send emails, export PDFs, or process data automatically.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jezweb/claude-skills/google-apps-script
About the project

jezweb/claude-skills is a collection of skills, commands, plugins, settings, instructions, and hooks that guide the Claude Code CLI through development tasks and produce outputs such as project scaffolds, assets, documents, or deployed services. It is for developers using Claude Code with technologies and services including Cloudflare, React, Tailwind, Shopify, and WordPress. The catalogue entries are the project's own Claude Code workflow components.

jezweb/claude-skills · 1,070 stars · on GitHub · jezweb.com.au

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 jezweb/claude-skills --skill google-apps-script
Clone the repo
git clone --depth 1 https://github.com/jezweb/claude-skills

Made for: Claude Code.

Or install integrations, the plugin that ships this one along with the rest of its 9 skills, 8 commands.

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-apps-script

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jezweb/claude-skills/google-apps-script"><img src="https://agentmods.dev/badge/skills/jezweb/claude-skills/google-apps-script.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,646 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 269
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Data Exfiltration · line 381
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 388
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 485
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 388
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00089 $0.04646
Opus 5.5 $0.00036 $0.01858
Sonnet 5.5 $0.00018 $0.00929
Haiku 4.5 $0.00009 $0.00465

Measured 1mo ago against content hash 27f7d8f83ddb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

google-apps-script scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const blob = UrlFetchApp.fetch(url, {
plugins/integrations/skills/google-apps-script/SKILL.md · 542 lines

How it starts

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

Google Apps Script

Build automation scripts for Google Sheets and Workspace apps. Scripts run server-side on Google's infrastructure with a generous free tier.

What You Produce

  • Apps Script code pasted into Extensions > Apps Script
  • Custom menus, dialogs, sidebars
  • Automated triggers (on edit, time-driven, form submit)
  • Email notifications, PDF exports, API integrations

Workflow

Step 1: Understand the Automation

Ask what the user wants automated. Common scenarios:

  • Custom menu with actions (report generation, data processing)
  • Auto-triggered behaviour (on edit, on form submit, scheduled)
  • Sidebar app for data entry
  • Email notifications from sheet data
  • PDF export and distribution

Step 2: Generate the Script

Follow the structure template below. Every script needs a header comment, configuration constants at top, and onOpen() for menu setup.

Step 3: Provide Installation Instructions

All scripts install the same way:

  1. Open the Google Sheet
  2. Extensions > Apps Script
  3. Delete any existing code in the editor
  4. Paste the script
  5. Click Save
  6. Close the Apps Script tab
  7. Reload the spreadsheet (onOpen runs on page load)

Step 4: First-Time Authorisation

Each user gets a Google OAuth consent screen on first run. For unverified scripts (most internal scripts), users must click:

Advanced > Go to [Project Name] (unsafe) > Allow

This is a one-time step per user. Warn users about this in your output.


Script Structure Template

Every script should follow this pattern:

/**
 * [Project Name] - [Brief Description]
 *
 * [What it does, key features]
 *
 * INSTALL: Extensions > Apps Script > paste this > Save > Reload sheet
 */

// --- CONFIGURATION ---
const SOME_SETTING = 'value';

// --- MENU SETUP ---
function onOpen() {
  const ui = SpreadsheetApp.getUi();
  ui.createMenu('My Menu')
    .addItem('Do Something', 'myFunction')
    .addSeparator()
    .addSubMenu(ui.createMenu('More Options')
      .addItem('Option A', 'optionA'))
    .addToUi();
}

// --- FUNCTIONS ---
function myFunction() {
  // Implementation
}

Read the full file on GitHub · 542 lines

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. 1mo ago First seen · 542 lines · 89 tokens per session scan A 27f7d8f83ddb

Subscribe to this mod's changes

google-apps-script is a skill published in the GitHub repository jezweb/claude-skills (1,070 stars, last pushed 11d ago), licensed MIT. It adds 89 tokens to every session and 4,646 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

historical-data-manager

Extract, clean, and organize legacy construction data from archives. Migrate historical project data, cost records, and schedules into modern formats.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 32 tokens

pdf-report-generator

Automatically generate PDF reports from construction data. Create formatted project reports with charts and tables.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 21 tokens

cwicr-report-generator

Generate professional cost estimation reports from CWICR calculations. HTML, PDF, Excel outputs with charts and breakdowns.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 29 tokens

antinet-doc-parse

A document-processing skill for building RAG systems, which let an AI search a knowledge base before answering. It handles complex PDF, Word, and Excel files and produces structured Markdown and metadata.

anbeime/skill · 79 tokens

literature-matrix-builder

A tool for turning a collection of research papers in PDF format into an organised literature library and comparison spreadsheet. It can find identifiers such as DOIs, retrieve publication details, check for retractions, and prepare reference lists.

Nero1688/claude-academic-skills · 501 tokens

gog

Manage Google Workspace from the CLI via gog: Gmail, Drive, Calendar, Sheets, Docs, Chat, Tasks, and Admin. Invoke with --account (any account in the local registry) and --user person|sa. Use when the user mentions gmail, drive, calendar, sheets, docs, workspace, gog, email, files, events, or a configured account.

vanducng/skills · 83 tokens