Agent Skills
› googleworkspace/cli
› gws-script-push
gws-script-push
GitHub将本地脚本文件上传至 Google Apps Script 项目,支持 .gs/.js/.html 等格式,自动跳过隐藏文件,执行前需确认。
Trigger Scenarios
需要部署或更新 Google Apps Script 项目的代码
用户请求上传本地脚本到指定 Script ID
Install
npx skills add googleworkspace/cli --skill gws-script-push -g -y
SKILL.md
Frontmatter
{
"name": "gws-script-push",
"metadata": {
"version": "0.22.5",
"openclaw": {
"cliHelp": "gws script +push --help",
"category": "productivity",
"requires": {
"bins": [
"gws"
]
}
}
},
"description": "Google Apps Script: Upload local files to an Apps Script project."
}
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
Version History
- a3768d0 Current 2026-08-20 07:25


