cloud-gov-instructions copilot-instructions.md

cloud-gov-instructions copilot-instructions.md is an instructions file for GitHub Copilot from adhocteam/cloud-gov-instructions. It costs 1,321 tokens per session, scanned A, original, MIT.

Development guidance for cloud.gov, a U.S. government cloud platform built on Cloud Foundry. It explains organizations, isolated environments called spaces, applications, containers, and deployment with the cf command.

In plain words
What is it for?
Developing and deploying applications on cloud.gov, selecting the right organization and space, and working with platform-provided services and security requirements.
Why use it?
It gives a coding agent the platform rules needed to work safely with development, staging, and production environments. This helps prevent deploying to the wrong place or misunderstanding how cloud.gov applications run.

Instructions file for GitHub Copilot

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

Made for: GitHub Copilot.

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 copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/adhocteam/cloud-gov-instructions/copilot-instructions.svg)](https://agentmods.dev/instructions/adhocteam/cloud-gov-instructions/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/adhocteam/cloud-gov-instructions/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/adhocteam/cloud-gov-instructions/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,321 This file is loaded in full into every session.
When invoked 1,321 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.01321 $0.01321
Opus 5 $0.00660 $0.00660
Sonnet 5 $0.00264 $0.00264
Haiku 4.5 $0.00132 $0.00132

Measured 5d ago against content hash 0867fb3c661a, 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 copilot-instructions.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 5d 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.

.github/copilot-instructions.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.

Cloud.gov Development Instructions

This repository contains an application deployed to cloud.gov, a FedRAMP-authorized Platform as a Service (PaaS) operated by the U.S. General Services Administration (GSA). These instructions help AI coding assistants understand cloud.gov conventions and best practices.

Platform Overview

Cloud.gov is built on Cloud Foundry and provides:

  • FedRAMP Moderate authorization - Inherit ~60% of NIST SP 800-53 controls
  • Self-service deployment - Deploy with cf push, no infrastructure tickets required
  • Managed services - Databases, object storage, and more via the marketplace
  • Isolated environments - Separate spaces for dev, staging, and production

Key Concepts

Organizations and Spaces

  • Organization (org): Top-level container for users, spaces, and quotas
  • Space: Isolated environment within an org (e.g., dev, staging, prod)
  • Target: Set your working org/space with cf target -o <ORG> -s <SPACE>

Applications

  • Applications are deployed as containers built from source code using buildpacks
  • Each app instance runs in an isolated container with its own memory and disk allocation
  • Apps should follow Twelve-Factor App principles

Common CF CLI Commands

Authentication

# Target the cloud.gov API endpoint
cf api api.fr.cloud.gov

# Login with service account credentials (for CI/CD)
cf auth <USERNAME> <PASSWORD>

# Target an org and space
cf target -o <ORG> -s <SPACE>

# Login with SSO (recommended for interactive use)
cf login -a api.fr.cloud.gov --sso

Deployment

# Deploy an application
cf push <APP_NAME>

# Deploy with a specific manifest file
cf push -f manifest.yml

# Deploy without starting the app
cf push <APP_NAME> --no-start

# View application status
cf app <APP_NAME>

# View recent logs
cf logs <APP_NAME> --recent

# Stream live logs
cf logs <APP_NAME>

Application Management

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. 5d ago First seen · 202 lines · 1,321 tokens per session scan A 0867fb3c661a

Subscribe to this mod's changes

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