{"id":"3a159e28-a2cb-470d-96ff-9fa066636aff","shortId":"XpkAeu","kind":"skill","title":"gws-script","tagline":"Manage Google Apps Script projects.","description":"# script (v1)\n\n> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.\n\n```bash\ngws script <resource> <method> [flags]\n```\n\n## Helper Commands\n\n| Command | Description |\n|---------|-------------|\n| [`+push`](../gws-script-push/SKILL.md) | Upload local files to an Apps Script project |\n\n## API Resources\n\n### processes\n\n  - `list` — List information about processes made by or on behalf of a user, such as process type and current status.\n  - `listScriptProcesses` — List information about a script's executed processes, such as process type and current status.\n\n### projects\n\n  - `create` — Creates a new, empty script project with no script files and a base manifest file.\n  - `get` — Gets a script project's metadata.\n  - `getContent` — Gets the content of the script project, including the code source and metadata for each script file.\n  - `getMetrics` — Get metrics data for scripts, such as number of executions and active users.\n  - `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.\n  - `deployments` — Operations on the 'deployments' resource\n  - `versions` — Operations on the 'versions' resource\n\n### scripts\n\n  - `run` — \n\n## Discovering Commands\n\nBefore calling any API method, inspect it:\n\n```bash\n# Browse resources and methods\ngws script --help\n\n# Inspect a method's required params, types, and defaults\ngws schema script.<resource>.<method>\n```\n\nUse `gws schema` output to build your `--params` and `--json` flags.","tags":["gws","script","cli","googleworkspace","agent-skills","ai-agent","automation","discovery-api","gemini-cli-extension","google-admin","google-api","google-calendar"],"capabilities":["skill","source-googleworkspace","skill-gws-script","topic-agent-skills","topic-ai-agent","topic-automation","topic-cli","topic-discovery-api","topic-gemini-cli-extension","topic-google-admin","topic-google-api","topic-google-calendar","topic-google-chat","topic-google-docs","topic-google-drive"],"categories":["cli"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/googleworkspace/cli/gws-script","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add googleworkspace/cli","source_repo":"https://github.com/googleworkspace/cli","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 26371 github stars · SKILL.md body (1,793 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:52:31.015Z","embedding":null,"createdAt":"2026-04-18T20:27:32.589Z","updatedAt":"2026-05-18T18:52:31.015Z","lastSeenAt":"2026-05-18T18:52:31.015Z","tsv":"'/gws-script-push/skill.md':40 '/gws-shared/skill.md':13 'activ':142 'add':178 'add-on':177 'api':49,190,222 'app':6,46,186,188 'auth':15 'base':102 'bash':31,226 'behalf':61 'brows':227 'build':251 'call':220 'clear':195 'code':122 'command':36,37,218 'content':115,147,154 'creat':29,89,90 'current':70,86 'data':133 'default':242 'deploy':203,207 'descript':38 'develop':192 'discov':217 'editor':175 'empti':93 'execut':79,140,168 'exist':198 'file':43,99,104,129,199 'flag':17,34,256 'generat':26 'generate-skil':25 'get':105,106,113,131 'getcont':112 'getmetr':130 'global':16 'googl':5 'gws':2,24,32,231,243,247 'gws-script':1 'head':159 'help':233 'helper':35 'includ':120 'inform':54,74 'inspect':224,234 'json':255 'list':52,53,73 'listscriptprocess':72 'local':42 'made':57 'manag':4 'manifest':103 'metadata':111,125 'method':223,230,236 'metric':132 'miss':22 'mode':181,193 'new':92 'number':138 'oper':204,210 'output':249 'param':239,253 'prerequisit':11 'preview':180 'process':51,56,67,80,83 'project':8,48,88,95,109,119,152,202 'push':39 'read':12 'requir':238 'resourc':50,208,214,228 'rule':20 'run':23,216 'schema':244,248 'script':3,7,9,33,47,77,94,98,108,118,128,135,151,166,174,189,215,232,245 'secur':19 'skill':27 'skill-gws-script' 'sourc':123 'source-googleworkspace' 'specifi':150 'status':71,87 'store':156 'topic-agent-skills' 'topic-ai-agent' 'topic-automation' 'topic-cli' 'topic-discovery-api' 'topic-gemini-cli-extension' 'topic-google-admin' 'topic-google-api' 'topic-google-calendar' 'topic-google-chat' 'topic-google-docs' 'topic-google-drive' 'trigger':171 'type':68,84,240 'updat':145 'updatecont':144 'upload':41 'use':163,246 'user':64,143 'v1':10 'version':160,209,213 'web':185","prices":[{"id":"0e2fec3c-7684-4b30-9614-360ad01701cd","listingId":"3a159e28-a2cb-470d-96ff-9fa066636aff","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"googleworkspace","category":"cli","install_from":"skills.sh"},"createdAt":"2026-04-18T20:27:32.589Z"}],"sources":[{"listingId":"3a159e28-a2cb-470d-96ff-9fa066636aff","source":"github","sourceId":"googleworkspace/cli/gws-script","sourceUrl":"https://github.com/googleworkspace/cli/tree/main/skills/gws-script","isPrimary":false,"firstSeenAt":"2026-04-18T21:52:04.744Z","lastSeenAt":"2026-05-18T18:52:31.015Z"},{"listingId":"3a159e28-a2cb-470d-96ff-9fa066636aff","source":"skills_sh","sourceId":"googleworkspace/cli/gws-script","sourceUrl":"https://skills.sh/googleworkspace/cli/gws-script","isPrimary":true,"firstSeenAt":"2026-04-18T20:27:32.589Z","lastSeenAt":"2026-05-07T22:40:19.940Z"}],"details":{"listingId":"3a159e28-a2cb-470d-96ff-9fa066636aff","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"googleworkspace","slug":"gws-script","github":{"repo":"googleworkspace/cli","stars":26371,"topics":["agent-skills","ai-agent","automation","cli","discovery-api","gemini-cli-extension","google-admin","google-api","google-calendar","google-chat","google-docs","google-drive","google-sheets","google-workspace","oauth2","rust"],"license":"apache-2.0","html_url":"https://github.com/googleworkspace/cli","pushed_at":"2026-05-12T16:46:11Z","description":"Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.","skill_md_sha":"e7e288aafd0696d46bc7cbbeb1943766512653b8","skill_md_path":"skills/gws-script/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/googleworkspace/cli/tree/main/skills/gws-script"},"layout":"multi","source":"github","category":"cli","frontmatter":{"name":"gws-script","description":"Manage Google Apps Script projects."},"skills_sh_url":"https://skills.sh/googleworkspace/cli/gws-script"},"updatedAt":"2026-05-18T18:52:31.015Z"}}