gws-script-push

Upload local .gs, .js, .html, and appsscript.json files to an Apps Script project.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/vikingokft/vikingo-studio-skills --skill gws-script-push-vikingokft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-script-push
Source: https://github.com/vikingokft/vikingo-studio-skills/tree/main/google/gws-script-push
Command: npx skills add https://github.com/vikingokft/vikingo-studio-skills --skill gws-script-push-vikingokft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Uploads local script files to a Google Apps Script project, enabling quick synchronization of source code with deployed Apps Script projects.

Core Features & Use Cases

  • Upload Script Files: Push .gs, .js, .html, and appsscript.json to the target Apps Script project, replacing existing files.
  • Batch Sync: Keep a local development directory in sync with the remote Apps Script project for rapid iteration.
  • Use Case: When updating a Google Sheets script, push all changes to the Apps Script project in one command.

Quick Start

Use the gws script +push command with the target project ID and optional directory containing script files.

Frequently Asked Questions about gws-script-push

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I push local files to a Google Apps Script project?

To push local files to a Google Apps Script project, use the gws script +push command with the target project ID and directory. This uploads .gs, .js, .html, and appsscript.json files, replacing all existing files in the remote project.

What file types can I batch upload to an Apps Script project?

You can batch upload .gs, .js, .html, and appsscript.json files to an Apps Script project. The upload replaces all existing files in the target project with the contents of your local directory in a single command.

Does pushing local scripts to Apps Script replace existing remote files?

Yes, pushing local scripts to Apps Script replaces all existing files in the target project. This synchronization mechanism ensures the remote project exactly matches your local development directory.

Do I need gws CLI to upload source code to Apps Script?

Yes, you need the gws CLI and proper authentication to upload source code to Apps Script. Authentication setup is detailed in the gws-shared SKILL.md documentation before executing the push command.

What is the best way to sync a local directory with an Apps Script project?

The best way to sync a local directory with an Apps Script project is using a batch push command. This method uploads all local script updates simultaneously, enabling rapid iteration without manual file copying.