gws-script

gws-script is a skill for Claude Code, Codex from fakoli/fakoli-plugins. It costs 21 tokens per session (521 once invoked), scanned A, original, MIT.

A command for uploading local JavaScript, HTML, and Apps Script files to a Google Apps Script project. Apps Script is Google's service for running scripts connected to its products.

In plain words
What is it for?
Deploying a script from a directory and retrieving or inspecting Apps Script project details.
Why use it?
It puts local project files into the remote script project, replacing its existing files.

Skill for Claude CodeCodex

Part of the gws plugin — 94 skills, 15 commands, 11 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/fakoli/fakoli-plugins/gws-script
Any agent
npx skills add fakoli/fakoli-plugins --skill gws-script
Clone the repo
git clone --depth 1 https://github.com/fakoli/fakoli-plugins

Made for: Claude Code, Codex.

Or install gws, the plugin that ships this one along with the rest of its 94 skills, 15 commands, 11 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gws-script

README.md
[![agentmods](https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/gws-script.svg)](https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-script)
Your own site
<a href="https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-script"><img src="https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/gws-script.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 521 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00021 $0.00521
Opus 5 $0.00010 $0.00260
Sonnet 5 $0.00004 $0.00104
Haiku 4.5 $0.00002 $0.00052

Measured yesterday against content hash ec8ee88160a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gws-script scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/gws/skills/gws-script/SKILL.md · 82 lines

What it actually says

gws script

Reference: See the gws-shared skill for auth, global flags, and security rules.

Deploy and manage Google Apps Script projects using the gws CLI.

Helper Command

+push — Upload local files to an Apps Script project

Replaces ALL files in the target Apps Script project with files from a local directory.

gws script +push --script SCRIPT_ID
gws script +push --script SCRIPT_ID --dir ./src

Supported file types: .gs, .js, .html, appsscript.json

Automatic behavior:

  • Skips hidden files and node_modules
  • Replaces the entire project content (not a merge)

Raw API Access

You can also use the Apps Script API directly:

# List script projects
gws script projects list

# Get project content
gws script projects getContent --params '{"scriptId": "SCRIPT_ID"}'

# Get project metadata
gws script projects get --params '{"scriptId": "SCRIPT_ID"}'

Examples

Deploy a script from current directory

# Check what files will be uploaded
ls *.gs *.html appsscript.json

# Push to the project
gws script +push --script 1BxTjDmEZcABxhVBmFLRfMXD4eHJB7k_g2r-example

Deploy from a specific directory

gws script +push --script SCRIPT_ID --dir ./apps-script-src

View current project content before pushing

gws script projects getContent --params '{"scriptId": "SCRIPT_ID"}'

Caution

  • +push replaces all files in the project — there is no merge or diff
  • Always verify the script ID before pushing
  • Consider keeping a backup of the current project content:
    gws script projects getContent --params '{"scriptId": "SCRIPT_ID"}' > backup.json
    

Tips

  • Keep your Apps Script source files in a dedicated directory (e.g., ./apps-script/)
  • Use version control (git) alongside +push for change tracking
  • The appsscript.json manifest file controls runtime settings, scopes, and triggers
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 82 lines · 21 tokens per session scan A ec8ee88160a9

Subscribe to this mod's changes

gws-script is a skill published in the GitHub repository fakoli/fakoli-plugins (4 stars, last pushed 27d ago), licensed MIT. It adds 21 tokens to every session and 521 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

aws-cdk-knowledge-patch

Load this skill when changing, reviewing, debugging, or upgrading AWS CDK applications, construct libraries, CLI integrations, or synthesized CloudFormation templates.

Nevaberry/nevaberry-plugins · 11 tokens

deno-knowledge-patch

Use this skill when choosing current Deno runtime APIs, CLI options, configuration, dependency behavior, Node compatibility, or deployment workflows. Open the topic reference before changing a project because several commands, flags, APIs, and defaults changed more than once.

Nevaberry/nevaberry-plugins · 9 tokens

apache-flink-knowledge-patch

Use this skill when upgrading or operating Flink, writing DataStream or Table API jobs, changing SQL, implementing connectors, or diagnosing state, checkpoint, scheduling, and deployment behavior. Start with the quick checks, then open the topic reference that matches the work.

Nevaberry/nevaberry-plugins · 11 tokens

argo-cd-knowledge-patch

Use this skill when upgrading or configuring Argo CD, writing Applications or ApplicationSets, integrating repositories and Source Hydrator, operating the CLI or API, or updating security, health, and observability behavior. Start with the behavior changes below, then open the reference for the task at hand.

Nevaberry/nevaberry-plugins · 11 tokens

aws-sdk-knowledge-patch

Use this skill when upgrading an AWS SDK or CLI, changing a supported runtime, configuring shared SDK behavior, or implementing one of the service APIs in the reference index. Identify the language, SDK major version, runtime, service, and deployment environment before applying the guidance.

Nevaberry/nevaberry-plugins · 9 tokens

azure-knowledge-patch

Use this skill for Azure infrastructure, Azure CLI, Azure PowerShell, Terraform AzureRM or AzAPI, Bicep, identity SDK, Microsoft Entra, networking, compute, containers, data services, storage, Key Vault, governance, and service lifecycle work.

Nevaberry/nevaberry-plugins · 8 tokens