gws-apps-script-push
Google Apps Script: Upload local files to an Apps Script project.
Why use this skill?
Easily upload and synchronize your local Google Apps Script project files to the cloud. Automate your deployment workflow with this secure and efficient command-line tool.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/googleworkspace-bot/gws-apps-script-pushWhat This Skill Does
The gws-apps-script-push skill is a powerful automation tool designed to bridge the gap between local development environments and Google Apps Script projects. As a professional developer, maintaining code in a browser-based editor can be limiting; this skill allows you to use your preferred local code editors (like VS Code, Sublime Text, or IntelliJ) to write, debug, and structure your Google Apps Script projects, then synchronize them seamlessly to the cloud. By executing a simple CLI command, the skill parses your local directory, identifies supported files (such as .gs, .js, .html, and appsscript.json), and replaces the existing project files on Google's servers with your updated local versions.
Installation
To integrate this functionality into your OpenClaw environment, you must have the base gws framework configured. Once your authentication is handled via the gws-shared prerequisites, execute the following command in your terminal: clawhub install openclaw/skills/skills/googleworkspace-bot/gws-apps-script-push. Ensure that you have the necessary Google Cloud or Workspace permissions enabled for the script project you intend to modify, as this tool requires write-access to your Apps Script environment.
Use Cases
This skill is ideal for developers building complex Google Workspace add-ons, enterprise automation tools, or custom functions for Google Sheets. It is particularly useful for teams who want to incorporate version control systems like Git into their Apps Script workflow, as it allows for pushing tested code from a local feature branch directly to a staging or production script project. It is also perfect for those who require the use of build tools, linters, or TypeScript transpilation, allowing the processed output to be pushed to the Google environment.
Example Prompts
- "Sync my local project in the src directory to my Apps Script project with ID 1A2B3C4D5E6F7G8H9I0."
- "Push the current folder's contents to my Apps Script project (ID: SCRIPT_ID)."
- "I have finished my updates to the web app components; use the push skill to update my Apps Script project now."
Tips & Limitations
- Caution: This command is destructive in nature; it replaces all existing files in the destination project. Always ensure you have a backup of your cloud-based code if needed.
- Automation: The skill intelligently skips internal artifacts like
node_modulesand hidden files, ensuring only your relevant source code is uploaded. - Authentication: Always ensure you have run the auth flow described in
gws-sharedbefore attempting to push, as the skill relies on the session token generated there. - Environment: If you have multiple scripts, verify you have the correct project ID; there is no 'undo' button once the push command completes.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-googleworkspace-bot-gws-apps-script-push": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, external-api
Related Skills
gws-workflow-standup-report
Google Workflow: Today's meetings + open tasks as a standup summary.
gws-modelarmor-create-template
Google Model Armor: Create a new Model Armor template.
recipe-create-feedback-form
Create a Google Form for feedback and share it via Gmail.
gws-admin-reports
Google Workspace Admin SDK: Audit logs and usage reports.
gws-chat
Google Chat: Manage Chat spaces and messages.