Generated banner for Gws Script Push
Generated logo for Gws Script Push

Gws Script Push

Google WorkspaceOfficialPublished by Google Workspace

  • Skill
  • Tool integration
  • Automation and integrations
  • Apache-2.0
  • No issues found

From the author

Google Apps Script: Upload local files to an Apps Script project.
— the description by Google Workspace

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The gws-script-push skill provides a command-line interface for synchronizing local development files with a Google Apps Script project. It allows developers to push code, including .gs, .js, .html, and appsscript.json files, directly to a specified project ID. The tool is designed to streamline the deployment process by automating the upload of local source code to the cloud environment.

What it does

  • Uploads local files to a Google Apps Script project
  • Supports .gs, .js, .html, and appsscript.json file types
  • Allows specification of a target directory for source files
  • Automatically ignores hidden files and node_modules
  • Replaces all existing files in the target project

When to use it

  • When you need to deploy local code changes to a Google Apps Script project
  • When managing Google Apps Script development from a local environment
  • When you want to synchronize a local directory with a cloud-based script project

Advantages

  • Simplifies the deployment workflow for Apps Script developers
  • Reduces manual effort by automating file uploads
  • Maintains clean project structures by ignoring unnecessary files

Usage examples

“gws script +push --script 123456789”
The tool uploads all supported files from the current directory to the Google Apps Script project with the ID 123456789.
“gws script +push --script 123456789 --dir ./src”
The tool uploads all supported files located in the ./src directory to the specified Google Apps Script project.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/googleworkspace/gws-script-push/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip gws-script-push.zip -d .agents/skills

Documentation by Google Workspace

script +push

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Upload local files to an Apps Script project

Usage

gws script +push --script <ID>

Flags

FlagRequiredDefaultDescription
--script✓—Script Project ID
--dir——Directory containing script files (defaults to current dir)

Examples

gws script +push --script SCRIPT_ID
gws script +push --script SCRIPT_ID --dir ./src

Tips

  • Supports .gs, .js, .html, and appsscript.json files.

  • Skips hidden files and node_modules automatically.

  • This replaces ALL files in the project.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

  • gws-shared — Global flags and auth

  • gws-script — All manage google apps script projects commands

Files

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Google Workspace
Publisher
Google Workspace (Official)
Source
googleworkspace/cli · skills/gws-script-push · commit cd3697e
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Google Workspace.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download gws-script-push.zip