google-apps-script — google-apps-script install google-apps-script, cleanUpUntitled, community, google-apps-script install, ide skills, automating google sheets with google-apps-script, google-apps-script for gmail automation, google-apps-script documentation, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Cloud Automation Agents needing integrated Google Workspace service automation via JavaScript google-apps-script is a cloud-based JavaScript platform for automating Google Workspace services, including Sheets, Docs, Gmail, Drive, and Calendar.

Features

Automates Google Sheets operations, including reading, writing, and formatting
Creates and edits Google Docs programmatically
Manages Gmail messages and sends emails
Works with Google Drive files and folders
Automates Google Calendar tasks

# Core Topics

fakebizprez fakebizprez
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The google-apps-script skill by fakebizprez is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for google-apps-script install, automating google sheets with google-apps-script, google-apps-script for gmail automation.

Ideal Agent Persona

Perfect for Cloud Automation Agents needing integrated Google Workspace service automation via JavaScript

Core Value

Empowers agents to automate Google Sheets operations, create and edit Google Docs programmatically, and manage Gmail messages using server-side V8 runtime with automatic OAuth integration across Google Workspace services, including Sheets, Docs, Gmail, Drive, and Calendar

Capabilities Granted for google-apps-script

Automating Google Sheets data processing and formatting
Generating and editing Google Docs programmatically
Managing and sending Gmail messages with attachments from Google Drive

! Prerequisites & Limits

  • Requires Google account authentication for OAuth integration
  • Limited to Google Workspace services only
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

google-apps-script

Install google-apps-script, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Google Apps Script

Overview

Cloud-based JavaScript platform for automating Google Workspace services. Server-side V8 runtime with automatic OAuth integration across Sheets, Docs, Gmail, Drive, Calendar, and more.

When to Use This Skill

Invoke this skill when:

  • Automating Google Sheets operations (reading, writing, formatting)
  • Creating or editing Google Docs programmatically
  • Managing Gmail messages and sending emails
  • Working with Google Drive files and folders
  • Automating Google Calendar events
  • Implementing triggers (time-based or event-based)
  • Building custom functions for Sheets
  • Creating Google Workspace add-ons
  • Handling OAuth scopes and authorisation
  • Making HTTP requests to external APIs with UrlFetchApp
  • Using persistent storage with PropertiesService
  • Implementing caching strategies with CacheService
  • Optimising performance with batch operations
  • Debugging Apps Script code or authorisation issues

Core Services

  1. SpreadsheetApp - Google Sheets automation (read, write, format, data validation)
  2. DocumentApp - Google Docs creation and editing
  3. GmailApp & MailApp - Email operations (send, search, manage labels)
  4. DriveApp - File and folder management, sharing, permissions
  5. CalendarApp - Calendar events, recurring appointments, reminders
  6. Triggers & ScriptApp - Time-based and event-driven automation

Quick Start

javascript
1function generateWeeklyReport() { 2 const ss = SpreadsheetApp.getActiveSpreadsheet(); 3 const sheet = ss.getSheetByName('Data'); 4 const data = sheet.getRange('A2:D').getValues(); 5 6 const report = data.filter(row => row[0]); 7 const summarySheet = ss.getSheetByName('Summary') || ss.insertSheet('Summary'); 8 summarySheet.clear(); 9 summarySheet.appendRow(['Name', 'Value', 'Status']); 10 report.forEach(row => summarySheet.appendRow([row[0], row[1], row[2]])); 11 12 MailApp.sendEmail({ 13 to: Session.getEffectiveUser().getEmail(), 14 subject: 'Weekly Report Generated', 15 body: `Report generated with ${report.length} records.` 16 }); 17}

Best Practices

  • Batch operations - read/write ranges in bulk, never cell-by-cell in loops
  • Cache data - use CacheService (25 min TTL) for frequently accessed data
  • Error handling - wrap operations in try/catch, log errors to a sheet for audit trails
  • Respect limits - 6-minute execution timeout; split large jobs across triggers
  • Minimise scopes - request only necessary OAuth permissions in appscript.json
  • Persistent storage - use PropertiesService for configuration and state
  • Validate inputs - always check objects exist before accessing properties

See references/best-practices.md for detailed examples of each practice.

Validation & Testing

Use the validation scripts in scripts/ for pre-deployment checks:

  • scripts/validators.py - Validate spreadsheet operations, range notations, and data structures

Debug with Logger.log() and view output via View > Logs (Cmd/Ctrl + Enter). Use breakpoints in the Apps Script editor for step-through debugging.

Integration with Other Skills

  • google-ads-scripts - Export Google Ads data to Sheets for reporting
  • gtm-datalayer - Coordinate with GTM for tracking events triggered by Apps Script
  • ga4-bigquery - Query BigQuery from Apps Script and write results to Sheets

Troubleshooting

IssueSolution
Execution timeoutSplit work into smaller batches or use multiple triggers
Authorisation errorCheck OAuth scopes in manifest file
Quota exceededReduce API call frequency, use caching
Null reference errorValidate objects exist before accessing properties

References

Detailed content is available in reference files (loaded on demand):

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is google-apps-script?

Perfect for Cloud Automation Agents needing integrated Google Workspace service automation via JavaScript google-apps-script is a cloud-based JavaScript platform for automating Google Workspace services, including Sheets, Docs, Gmail, Drive, and Calendar.

How do I install google-apps-script?

Run the command: npx killer-skills add fakebizprez/cleanUpUntitled/google-apps-script. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for google-apps-script?

Key use cases include: Automating Google Sheets data processing and formatting, Generating and editing Google Docs programmatically, Managing and sending Gmail messages with attachments from Google Drive.

Which IDEs are compatible with google-apps-script?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for google-apps-script?

Requires Google account authentication for OAuth integration. Limited to Google Workspace services only.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add fakebizprez/cleanUpUntitled/google-apps-script. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use google-apps-script immediately in the current project.

Related Skills

Looking for an alternative to google-apps-script or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI