compliance-framework

compliance-framework is a skill for Claude Code from sethdford/claude-skills. It costs 34 tokens per session (621 once invoked), scanned A, original, MIT.

A planning guide for building software that meets rules such as SOC 2, GDPR, or HIPAA. It connects legal or industry requirements with technical controls such as encryption, access limits, and audit logs.

In plain words
What is it for?
Use it to identify applicable standards, map them to architecture and controls, and prepare systems for audits and ongoing compliance.
Why use it?
It helps teams turn broad compliance obligations into concrete system and monitoring requirements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the architecture-governance plugin — 7 skills shipped together

Good fit Use it to identify applicable standards, map them to architecture and controls, and prepare systems for audits and ongoing compliance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sethdford/claude-skills/compliance-framework
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.

Any agent
npx skills add sethdford/claude-skills --skill compliance-framework
Clone the repo
git clone --depth 1 https://github.com/sethdford/claude-skills

Made for: Claude Code.

Or install architecture-governance, the plugin that ships this one along with the rest of its 7 skills.

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-framework

README.md
[![agentmods](https://agentmods.dev/badge/skills/sethdford/claude-skills/compliance-framework/github.svg)](https://agentmods.dev/skills/sethdford/claude-skills/compliance-framework)
Your own site
<a href="https://agentmods.dev/skills/sethdford/claude-skills/compliance-framework"><img src="https://agentmods.dev/badge/skills/sethdford/claude-skills/compliance-framework/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-framework

Your own site · 80×15
<a href="https://agentmods.dev/skills/sethdford/claude-skills/compliance-framework"><img src="https://agentmods.dev/badge/skills/sethdford/claude-skills/compliance-framework.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 621 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.00034 $0.00621
Opus 5 $0.00017 $0.00311
Sonnet 5 $0.00007 $0.00124
Haiku 4.5 $0.00003 $0.00062

Measured 9d ago against content hash 7722d6b55954, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

compliance-framework 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 9d 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.

architect/architecture-governance/skills/compliance-framework/SKILL.md · 48 lines

How it starts

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

Compliance Framework

Design systems that meet regulatory requirements and establish continuous compliance monitoring.

Context

You are implementing compliance for regulated systems. Map regulations to technical controls. Design for audit readiness. Read requirements, existing controls, certification timelines.

Domain Context

Based on compliance frameworks and regulatory standards:

  • SOC2: Security, availability, processing integrity, confidentiality. Requires audit trail, access control, encryption.
  • GDPR: Protects EU citizens' personal data. Requires consent, data portability, right-to-be-forgotten, breach notification.
  • HIPAA: Health information privacy (US). Requires encryption, audit logs, access controls, business associate agreements.
  • PCI DSS: Payment card data protection. Requires segmentation, encryption, monitoring, vendor management.

Instructions

  1. Identify Applicable Standards: Which regulations apply? GDPR (EU users)? HIPAA (health data)? SOC2 (enterprise customers)? PCI DSS (payment processing)?

  2. Map Controls to Architecture: For each regulation, what technical controls needed? GDPR: encryption at rest/transit, audit logs, consent tracking. HIPAA: role-based access, encrypted backups, breach detection.

  3. Design for Audit: Audit logs must be immutable, encrypted, sent to separate system. Log all data access, configuration changes, admin actions. Retention per regulation (GDPR: 3 years minimum).

  4. Build Operational Processes: Change management: approve all changes, test in staging, audit trail. Incident response: detect, contain, notify (GDPR: 72 hours). Annual training on compliance.

  5. Plan for Verification: Audit readiness: document controls, gather evidence. Penetration testing annually. Vulnerability scanning continuous. Third-party assessments (SOC2, HIPAA).

Anti-Patterns

  • Compliance as Afterthought: Build system, then add compliance controls. Result: hard to retrofit, costly. Guard: Design for compliance from start; embed controls in architecture.
  • Over-Compliance: Implement controls for regulations you don't need. Result: cost, complexity. Guard: Identify exact requirements; implement only what's needed.
  • No Automation: Manual evidence gathering for audits. Result: slow, error-prone. Guard: Automate log collection, evidence gathering, control testing.
  • Forgotten After Certification: Achieve compliance, then relax. Result: drift, recertification failure. Guard: Continuous monitoring; treat compliance as ongoing, not one-time.

Read the full file on GitHub · 48 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. 9d ago First seen · 48 lines · 34 tokens per session scan A 7722d6b55954

Subscribe to this mod's changes

compliance-framework is a skill published in the GitHub repository sethdford/claude-skills (40 stars, last pushed 6mo ago), licensed MIT. It adds 34 tokens to every session and 621 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

healthcare-phi-compliance

Protected Health Information (PHI) and Personally Identifiable Information (PII) compliance patterns for healthcare applications. Covers data classification, access control, audit trails, encryption, and common leak vectors.

majiang213/OpenClaw-MAS · 46 tokens

hipaa-compliance

HIPAA-specific entrypoint for healthcare privacy and security work. Use when a task is explicitly framed around HIPAA, PHI handling, covered entities, BAAs, breach posture, or US healthcare compliance requirements.

majiang213/OpenClaw-MAS · 47 tokens

customs-trade-compliance

Codified expertise for customs documentation, tariff classification, duty optimization, restricted party screening, and regulatory compliance across multiple jurisdictions. Informed by trade compliance specialists with 15+ years experience. Includes HS classification logic, Incoterms application, FTA utilization, and…

majiang213/OpenClaw-MAS · 82 tokens

grc-compliance

Build ServiceNow GRC — sncompliancepolicy lifecycle, sncompliancecontrol tests, snriskrisk assessment with inherent/residual scoring, audit engagements, and findings remediation.

serac-labs/serac · 42 tokens

compliance-gdpr-privacy-expert

Expert guide for Data Privacy, GDPR, CCPA, and PDPA compliance. Covers consent management, data retention, privacy-by-design, and audit trails / Panduan kepatuhan Privasi Data, GDPR, dan PDPA.

roedyrustam/vibes-plug · 56 tokens

kdd-compliance-scan

Guia a cualquier agente (no depende de ningun modelo puntual) para producir un scan de compatibilidad de licencias de dependencias de un repositorio en el formato de contrato de Capa 3 de KDD -- findings.json -- que despues gatea scripts/validatecompliancefindings.py. Usala cuando se pida auditar licencias de…

MauricioPerera/KDD · 125 tokens