googlecloud-plugin AGENTS.md

Repository instructions for a Google Cloud plugin used by AI coding agents. Google Cloud is Google's platform for running applications and infrastructure, and these instructions require design, security, testing, and operations checks before implementation.

In plain words
What is it for?
Use them when designing or building Google Cloud systems, especially agent-based systems, and when checking security, quality, costs, monitoring, and runbooks.
Why use it?
They provide a fixed review path so cloud work is planned, permission-safe, tested, and ready to operate before code or billable services are used.

Instructions file for CodexOpenCode

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 instructions/jpantsjoha/googlecloud-plugin/agents-md
Clone the repo
git clone --depth 1 https://github.com/jpantsjoha/googlecloud-plugin

Made for: Codex, OpenCode.

Per session 426 This file is loaded in full into every session.
When invoked 426 The same file — it is already loaded in full.
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.00426 $0.00426
Opus 5 $0.00213 $0.00213
Sonnet 5 $0.00085 $0.00085
Haiku 4.5 $0.00043 $0.00043

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

Security

Grade A, and why

googlecloud-plugin 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 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.

AGENTS.md · 31 lines

What it actually says

AGENTS.md — GoogleCloud Plugin (Codex always-on adapter)

Human-led. Agent-powered. Built on Google Cloud.

Codex discovers this plugin's skills under .agents/skills/ and reads this file as the always-on contract for Google Cloud work. The skills carry the depth; this file carries the rules.

Design before generate

Restate the intent in one sentence before writing code. No GCP implementation without a design — route through the gate.

The gate (sequential — do not skip)

  1. Solution Gatesolution-designer: objective vendor selection (GCP vs alternatives). Skip only if unambiguously GCP-only.
  2. GCP Design Gategcp-architect (+ agent-architect for agentic work): HLD/LLD + ADRs before code.
  3. Security Gategcp-security: least-privilege IAM, no secrets, Well-Architected security. Reviews the design.
  4. Implementation — service skills; warn before every billable action.
  5. Quality Gategcp-qa runs make gate; agent-architect runs agent-eval for agentic work.
  6. Operational Readiness Gategcp-ops: SLO + alerting + runbook before production.

Non-negotiable safety rules

  • Infer intent, never infer permission. A named human authorises anything consequential, billable, or irreversible.
  • No credential values in any file — record location only.
  • No public buckets or unauthenticated Cloud Run without gcp-security sign-off.
  • Never pin a preview Gemini model ID; use GA IDs, reverify for the GEAP surface.
  • GEAP naming in prose; legacy vertex-ai literals in code/URLs/Terraform.

Routing

See PLUGIN.md for the full routing table. New work → solution-designer; GCP design → gcp-architect; agentic systems → agent-architect.

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 · 31 lines · 426 tokens per session scan A 426b078d108e

Subscribe to this mod's changes

googlecloud-plugin AGENTS.md is an instructions file published in the GitHub repository jpantsjoha/googlecloud-plugin (4 stars, last pushed 25d ago), licensed MIT. It adds 426 tokens to every session, about $0.0021 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-31.