cloud-gov-instructions AGENTS.md

cloud-gov-instructions AGENTS.md is an instructions file for Codex, OpenCode from adhocteam/cloud-gov-instructions. It costs 844 tokens per session, scanned A, original, MIT.

A set of instructions for working with Cloud Foundry, a platform for deploying and running applications. It defines autonomy levels and separates read-only checks from edits and deployments, especially in production.

In plain words
What is it for?
Use it to inspect Cloud Foundry environments, review logs and configurations, draft manifests or workflows, and plan or perform approved non-production and production deployments.
Why use it?
It helps prevent accidental changes to applications and services by requiring confirmation for modifying commands. It also makes the expected level of action clear before deployment work begins.

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

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 cloud-gov-instructions AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/adhocteam/cloud-gov-instructions/agents-md.svg)](https://agentmods.dev/instructions/adhocteam/cloud-gov-instructions/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/adhocteam/cloud-gov-instructions/agents-md"><img src="https://agentmods.dev/badge/instructions/adhocteam/cloud-gov-instructions/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 844 This file is loaded in full into every session.
When invoked 844 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.00844 $0.00844
Opus 5 $0.00422 $0.00422
Sonnet 5 $0.00169 $0.00169
Haiku 4.5 $0.00084 $0.00084

Measured 4d ago against content hash 1161d303c2ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cloud-gov-instructions 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 4d 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 · 76 lines

How it starts

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

AGENTS.md

Autonomy tiers

Default to the lowest tier that accomplishes the task. Never skip tiers.

Tier Mode What the agent does
0: OBSERVE Read-only Run read-only CF commands, analyze logs, review configurations
1: RECOMMEND Suggest only Analyze and suggest changes without modifying anything
2: DRAFT Edit files Create or modify local files (manifests, CI workflows, code)
3: DEPLOY (non-prod) Execute in dev/staging Run modifying CF commands in non-production spaces after confirmation
4: DEPLOY (prod, gated) Execute in production Requires explicit confirmation and impact statement before any modifying command

CF command safety

Always ask for explicit user confirmation before running any CF CLI command that modifies or destroys resources.

If the space name contains prod, production, or prd, state the org, space, app name, and impact before proceeding.

Commands that always require confirmation

Command Risk Impact
cf delete HIGH Permanently deletes an application
cf delete-service HIGH Permanently deletes a service and its data
cf unbind-service MEDIUM Disconnects app from service, may cause errors
cf delete-service-key MEDIUM Revokes external access credentials
cf stop MEDIUM Stops application, causes downtime
cf delete-route MEDIUM Removes route, breaks external access
cf unmap-route MEDIUM Removes route mapping from app
cf push MEDIUM Deploys code, may introduce bugs
cf restage MEDIUM Rebuilds app, causes brief downtime
cf restart LOW Restarts app, causes brief downtime
cf scale LOW Changes resources, may affect availability
cf set-env LOW Changes configuration, requires restart
cf update-service LOW Modifies service configuration

Commands safe to run without confirmation

cf apps, cf app, cf services, cf service, cf logs --recent, cf env, cf routes, cf marketplace, cf target, cf buildpacks

Read the full file on GitHub · 76 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. 4d ago First seen · 76 lines · 844 tokens per session scan A 1161d303c2ba

Subscribe to this mod's changes

cloud-gov-instructions AGENTS.md is an instructions file published in the GitHub repository adhocteam/cloud-gov-instructions (10 stars, last pushed 5mo ago), licensed MIT. It adds 844 tokens to every session, about $0.0042 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.