gws-script-push
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.
Skill link
https://github.com/googleworkspace/cli/blob/main/skills/gws-script-push/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Upload my files from my computer to script project with ID 'PROJECT_ID'.”
5 new skills a week. 1 minute to read.
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.
Technical 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
- #9182
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- …
More skills from this repository
gws-admin-reports
32kHelps your agent get activity reports from Google Workspace. It collects audit and usage data.
gws-calendar-agenda
32kHelps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
gws-calendar-insert
32kLets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
gws-calendar
32kAllows your agent to manage calendars and events. It's useful for organizing your life and work.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.