gas: Instructions file for Codex

AGENTS.md

gas AGENTS.md is an instructions file for Codex, OpenCode from neilobremski/gas. It costs 2,315 tokens per session, scanned A, original, Unlicense.

Repository guidance for Google Apps Script modules and deployable scripts, including project layout, development workflows, and tests.

In plain words
What is it for?
Working on the GAS Bridge, A8S participant, shared library modules, tests, dependencies, and deployment files.
Why use it?
It explains how this repository is organized and how its scripts should be changed, tested, and deployed.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is neilobremski/gas's own configuration. It tells Codex and OpenCode how to work on gas itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gas configures →

Reuse

Borrowing it

Nothing to install: this file belongs to neilobremski/gas. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/neilobremski/gas/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/neilobremski/gas

Made for: Codex, OpenCode.

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 AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/neilobremski/gas/agents-md.svg)](https://agentmods.dev/instructions/neilobremski/gas/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/neilobremski/gas/agents-md"><img src="https://agentmods.dev/badge/instructions/neilobremski/gas/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,315 This file is loaded in full into every session.
When invoked 2,315 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.02315 $0.02315
Opus 5 $0.01157 $0.01157
Sonnet 5 $0.00463 $0.00463
Haiku 4.5 $0.00231 $0.00231

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

Security

Grade A, and why

gas AGENTS.md scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Bridge | Manual curl / `gas` CLI against deployed instance |
AGENTS.md · 202 lines

How it starts

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

AGENTS.md — gas repo

Guidance for AI agents working in this repository.

What this repo is

Google Apps Script (GAS) modules and deployable scripts:

Path Purpose
bridge/ GAS Bridge — key-authenticated JSON API (Gmail, Drive, Sheets, Calendar, Docs, Contacts, Tasks, Translate, Gemini). Single file: bridge/Code.js.
a8s/ A8S participant — Drive filedrop agent for A8S. Main logic: a8s/Code.js; vendored deps: a8s/vendor/marked.js.
GasAWS.js, GasBQ.js Standalone library modules users copy into their own GAS projects.
vidsite/ Static site (not GAS).

The gas Python CLI (separate install) POSTs JSON to a deployed GAS Bridge web app. See the gas skill for CLI usage.

A8S project layout

a8s/
  Code.js                 # main script (IIFE + top-level entry points)
  vendor/marked.js        # esbuild-transpiled marked (ES2017, pushed to GAS)
  appsscript.json         # manifest (V8, Calendar advanced service)
  package.json            # npm dep: marked; devDep: esbuild
  scripts/vendor-marked.mjs
  tests/test.js           # unit tests (Node.js)
  deploy.sh               # npm ci → vendor → tests → clasp push
  .claspignore            # excludes node_modules, tests, scripts, etc.

clasp pushes: Code.js, vendor/marked.js, appsscript.json only.

Development workflows

A8S participant (a8s/)

cd a8s
npm ci && npm run vendor   # transpile marked → vendor/marked.js
tests/run                  # unit test suite
./deploy.sh                # npm ci, vendor, tests, clasp push
clasp push                 # push without testing
  • Multi-file GAS project: Code.js + vendor/marked.js share one global scope.
  • npm vendoring: marked is bundled with esbuild (target: es2017) because GAS V8 lacks class fields, optional chaining, etc. Never copy raw marked.umd.js — it will fail clasp push. See scripts/vendor-marked.mjs.
  • Pure helpers duplicated in a8s/tests/test.js — keep in sync when changing markdown, routing, or logging formatters.
  • Runtime: V8, 6-minute execution limit, Drive/Gmail quotas.
  • Config (Script Properties):

Read the full file on GitHub · 202 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. 6d ago First seen · 202 lines · 2,315 tokens per session scan A 533f3cc3af79

Subscribe to this mod's changes

gas AGENTS.md is an instructions file published in the GitHub repository neilobremski/gas (5 stars, last pushed 9d ago), licensed Unlicense. It adds 2,315 tokens to every session, about $0.0116 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens