gas-execution

gas-execution is a skill for Claude Code, Codex from tanaikech/ggsrun. It costs 34 tokens per session (2,280 once invoked), scanned A, original, MIT.

Guidelines for developing and running Google Apps Script, Google's JavaScript platform for automating services such as Sheets and Drive. They describe using ggsrun and retrieving execution logs when needed.

In plain words
What is it for?
Use them when writing, testing, executing, or debugging Google Apps Script applications.
Why use it?
They establish a consistent way to synchronize code, run a script, and inspect its output during development.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use them when writing, testing, executing, or debugging Google Apps Script applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tanaikech/ggsrun/gas-execution
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.

Any agent
npx skills add tanaikech/ggsrun --skill gas-execution
Clone the repo
git clone --depth 1 https://github.com/tanaikech/ggsrun

Made for: Claude Code, Codex.

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 gas-execution

README.md
[![agentmods](https://agentmods.dev/badge/skills/tanaikech/ggsrun/gas-execution/github.svg)](https://agentmods.dev/skills/tanaikech/ggsrun/gas-execution)
Your own site
<a href="https://agentmods.dev/skills/tanaikech/ggsrun/gas-execution"><img src="https://agentmods.dev/badge/skills/tanaikech/ggsrun/gas-execution/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gas-execution

Your own site · 80×15
<a href="https://agentmods.dev/skills/tanaikech/ggsrun/gas-execution"><img src="https://agentmods.dev/badge/skills/tanaikech/ggsrun/gas-execution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,280 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00034 $0.02280
Opus 5 $0.00017 $0.01140
Sonnet 5 $0.00007 $0.00456
Haiku 4.5 $0.00003 $0.00228

Measured 12d ago against content hash 6c87cad15b76, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

gas-execution 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 12d ago.

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.

skills/gas-execution/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Apps Script Execution and Development Skill

Follow these guidelines when writing, reviewing, and executing Google Apps Script (GAS) applications:

Script Execution via ggsrun

  • Execution Tool (exe1): Always prefer the exe1 tool of the ggsrun MCP server to synchronize local code/directories and run the entry function in a single transaction.
  • Opt-in Log Retrieval (Default Off): To guarantee sub-second execution, ggsrun does not fetch logs from Cloud Logging by default. If you need to inspect Logger.log() or console.log() outputs, you must explicitly set the log: true parameter (or use the --log / -l flag in CLI mode). Note that enabling log retrieval adds a 5–10 second delay to allow Google's indexing.
  • Clock-Drift Immunity: ggsrun queries Cloud Logging using a wide past window (timestamp >= startTime - 60m) and completely omits any future upper bounds (timestamp <= ...). This makes the query completely immune to local clock drift (e.g., when the host machine's clock is minutes or hours behind the actual time). Do not worry about clock discrepancies when retrieving logs.
  • Post-Detection Multi-Poll Buffer: Due to Google's parallel logging nodes, console.log and Logger.log can index several seconds apart. Once ggsrun detects the first log entry for the current Apps Script process_id, it automatically queries 4 more times at 2.0-second intervals (providing an 8.0-second stabilization window) to capture all lagging streams.
  • TUI On-Demand Async Log Injection: When executing via the TUI (ggsrun fd), the execution result is displayed instantly without waiting. An overlay modal then prompts: "Do you want to retrieve execution logs from Cloud Logging?". If you select Yes, logs are fetched in a background goroutine and dynamically injected into the active text view.
  • In-Memory Sandbox (sandbox): For secure execution, pass the path of your whitelist configuration JSON (e.g. sandbox: "sandbox_config.json") to exe1. This instructs ggsrun to generate a separate sandbox guard file (_for_sandbox_gas.gs) containing the whitelists, which is evaluated first alphabetically by the GAS V8 engine. The user's execution scripts only undergo static token replacement (e.g., SpreadsheetApp -> _wrappedSpreadsheetApp), meaning their line numbers remain completely unchanged. If an error occurs, the line numbers in the stack trace will match your local source files exactly, allowing you to debug directly.
  • Auto-Cleanup & Resilient Rollback: ggsrun performs an in-memory backup of the remote project state (including all script files and the appsscript.json manifest). On execution completion, runtime sandboxing halts, or process interrupts (Ctrl+C), ggsrun automatically rolls back all file changes on the remote script project, leaving your codebase 100% clean and pristine. This cleanup behavior is enabled by default. To bypass this cleanup and leave the uploaded files in the remote project, use the undeleteScript: true option (or --undeleteScript / --ud flag in CLI mode).
  • Intelligent Manifest Merging: When executing scripts that require Advanced Services or custom dependencies, you can upload a local appsscript.json manifest. ggsrun will automatically merge your dependencies (e.g., enabledAdvancedServices or custom libraries) with the remote project's existing manifest without breaking critical configurations like executionApi or webapp needed for execution.
  • Self-Healing Recovery: If a script execution is interrupted and the remote project is left in an inconsistent state, you can run the ggsrun recover command to immediately restore the project to the pristine ggsrun state.
  • Designing Return Values: The execution response displays only the value returned by the return statement of the executed function. Design your script to return a meaningful value representing the execution result.
  • Detailed Logs: You can return detailed logs or execution summaries as the final return string to provide context and results to the user.
  • JSON Serialization: If returning structured data (such as objects, arrays, or status maps), use JSON.stringify() to serialize it before returning.

Read the full file on GitHub · 88 lines

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. 12d ago First seen · 88 lines · 34 tokens per session scan A 6c87cad15b76

Subscribe to this mod's changes

gas-execution is a skill published in the GitHub repository tanaikech/ggsrun (172 stars, last pushed 17d ago), licensed MIT. It adds 34 tokens to every session and 2,280 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

printing-press-amend

Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…

mvanhorn/cli-printing-press · 222 tokens

printing-press

Set up a new integration, connector, or CLI binding for any API. Wrap or generate a ship-ready Go CLI from an OpenAPI, HAR, or Postman spec via the lean research -> generate -> build -> shipcheck loop. Use when the user says build a CLI, wrap this API, set up a new integration, add a connector, integrate with a…

mvanhorn/cli-printing-press · 86 tokens

opensrc

Fetch dependency source code to give AI agents deeper implementation context. Use when the agent needs to understand how a library works internally, read source code for a package, fetch implementation details for a dependency, or explore how an npm/PyPI/crates.io package is built. Triggers include "fetch source for"…

vercel-labs/opensrc · 103 tokens

lap

LAP CLI -- compile, search, and manage API specs for AI agents. Use when working with API specifications (OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman), compiling specs to LAP format, searching the LAP registry, generating skills from API specs, or publishing APIs. Commands: init, compile, search, get, skill…

Lap-Platform/LAP · 89 tokens

lap

LAP CLI -- compile, search, and manage API specs for AI agents. Use when working with API specifications (OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman), compiling specs to LAP format, searching the LAP registry, generating skills from API specs, or publishing APIs. Commands: init, compile, search, get, skill…

Lap-Platform/LAP · 89 tokens

binance-spot-openapi-skill

Operate Binance Spot market, account, and order APIs through UXC with a curated OpenAPI schema, Binance query signing, and separate mainnet/testnet link flows.

holon-run/uxc · 42 tokens