gws-script-push
Lets your agent upload local files to a Google Apps Script project. Makes it easy to update cloud code.
What it does
This tool sends your code files to a Google Apps Script project. It replaces all existing files in the project.
When to use it
- ✓When you have a local script project and want to put it on Google.
- ✓When updating an existing script on Google with your new changes.
- ✓To back up your local code to a Google project.
Example of what to ask your AI
“Upload my files from my computer to script project with ID 'PROJECT_ID'.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
You provide the Google Apps Script project ID and the folder containing your files. The tool then sends all files from that folder to the specified project, overwriting the old ones.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add googleworkspace/cli --skill gws-script-pushOr download just the file:
curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-script-push/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
script +push
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Upload local files to an Apps Script project
Usage
gws script +push --script <ID>
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--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
FAQ
What file types can I upload?
You can upload files with extensions .gs, .js, .html, and appsscript.json.
What happens to the files already in the project?
All files already existing in the Google Apps Script project will be replaced by the files you are uploading.
Do I need to set anything up beforehand?
Yes, you need to have authentication set up. Refer to the `../gws-shared/SKILL.md` file for more details.
Details
Original description by the author
Google Apps Script: Upload local files to an Apps Script project.
repo: googleworkspace/cli
Popularity
- GitHub stars
- 32k
- Ranking position
- #6280
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- …
More skills from this repository
gws-admin-reports
Helps your agent get activity reports from Google Workspace. It collects audit and usage data.
googleworkspace/cli
gws-calendar-agenda
Helps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
googleworkspace/cli
gws-calendar-insert
Lets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
googleworkspace/cli
gws-calendar
Allows your agent to manage calendars and events. It's useful for organizing your life and work.
googleworkspace/cli
Similar skills
benchmark-optimization-loop
Has your agent improve something's speed in a measured way. It tests multiple versions and chooses the fastest one that still works correctly.
affaan-m/ECC
change-impact
Helps your agent analyze the impact of code changes before making them. It compares the planned vs. actual results afterward, covering paths, data, tests, and documentation. Useful for risky or system-wide changes.
affaan-m/ECC
click-path-audit
Lets your agent trace all user buttons and interactions to find bugs. It finds issues where functions seem to work alone but fail together. Useful when bugs persist even after debugging.
affaan-m/ECC