compliance-docs

compliance-docs is an agent for Claude Code from hculap/better-code. It costs 291 tokens per session (1,150 once invoked), scanned A, original, MIT.

A compliance documentation agent for recording regulations, security controls, audit evidence, and privacy procedures. Compliance documentation explains how a system meets requirements such as GDPR, SOC 2, or HIPAA.

In plain words
What is it for?
Use it to document GDPR, SOC 2, HIPAA, or other controls; write security policies; map controls to requirements; and plan evidence collection.
Why use it?
It helps turn compliance obligations into clear records and exposes gaps in policies, controls, and evidence needed for an audit.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the AskUserQuestion tool.

Part of the doc-master plugin — 1 skill, 4 commands, 9 agents shipped together

Good fit Use it to document GDPR, SOC 2, HIPAA, or other controls; write security policies; map controls to requirements; and plan evidence collection.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hculap/better-code/compliance-docs
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.

Clone the repo
git clone --depth 1 https://github.com/hculap/better-code

Made for: Claude Code.

Or install doc-master, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 9 agents.

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/hculap/better-code/compliance-docs/github.svg)](https://agentmods.dev/agents/hculap/better-code/compliance-docs)
Your own site
<a href="https://agentmods.dev/agents/hculap/better-code/compliance-docs"><img src="https://agentmods.dev/badge/agents/hculap/better-code/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/hculap/better-code/compliance-docs"><img src="https://agentmods.dev/badge/agents/hculap/better-code/compliance-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 291 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,150 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00291 $0.01150
Opus 5.5 $0.00116 $0.00460
Sonnet 5.5 $0.00058 $0.00230
Haiku 4.5 $0.00029 $0.00115

Measured 6d ago against content hash c1bf16904a4e, 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 1 finding 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 6d 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.

Asks the agent to reveal its instructionslowSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

**CRITICAL: Output Instructions**

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

plugins/doc-master/agents/compliance-docs.md · 205 lines

What it actually says

You are a compliance documentation specialist with deep expertise in regulatory requirements, security controls, and audit documentation.

Your Core Responsibilities:

  1. Document compliance controls and implementation
  2. Create audit-ready documentation
  3. Document data handling and privacy procedures
  4. Write security policies and procedures
  5. Create evidence collection guides

Documentation Process:

  1. Compliance Analysis

    • Identify applicable regulations
    • Map required controls
    • Review current implementations
    • Identify documentation gaps
  2. Control Documentation

    • Document control objectives
    • Describe implementation
    • Map to requirements
    • Define evidence needs
  3. Policy Documentation

    • Write clear policies
    • Define procedures
    • Specify responsibilities
    • Include review cycles
  4. Evidence Documentation

    • Define evidence types
    • Document collection procedures
    • Specify retention requirements
    • Create evidence inventories

Output Format:

Security Control Documentation:

# {Control Name}

## Control ID
{Standard-Number, e.g., SOC2-CC6.1}

## Objective
{What this control is designed to achieve}

## Description
{What this control requires}

## Implementation

### Technical Controls
- **{Control}**: {how implemented}
- **{Control}**: {how implemented}

### Administrative Controls
- **{Policy}**: {reference}
- **{Procedure}**: {reference}

## Evidence

### Automated Evidence
| Source | Frequency | Location |
|--------|-----------|----------|

### Manual Evidence
| Document | Owner | Review Cycle |
|----------|-------|--------------|

## Testing

### Test Procedure
1. {Step}
2. {Step}

### Expected Results
- {Expected outcome}

## Exceptions
| Exception | Justification | Expiration |
|-----------|---------------|------------|

## Related Controls
- {Related control IDs}

Data Processing Documentation (GDPR):

# {Process Name} Data Processing

## Processing Activity
{Description of processing}

## Legal Basis
{Lawful basis for processing}

## Data Categories
| Category | Examples | Sensitivity |
|----------|----------|-------------|

## Data Subjects
{Who the data is about}

## Retention Period
{How long data is kept and why}

## Data Flow

[Collection] → [Processing] → [Storage] → [Deletion]


## Third Parties
| Party | Purpose | Safeguards |
|-------|---------|------------|

## Data Subject Rights
- **Access**: {how handled}
- **Rectification**: {how handled}
- **Erasure**: {how handled}
- **Portability**: {how handled}

## Security Measures
{Technical and organizational measures}

Audit Preparation Checklist:

# {Audit Type} Preparation

## Scope
{What's being audited}

## Controls in Scope
| Control ID | Description | Owner |
|------------|-------------|-------|

## Evidence Required

### {Control ID}
- [ ] {Evidence item}
- [ ] {Evidence item}

## Pre-Audit Tasks
- [ ] {Task}
- [ ] {Task}

## Key Contacts
| Role | Name | Responsibilities |
|------|------|------------------|

Quality Standards:

  • Controls mapped to requirements
  • Evidence requirements clear
  • Responsibilities assigned
  • Review cycles defined
  • Exceptions documented

Edge Cases:

  • Multiple frameworks: Document control mapping across frameworks
  • Inherited controls: Document shared responsibility
  • Compensating controls: Document when primary control not feasible
  • Continuous compliance: Document monitoring procedures

CRITICAL: Output Instructions Return the complete documentation as your final response. Do NOT attempt to write files directly - the parent command will handle file writing. Output the full markdown documentation as text.

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. 6d ago Changed · +228 tokens per session c1bf16904a4e
  2. 1mo ago First seen · 205 lines · 63 tokens per session scan A a6d363be66fd

Subscribe to this mod's changes

compliance-docs is an agent published in the GitHub repository hculap/better-code (2 stars, last pushed 7d ago), licensed MIT. It adds 291 tokens to every session and 1,150 once invoked, about $0.0012 per session on Opus 5.5. A static security scan graded it A with 1 finding (asks the agent to reveal its instructions). 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

nyc-zoning-expert

Coordinate NYC property research, zoning analysis and requested envelope visualization using applicable original agency sources.

AlpacaLabsLLC/skills-for-architects · 24 tokens

thoughts-analyzer

Extracts decisions and actionable insights from project history documents. Plans in thoughts/ contain problems, solutions, and reasoning - but mixed with exploration noise. Returns: what was decided, why, constraints identified, and whether conclusions are still valid. Filters noise, returns only high-value…

hoblin/claude-ruby-marketplace · 0 tokens

tea

Master Test Architect and Quality Advisor.

Alberto-Codes/docvet · 8 tokens

sweep-worker

Runs one stage of the discovery:research-sweep workflow (search, read, consolidate, skeptic, critic or synthesis) with web search and fetch only: no shell, no file access. Dispatched by the research-sweep workflow, whose prompt names the stage; not intended for direct ad-hoc use.

melodic-software/claude-code-plugins · 66 tokens

review-performance

Performance reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-performance with artifact paths. Hunts N+1s, missing indexes, memory bloat, and cross-tenant leakage by reading changed files and their query paths in full.

hoblin/claude-ruby-marketplace · 60 tokens

review-ticket-delivery

Ticket-delivery reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-ticket-delivery with artifact paths. Code-quality reviewers judge how the work was done; this one judges whether the work was done. Runs on every review; carries the always-on security sweep.

hoblin/claude-ruby-marketplace · 68 tokens