Manage Google Apps Script projects.
a3768d0PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws script <resource> <method> [flags]
| Command | Description |
|---------|-------------|
| +push | Upload local files to an Apps Script project |
list — List information about processes made by or on behalf of a user, such as process type and current status.listScriptProcesses — List information about a script's executed processes, such as process type and current status.create — Creates a new, empty script project with no script files and a base manifest file.get — Gets a script project's metadata.getContent — Gets the content of the script project, including the code source and metadata for each script file.getMetrics — Get metrics data for scripts, such as number of executions and active users.updateContent — Updates the content of the specified script project. This content is stored as the HEAD version, and is used when the script is executed as a trigger, in the script editor, in add-on preview mode, or as a web app or Apps Script API in development mode. This clears all the existing files in the project.deployments — Operations on the 'deployments' resourceversions — Operations on the 'versions' resourcerun —Before calling any API method, inspect it:
# Browse resources and methods
gws script --help
# Inspect a method's required params, types, and defaults
gws schema script.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/gws-script · pinned to the source commit
# Run from your project root
git clone https://github.com/googleworkspace/cli.git .skillboard-tmp
git -C .skillboard-tmp checkout a3768d0e82ad83cca2da97724e46bea4ff0e6dbd
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/skills/gws-script" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/googleworkspace/cli.git .skillboard-tmp
git -C .skillboard-tmp checkout a3768d0e82ad83cca2da97724e46bea4ff0e6dbd
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/skills/gws-script" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/gws-script
Scanner static-checks@0.1.0 · commit a3768d0e82ad. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
References parent-directory traversal, which can escape a target directory.
Evidence: ../· fingerprint fa08499e14d0113b