← 返回 Skills 市场
Gws Apps Script Push
作者
googleworkspace-bot
· GitHub ↗
· v1.0.0
300
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install gws-apps-script-push
功能描述
Google Apps Script: Upload local files to an Apps Script project.
使用说明 (SKILL.md)
apps-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 apps-script +push --script \x3CID>
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-apps-script — All manage and execute apps script projects commands
安全使用建议
Before installing or enabling this skill: 1) Confirm the provenance and integrity of the 'gws' CLI (where it comes from and whether you trust it). 2) Open and review ../gws-shared/SKILL.md (or run gws generate-skills as suggested) to see what authentication method and credentials it requires — do not assume there are no secrets involved. 3) Be aware this command will replace all files in the target Apps Script project (back up the project first). 4) If you are uncomfortable with autonomous agent actions that perform writes, require explicit user confirmation or disable autonomous invocation for this skill. 5) Test with a non-production script/project and a dry-run (if gws supports one) before running against important projects.
功能分析
Type: OpenClaw Skill
Name: gws-apps-script-push
Version: 1.0.0
The skill bundle provides a standard interface for pushing local files to a Google Apps Script project using the 'gws' CLI tool. The documentation in SKILL.md is transparent about its functionality, including a safety warning that it overwrites remote files, and contains no indicators of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The skill is instruction-only and requires the 'gws' CLI binary, which is coherent with the described function (pushing files to Apps Script). However, the SKILL.md references an external '../gws-shared/SKILL.md' for auth and global flags but this skill's metadata declares no required credentials or config paths, creating a mismatch between declared requirements and the actual authentication dependency.
Instruction Scope
Runtime instructions are limited to invoking the 'gws' CLI to push files and explicitly caution that this is a write operation. They also instruct the agent to read '../gws-shared/SKILL.md' for auth, flags, and security rules — that single external-file dependency expands the agent's read scope beyond the skill's own SKILL.md and could expose or rely on credentials/config not declared here.
Install Mechanism
No install specification and no code files are present — lowest-risk installation model. The skill is instruction-only and will invoke an already-installed 'gws' binary; nothing is downloaded or written by the skill itself.
Credentials
The skill does not declare any required environment variables or primary credentials, yet it explicitly defers authentication to a separate '../gws-shared/SKILL.md'. Because pushing replaces all files in a remote Apps Script project, this operation necessarily requires Google auth tokens/credentials. The omission of declared credential requirements is a discrepancy: users should inspect gws-shared to see exactly what secrets or tokens are read/used.
Persistence & Privilege
always:false and no special persistence requested. The skill doesn't claim to modify other skills' configurations. The primary autonomy concern is the normal platform default (agent can invoke the skill) combined with a destructive write operation — consider requiring user confirmation before autonomous runs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gws-apps-script-push - 安装完成后,直接呼叫该 Skill 的名称或使用
/gws-apps-script-push触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Upload local files to a Google Apps Script project.
- Adds command: gws apps-script +push for uploading files to a specified Apps Script project.
- Supports .gs, .js, .html, and appsscript.json files; skips hidden files and node_modules.
- Accepts --script (project ID, required) and --dir (optional local directory) flags.
- Replaces all files in the target Apps Script project.
- Includes precautions to confirm with user before overwriting project files.
元数据
常见问题
Gws Apps Script Push 是什么?
Google Apps Script: Upload local files to an Apps Script project. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 300 次。
如何安装 Gws Apps Script Push?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gws-apps-script-push」即可一键安装,无需额外配置。
Gws Apps Script Push 是免费的吗?
是的,Gws Apps Script Push 完全免费(开源免费),可自由下载、安装和使用。
Gws Apps Script Push 支持哪些平台?
Gws Apps Script Push 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gws Apps Script Push?
由 googleworkspace-bot(@googleworkspace-bot)开发并维护,当前版本 v1.0.0。
推荐 Skills