compliance-audit

compliance-audit is a skill for Claude Code from marcoguillermaz/Tierward. It costs 62 tokens per session (3,509 once invoked), scanned A, original, MIT.

A static GDPR review of application code, data models, configuration, and privacy documents. GDPR is the European Union's data-protection law.

In plain words
What is it for?
Use it to look for data-subject rights, lawful-basis information, security measures, and accountability evidence. It does not check live systems or provide legal advice.
Why use it?
It highlights gaps between the codebase and common GDPR expectations without claiming that the project is legally compliant.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the tierward plugin — 29 skills, 1 command, 1 hook, 1 MCP server shipped together

Good fit Use it to look for data-subject rights, lawful-basis information, security measures, and accountability evidence. It does not check live systems or provide legal advice.

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

Made for: Claude Code.

Or install tierward, the plugin that ships this one along with the rest of its 29 skills, 1 command, 1 hook, 1 MCP server.

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/marcoguillermaz/tierward/compliance-audit/github.svg)](https://agentmods.dev/skills/marcoguillermaz/tierward/compliance-audit)
Your own site
<a href="https://agentmods.dev/skills/marcoguillermaz/tierward/compliance-audit"><img src="https://agentmods.dev/badge/skills/marcoguillermaz/tierward/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/marcoguillermaz/tierward/compliance-audit"><img src="https://agentmods.dev/badge/skills/marcoguillermaz/tierward/compliance-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,509 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.00062 $0.03509
Opus 5 $0.00031 $0.01754
Sonnet 5 $0.00012 $0.00702
Haiku 4.5 $0.00006 $0.00351

Measured 11d ago against content hash 72e0765f1569, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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.

packages/cli/templates/tier-l/.claude/skills/compliance-audit/SKILL.md · 286 lines

How it starts

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

Scope for v1

  • Static analysis only. Grep, filesystem reads, configuration parsing. Does not run tests, does not connect to databases, does not validate live policy enforcement.
  • Regulatory scope, not legal advice. This skill flags mechanical gaps between common regulatory expectations and the codebase. It does not produce legal-grade compliance attestation - that requires human counsel review.
  • Active profile: GDPR only. SOC 2 and HIPAA are scaffolded in PROFILES.md with check-ID placeholders and will be enabled once real enterprise feedback validates the patterns. Enabling before validation risks false confidence.

Configuration (adapt before first run)

Replace these placeholders:

  • [APP_SOURCE_PATH] - application source root (e.g. src/, app/, lib/)
  • [API_ROUTES_PATH] - API route handlers (e.g. src/routes/, app/api/)
  • [SCHEMA_PATH] - DB schema or ORM model files (e.g. prisma/schema.prisma, src/models/, app/models.py)
  • [PRIVACY_DOC_PATH] - privacy policy and data-handling docs (e.g. docs/privacy/, PRIVACY.md). Leave empty if none.

Step 0 - Target and profile resolution

Parse $ARGUMENTS for target: or profile: tokens.

Pattern Meaning
target:path:<dir> Audit only files under a specific directory
profile:gdpr Run only the GDPR profile (default in v1)
mode:all / no argument Full GDPR audit. SOC 2 and HIPAA findings reported as FUTURE - profile scaffolded for v1.15+.

Announce: Running compliance-audit - scope: [FULL | target: <resolved>] - profile: gdpr.

Add caveat on first line of output: This audit produces mechanical findings. Legal compliance attestation requires human counsel review.


Step 1 - Profile loading

Read ${CLAUDE_SKILL_DIR}/PROFILES.md. Three profiles defined: GDPR (active), SOC 2 (future), HIPAA (future).

For v1, only GDPR checks execute. SOC 2 and HIPAA sections in the report are emitted with a single row: Profile scaffolded for v1.15+. No checks run. This keeps the report shape stable for future releases.

Read the full file on GitHub · 286 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 286 lines · 62 tokens per session scan A 72e0765f1569

Subscribe to this mod's changes

compliance-audit is a skill published in the GitHub repository marcoguillermaz/Tierward (4 stars, last pushed 4d ago), licensed MIT. It adds 62 tokens to every session and 3,509 once invoked, about $0.0003 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-31.