cloud-gov-instructions: Instructions file for GitHub Copilot

.github/copilot-instructions.md

cloud-gov-instructions copilot-instructions.md is an instructions file for GitHub Copilot from adhocteam/cloud-gov-instructions. It costs 1,441 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

Written for GitHub Copilot: a Copilot instructions file.

This is adhocteam/cloud-gov-instructions's own configuration. It tells GitHub Copilot how to work on cloud-gov-instructions 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 cloud-gov-instructions configures →

Reuse

Borrowing it

Nothing to install: this file belongs to adhocteam/cloud-gov-instructions. 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/adhocteam/cloud-gov-instructions/main/.github/copilot-instructions.md
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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cloud-gov-instructions copilot-instructions.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,441 This file is loaded in full into every session.
When invoked 1,441 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.01441 $0.01441
Opus 5.5 $0.00576 $0.00576
Sonnet 5.5 $0.00288 $0.00288
Haiku 4.5 $0.00144 $0.00144

Measured 1mo ago against content hash 436f606a0888, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 212 lines

How it starts

The opening of the file, as written. The whole thing — 212 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 and agent-driven workflows)
# Store credentials in a .env file to avoid exposing them in shell history:
#   CF_USERNAME=<SERVICE_ACCOUNT_USERNAME>
#   CF_PASSWORD=<SERVICE_ACCOUNT_PASSWORD>
# Then source the file and authenticate:
source .env
cf auth

# 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

Security note: Never pass credentials as positional arguments to cf auth — they will appear in shell history and process listings. Use the CF_USERNAME and CF_PASSWORD environment variables instead. Store them in a .env file (excluded from version control via .gitignore) and load with source .env.

Read the full file on GitHub · 212 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. 1mo ago Changed · +10 lines · +120 tokens per session 436f606a0888
  2. 1mo 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 1mo ago), licensed MIT. It adds 1,441 tokens to every session, about $0.0058 per session on Opus 5.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.