Gws Apps Script
Automates Google Workspace tasks by executing Apps Script code, streamlining workflows and boosting productivity for users.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add gws-apps-script npx -- -y @trustedskills/gws-apps-script
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gws-apps-script": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gws-apps-script"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to interact directly with Google Workspace Apps Script, a powerful server-side JavaScript environment. It allows automation of complex workflows within Google Sheets, Docs, Slides, and Forms by executing custom code or managing scripts programmatically.
When to use it
- Automating repetitive data entry tasks across multiple Google Sheets in an organization.
- Generating dynamic reports by pulling live data from Gmail and formatting it into a Slide deck.
- Creating custom validation rules for Google Forms that trigger automated follow-up emails.
- Managing the lifecycle of Apps Script projects, including installation, updates, and debugging.
Key capabilities
- Execute JavaScript code within the Google Workspace ecosystem.
- Integrate with core services like Sheets, Docs, Slides, Drive, Gmail, and Calendar.
- Deploy and manage server-side scripts for enterprise-scale automation.
- Extend native Google functionality with custom logic and third-party API calls.
Example prompts
- "Write an Apps Script that automatically backs up all my shared Google Sheets to a specific folder every Sunday at midnight."
- "Create a script that parses incoming Gmail messages tagged 'Invoice' and extracts the total amount into a master tracking sheet."
- "Generate a presentation in Google Slides by pulling the latest sales figures from a connected BigQuery dataset using Apps Script."
Tips & gotchas
Ensure your AI agent has the necessary OAuth permissions to access specific Google Workspace APIs before attempting script execution. Be mindful of execution quotas and runtime limits, as complex scripts may hit daily usage caps or timeout errors if not optimized for performance.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.