compliance-check

compliance-check is a command for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 22 tokens per session (1,051 once invoked), scanned A, original, MIT.

A command for assessing a system against a named security or privacy framework and producing a report of the differences.

In plain words
What is it for?
Use it to assess readiness for SOC 2, GDPR, PCI DSS, HIPAA, ISO 27001, or NIST requirements and map existing security measures to them.
Why use it?
It clarifies which systems, data, processes, and controls are covered before showing what needs attention for an audit or customer review.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the compliance-frameworks plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Use it to assess readiness for SOC 2, GDPR, PCI DSS, HIPAA, ISO 27001, or NIST requirements and map existing security measures to them.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hermeticormus/libresecops-claude-code/compliance-check
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/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install compliance-frameworks, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 2 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-check

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/compliance-check"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/compliance-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 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,051 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.00022 $0.01051
Opus 5.5 $0.00009 $0.00420
Sonnet 5.5 $0.00004 $0.00210
Haiku 4.5 $0.00002 $0.00105

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

Security

Grade A, and why

compliance-check 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.

plugins/compliance-frameworks/commands/compliance-check.md · 132 lines

How it starts

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

/compliance-check

Assess a system against a specified compliance framework and produce a gap analysis report.

Trigger

Use this command when:

  • Preparing for a compliance audit (SOC 2, ISO 27001, PCI DSS, etc.)
  • Evaluating compliance posture of a new or existing system
  • Determining which controls need to be implemented for a specific framework
  • Mapping existing security controls to framework requirements
  • Assessing readiness for a customer security questionnaire

Input

Required:

  • Framework: soc2, gdpr, pci-dss, hipaa, iso27001, nist-800-53, nist-csf

Optional:

  • Scope: Description of in-scope systems, data types, and processes
  • Profile/Level: For frameworks with tiers (NIST 800-53: Low/Moderate/High, ISO 27001: specific Annex A controls)
  • Existing controls: Description of security measures already in place
  • Exclusions: Controls known to be not applicable with justification

Process

Step 1: Scope Definition

  1. Identify the systems, data, and processes in scope for the framework
  2. Determine the applicable profile or tier level
  3. For PCI DSS: determine the cardholder data environment (CDE) boundaries
  4. For GDPR: identify personal data processing activities and legal bases
  5. For HIPAA: identify covered entities, business associates, and ePHI flows
  6. Document scope boundaries and exclusions with justifications

Step 2: Control Inventory

Based on the framework, enumerate all applicable controls:

SOC 2 (Trust Service Criteria):

  • CC1: Control Environment (7 criteria)
  • CC2: Communication and Information (3 criteria)
  • CC3: Risk Assessment (4 criteria)
  • CC4: Monitoring Activities (2 criteria)
  • CC5: Control Activities (3 criteria)
  • CC6: Logical and Physical Access Controls (8 criteria)
  • CC7: System Operations (5 criteria)
  • CC8: Change Management (1 criterion)
  • CC9: Risk Mitigation (2 criteria)
  • Plus criteria for selected additional categories (Availability, Processing Integrity, Confidentiality, Privacy)

Read the full file on GitHub · 132 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 · +5 lines · +22 tokens per session 55977828dc26
  2. 3mo ago First seen · 127 lines · 0 tokens per session scan A 642603b09a72

Subscribe to this mod's changes

compliance-check is a command published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 1,051 once invoked, about $0.0001 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

compliance-check compared with commands from other repositories

compliance-check next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
compliance-checkHermeticOrmus/LibreSecOps-Claude-CodeCommand41mo agoMITA22Claude Code
scopeelementalsouls/Claude-BugHunterCommand28kyesterdayMITA63Claude Code
sicario.controlsdfirs1car1o/sicario-specCommand511d agoMITA0Claude Code
sicario.evidencedfirs1car1o/sicario-specCommand511d agoMITA0Claude Code
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code
clarifygithub/spec-kitCommand153k3d agoMITA27Claude Code
analyzegithub/spec-kitCommand153k3d agoMITA26Claude Code