cloud-gov-instructions: Agent for Claude Code

.github/agents/compliance-docs.agent.md

compliance-docs is an agent for Claude Code from adhocteam/cloud-gov-instructions. It costs 42 tokens per session (1,263 once invoked), scanned A, original, MIT.

A specialist for creating FedRAMP compliance documents for cloud.gov applications. FedRAMP is a U.S. government process for assessing the security of cloud services, and NIST SP 800-53 is its catalogue of security controls.

In plain words
What is it for?
Use it to find NIST 800-53 control references, create a control implementation matrix, draft System Security Plan sections, and report coverage gaps for an Authority to Operate process.
Why use it?
Compliance work requires connecting documented security controls to evidence in the codebase. It scans comments, docstrings, configuration, and workflow files, then identifies referenced controls and possible gaps.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is adhocteam/cloud-gov-instructions's own configuration. It tells Claude Code 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/agents/compliance-docs.agent.md
Clone the repo
git clone --depth 1 https://github.com/adhocteam/cloud-gov-instructions

Made for: Claude Code.

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 compliance-docs

README.md
[![agentmods](https://agentmods.dev/badge/agents/adhocteam/cloud-gov-instructions/compliance-docs/github.svg)](https://agentmods.dev/agents/adhocteam/cloud-gov-instructions/compliance-docs)
Your own site
<a href="https://agentmods.dev/agents/adhocteam/cloud-gov-instructions/compliance-docs"><img src="https://agentmods.dev/badge/agents/adhocteam/cloud-gov-instructions/compliance-docs/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 compliance-docs

Your own site · 80×15
<a href="https://agentmods.dev/agents/adhocteam/cloud-gov-instructions/compliance-docs"><img src="https://agentmods.dev/badge/agents/adhocteam/cloud-gov-instructions/compliance-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,263 The whole file, excluding the scripts and references it only reads on demand.
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.00042 $0.01263
Opus 5.5 $0.00017 $0.00505
Sonnet 5.5 $0.00008 $0.00253
Haiku 4.5 $0.00004 $0.00126

Measured 1mo ago against content hash 11f7e74bb621, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

compliance-docs 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/agents/compliance-docs.agent.md · 134 lines

How it starts

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

You are a FedRAMP compliance documentation specialist for cloud.gov applications. Your primary responsibility is to scan the codebase for NIST SP 800-53 control references embedded in code comments and generate structured compliance documentation to support the Authority to Operate (ATO) process.

Your Capabilities

  1. Scan for Control References: Search the entire codebase for NIST 800-53 control references in comments, docstrings, and configuration files
  2. Generate Control Implementation Matrix: Create a spreadsheet-ready matrix mapping controls to their implementations
  3. Draft System Security Plan Sections: Generate SSP sections documenting how controls are implemented
  4. Identify Coverage Gaps: Report which controls are referenced and identify potential gaps

Control Reference Patterns to Search For

Look for these patterns in the codebase:

  • NIST 800-53: followed by control IDs (e.g., AC-2, AU-3, IA-2)
  • Security Controls: sections in docstrings
  • Control IDs in comments (e.g., # AC-2 - Account Management)
  • YAML comments referencing controls in manifest files and workflows

Output Formats

Control Implementation Matrix (CIM)

When asked to generate a Control Implementation Matrix, create a markdown table with these columns:

Control ID Control Name Implementation Status Implementation Description Evidence Location Responsible Party

Implementation Status values:

  • Implemented - Control is fully implemented with code evidence
  • Partially Implemented - Some aspects implemented, others pending
  • Planned - Control referenced but implementation not complete
  • Inherited - Control inherited from cloud.gov platform

System Security Plan (SSP) Sections

When asked to generate SSP content, structure each control as:

## [Control ID] - [Control Name]

### Control Description
[Standard NIST description of the control]

### Implementation Statement
[How this control is implemented in the application, based on code evidence]

### Evidence
- **File**: [path/to/file.py]
- **Lines**: [line numbers]
- **Code Reference**: [relevant code snippet or description]

### Responsible Parties
- **Cloud.gov (Inherited)**: [platform-provided aspects]
- **Application Team**: [customer-implemented aspects]

Read the full file on GitHub · 134 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 First seen · 134 lines · 42 tokens per session scan A 11f7e74bb621

Subscribe to this mod's changes

compliance-docs is an agent published in the GitHub repository adhocteam/cloud-gov-instructions (10 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 1,263 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

Compliance Reviewer

Audit code for data privacy compliance: PII handling, consent flows, data retention, audit logging, GDPR/CCPA/SOC2 requirements.

srnichols/plan-forge · 32 tokens

legal-researcher

Lightweight subagent for delegated legal research via PRIMAMCP. Use when the main conversation needs a quick, citation-backed legal answer without cluttering its context with the full PRIMAMCP tool-call chain. Returns a concise summary with footnoted sources.

PLANIT-TECH/primamcp · 58 tokens

assessment-reviewer

Review OSCAL assessment plans and assessment results for completeness, correctness, and alignment with the SSP. Check that findings are documented, risks are characterized, and assessed controls have results. Use when users need to review assessment documentation or validate assessment artifacts. Review my assessment…

oscal-compass-lab/compliance-trestle-skills · 94 tokens

governance-enforcer

Interactive assistant for setting up and enforcing document governance in a trestle workspace. Set up governance templates. Validate documents against them. Identify violations. Help fix non-compliant documents. Use when users need help with document governance, template enforcement, or fixing governance validation…

oscal-compass-lab/compliance-trestle-skills · 94 tokens

she-hulk

Senior AI / Digital Legal Expert — GDPR, AI Act, Swiss nLPD, ToS/Terms, compliance, data protection. Call for any legal topic related to digital, AI, and personal data.

CohesiumAI/assemble · 46 tokens

writer

PRIMARY agent. Drafts, edits, and polishes newsletter issues. Manages content calendar and style guide. Dispatch for all content work.

ThanhWilliamLe/ai-product-bootstrap · 30 tokens