compliance-audit

compliance-audit is a skill for Claude Code from mostafa-drz/claude-skills. It costs 74 tokens per session (2,810 once invoked), scanned A, original, MIT.

A codebase review tool that checks software against rules for areas such as data protection, healthcare, payment security, and privacy. A monorepo is one repository containing multiple related projects.

In plain words
What is it for?
It scans a single repository, several repositories, or a monorepo and creates a Markdown report organized by code area and compliance framework.
Why use it?
It helps find compliance problems before an external audit or formal review, with findings tied to exact code lines.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Good fit It scans a single repository, several repositories, or a monorepo and creates a Markdown report organized by code area and compliance framework.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mostafa-drz/claude-skills/compliance-audit
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 mostafa-drz/claude-skills --skill compliance-audit
Clone the repo
git clone --depth 1 https://github.com/mostafa-drz/claude-skills

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mostafa-drz/claude-skills/compliance-audit"><img src="https://agentmods.dev/badge/skills/mostafa-drz/claude-skills/compliance-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,810 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.00074 $0.02810
Opus 5.5 $0.00030 $0.01124
Sonnet 5.5 $0.00015 $0.00562
Haiku 4.5 $0.00007 $0.00281

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

Security

Grade A, and why

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

code/compliance-audit/SKILL.md · 294 lines

How it starts

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

Compliance Audit

Scan a codebase directory (single repo, multi-repo, or monorepo) against a compliance framework. Each subdirectory gets a parallel audit agent. Output is a structured markdown report where every finding references specific code lines.

Preferences

On startup, use Read to load ~/.claude/skills/compliance-audit/preferences.md. If it does not exist, treat as "no preferences set".

Context

On startup, use Bash to detect:

  1. Current working directory
  2. Whether the target directory is a git repo (and its remote URL for code references)
  3. Directory structure: list top-level subdirectories, identify monorepo packages or multi-repo layout
  4. Tech stacks present: look for package.json, requirements.txt, Cargo.toml, go.mod, Dockerfile, .env files, etc.

Skip any detection that fails.

Command routing

Check $ARGUMENTS:

  • help → display help then stop
  • config → interactive setup then stop
  • reset → delete ~/.claude/skills/compliance-audit/preferences.md, confirm, stop
  • anything else → parse arguments and run the audit

Help

Compliance Audit — Scan codebases against compliance frameworks

Usage:
  /compliance-audit <standard>                          Audit current directory
  /compliance-audit <standard> --dir <path>             Audit a specific directory
  /compliance-audit <standard> --output <path>          Write report to specific path
  /compliance-audit <standard> --severity <level>       Filter by minimum severity
  /compliance-audit config                              Set preferences
  /compliance-audit reset                               Clear preferences
  /compliance-audit help                                This help

Standards:
  SOC2, HIPAA, PCI-DSS, GDPR, ISO27001, NIST-CSF, OWASP, CIS, FedRAMP
  (or any compliance framework — latest requirements fetched from web)

Severity levels:
  critical, high, medium, low (default: low — shows everything)

Examples:
  /compliance-audit SOC2
  /compliance-audit HIPAA --dir ./backend --output ./reports
  /compliance-audit PCI-DSS --severity high "focus on payment processing modules"
  /compliance-audit GDPR "check data retention and consent flows"

Current preferences:
  (read from ~/.claude/skills/compliance-audit/preferences.md)

Read the full file on GitHub · 294 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 · +2 lines 69804643d526
  2. 1mo ago First seen · 292 lines · 74 tokens per session scan A a5a9258c8a69

Subscribe to this mod's changes

compliance-audit is a skill published in the GitHub repository mostafa-drz/claude-skills (4 stars, last pushed yesterday), licensed MIT. It adds 74 tokens to every session and 2,810 once invoked, about $0.0003 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 skills, from other repositories

acquisition-policy-workflow

Trigger for: explaining current FAR, DFARS, or agency-supplement text; determining documented acquisition-policy status for an agency and FAR part; comparing codified text, RFO model text, and agency deviations; tracing acquisition rulemaking; finding procurement comment periods; analyzing public comments; refreshing…

1102tools-dev/federal-contracting-skills · 115 tokens

igce-builder-cr

Trigger for: cost-reimbursement IGCE, CR cost estimate, CPFF, CPAF, CPIF, cost-plus estimate, BAA estimate, fixed-fee analysis, award-fee analysis, incentive-fee analysis, proposed CR rate validation, cost-pool buildup, share-ratio scenario, price-reasonableness memo, or fair-and-reasonable analysis. Build auditable…

1102tools-dev/federal-contracting-skills · 161 tokens

ot-project-description-builder

Trigger for: OT project description, OTA scope, Research OT under 10 U.S.C. 4021, Prototype OT under 10 U.S.C. 4022, follow-on production scope under 10 U.S.C. 4022(f), milestone-based project scope, prototype objective, phase or go/no-go structure, BAA white-paper conversion, SOO conversion, transition planning, or…

1102tools-dev/federal-contracting-skills · 185 tokens

sow-pws-builder

Trigger for: writing, revising, converting, or descoping a federal Statement of Work, Performance Work Statement, SOW, PWS, or SOO; develop executable requirements; define contract scope; create measurable performance standards; or prepare requirements before an IGCE. Produce a contract-file-ready .docx plus separate…

1102tools-dev/federal-contracting-skills · 133 tokens

advisory-legal

Legal advisory panel featuring Kenneth Frazier (Merck), Brad Smith (Microsoft), Thuli Madonsela (SA Public Protector), Amal Clooney (international law), and Ibukun Awosika (First Bank Nigeria).

evoputa/ai-advisory-board · 51 tokens

martech-contract-auditor

AUTO-TRIGGER: Apply this skill when the user mentions a vendor renewal, SaaS contract, MarTech negotiation, or any conversation about renewing, renegotiating, or evaluating a marketing or sales technology subscription. Trigger phrases include: "our HubSpot renewal is coming up," "ZoomInfo contract," "renewing our,"…

matellez/claude-skills · 131 tokens