Learn-GAS: Instructions file for Codex

AGENTS.md

Learn-GAS AGENTS.md is an instructions file for Codex, OpenCode from iamraven-tw/Learn-GAS. It costs 797 tokens per session, scanned A, original, MIT.

An instruction file for a Google Apps Script project, including collaboration rules and procedures for installing skill packages. Google Apps Script is Google’s platform for automating services such as Sheets, Gmail, and Drive.

In plain words
What is it for?
It guides Apps Script development, Chinese-language documentation, TypeScript and Python tool choices, OAuth permissions, clasp pushes, deployments, and skill installation.
Why use it?
It clarifies language, code, security, permissions, and approval rules, helping avoid unsafe publishing or accidentally exposing credentials.

Instructions file for CodexOpenCode

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

This is iamraven-tw/Learn-GAS's own configuration. It tells Codex and OpenCode how to work on Learn-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 Learn-GAS configures →

Reuse

Borrowing it

Nothing to install: this file belongs to iamraven-tw/Learn-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/iamraven-tw/Learn-GAS/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/iamraven-tw/Learn-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 Learn-GAS AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/iamraven-tw/learn-gas/agents-md.svg)](https://agentmods.dev/instructions/iamraven-tw/learn-gas/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/iamraven-tw/learn-gas/agents-md"><img src="https://agentmods.dev/badge/instructions/iamraven-tw/learn-gas/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 797 This file is loaded in full into every session.
When invoked 797 The same file — it is already loaded in full.
Security scan A 0 findings. 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.00797 $0.00797
Opus 5 $0.00398 $0.00398
Sonnet 5 $0.00159 $0.00159
Haiku 4.5 $0.00080 $0.00080

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

Security

Grade A, and why

Learn-GAS AGENTS.md 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 8d 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.

AGENTS.md · 23 lines

What it actually says

協作規則

  • 請使用繁體中文回覆與撰寫文件。
  • 新增一般工具程式時,優先使用 TypeScript 或 Python。
  • Apps Script 執行程式預設使用依功能分檔的 .gs;只有完整建立 TypeScript 與 bundler 建置流程時才使用 .ts,不得直接將原始 .ts 交給 clasp 推送。
  • 程式碼必須包含必要的繁體中文註解。
  • 不得提交 .clasprc.json、OAuth 憑證、API 金鑰、存取權杖或私人 Script ID。
  • 修改 Apps Script OAuth scopes 時,採用完成需求所需的最小權限。
  • 執行 clasp push、部署、建立 GitHub 遠端或公開發布前,必須先取得使用者確認。
  • 對使用者第一次提到 clasp push 時,先說明它是把本機已完成並通過測試的程式與資訊清單同步到指定 Apps Script 專案,不等於執行程式、寄信、建立觸發器或部署;固定稱為「推送到Apps Script(clasp push)」,不得只丟出英文命令。
  • 面向一般使用者或初學者的技術術語,先用白話解釋用途,再固定寫成「中文名稱(English)」,不得只使用英文術語或縮寫;例如「紀錄檔(Log)」。程式碼、命令、檔名、屬性名稱、產品名稱及正式介面文字維持原文,但必須另用中文說明用途。

技能包安裝規則

  • 使用者要求安裝、更新、檢查或移除本技能包時,先完整讀取根目錄的 INSTALL.md,並以該文件作為唯一安裝規格。
  • 依目前實際執行的 Agent 用戶端選擇安裝路徑,不得用目前選用的模型名稱判斷。若無法確認用戶端,先詢問使用者,不得猜測。
  • 除非使用者明確要求專案限定安裝,否則本技能包預設採使用者層級的全域安裝,讓技能可在 Learn-GAS 儲存庫外的學員專案使用。
  • 一次只安裝到目前用戶端對應的一個技能目錄,不得為了保險同時寫入 Claude Code、Codex 與 Antigravity 的所有路徑。
  • skills/ 是技能包原始內容,不是任何 Agent 已完成安裝的證據。安裝時必須保留四個技能目錄與 learner-facing-terminology.md 的相對位置。
  • 寫入前先核對來源、完整目的地、安裝範圍與同名檔案。遇到既有同名技能或內容差異時停止,說明影響並取得使用者確認,不得直接覆寫或刪除。
  • 只有使用者明確要求安裝或更新時才可寫入 Agent 的技能目錄;檢查、說明或閱讀專案不代表取得安裝授權。
  • 檔案複製完成不等於技能已可使用。必須依 INSTALL.md 在對應用戶端重新載入或開啟新工作階段,並從實際技能清單確認四個技能都可被發現,才能回報安裝完成。
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. 8d ago First seen · 23 lines · 797 tokens per session scan A b180a66f1759

Subscribe to this mod's changes

Learn-GAS AGENTS.md is an instructions file published in the GitHub repository iamraven-tw/Learn-GAS (22 stars, last pushed 1mo ago), licensed MIT. It adds 797 tokens to every session, about $0.0040 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 instructions, from other repositories

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,153 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

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

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

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

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