compliance-scanner

compliance-scanner is an agent for Claude Code from navraj007in/architecture-cowork-plugin. It costs 29 tokens per session (3,051 once invoked), scanned A, original, Apache-2.0.

An analysis agent that checks a project for gaps against SOC 2, HIPAA, GDPR, and PCI DSS requirements. These are frameworks and laws for security, healthcare data, privacy, and payment-card data.

In plain words
What is it for?
Use it to assess selected compliance frameworks using project details such as data handled, technology, deployment, and components. It produces gap reports with framework-specific remediation steps.
Why use it?
It turns a broad compliance review into a report showing which controls may be missing and what to address.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the architect plugin — 48 skills, 63 commands, 19 agents, 7 MCP servers shipped together

Good fit Use it to assess selected compliance frameworks using project details such as data handled, technology, deployment, and components. It produces gap reports with framework-specific remediation steps.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/navraj007in/architecture-cowork-plugin/compliance-scanner
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/navraj007in/architecture-cowork-plugin

Made for: Claude Code.

Or install architect, the plugin that ships this one along with the rest of its 48 skills, 63 commands, 19 agents, 7 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/compliance-scanner/github.svg)](https://agentmods.dev/agents/navraj007in/architecture-cowork-plugin/compliance-scanner)
Your own site
<a href="https://agentmods.dev/agents/navraj007in/architecture-cowork-plugin/compliance-scanner"><img src="https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/compliance-scanner/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-scanner

Your own site · 80×15
<a href="https://agentmods.dev/agents/navraj007in/architecture-cowork-plugin/compliance-scanner"><img src="https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/compliance-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,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.00029 $0.03051
Opus 5 $0.00015 $0.01525
Sonnet 5 $0.00006 $0.00610
Haiku 4.5 $0.00003 $0.00305

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

Security

Grade A, and why

compliance-scanner 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 12d 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.

agents/compliance-scanner.md · 389 lines

How it starts

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

Compliance Scanner Agent

Autonomous code analysis agent that scans projects for compliance gaps, assesses control state, and generates remediation reports. Covers SOC2 Type II, HIPAA, GDPR, and PCI DSS with framework-specific control mappings.

Input

The /architect:compliance command passes:

{
  "frameworks": ["SOC2", "GDPR"],
  "project": {
    "name": "example-saas",
    "stage": "growth",
    "directory": "/path/to/project"
  },
  "data_sensitivity": {
    "handles_pii": true,
    "handles_phi": false,
    "handles_payment_data": false
  },
  "components": [
    {
      "name": "api-server",
      "type": "backend",
      "language": "typescript",
      "directory": "/path/to/project/api-server",
      "src_dirs": ["src/services", "src/controllers", "src/lib"]
    }
  ],
  "tech_stack": {
    "database": "PostgreSQL",
    "auth": "JWT",
    "deployment": "AWS"
  }
}

Process

Step 1: Load Compliance Skill

Read skills/compliance/SKILL.md in full to understand:

  • SOC2 Type II controls (CC, A, C, I categories)
  • HIPAA safeguards (access, audit, integrity, transmission security)
  • GDPR principles and data rights (access, erasure, portability, consent)
  • PCI DSS scope reduction and safe card handling
  • Compliance scoring matrix

Step 2: Scan Source Code Per Framework

For each framework, execute a targeted code analysis:

Framework-specific patterns to search:

SOC2 Type II

CC6: Logical and Physical Access Controls

Control Search Pattern Code Evidence
CC6.1 - Infrastructure monitoring prometheus, /metrics, monitoring src/lib/metrics.ts exports request metrics
CC6.2 - Access control (deployment) branch protection, code review GitHub branch settings (external check)
CC6.3 - Change management git log, auditing Commit history shows who changed what
CC6.4 - Backup & recovery backup, pg_dump, RTO, RPO infrastructure/backups.tf or docker-compose.yml
CC6.7 - Encryption at rest pgcrypto, encryption, @Encrypted, AES-256 Schema comments or ORM decorators
CC7.2 - Encryption in transit https, tls, TLS_VERSION nginx.conf or app.listen(443, ...) with TLS config

Read the full file on GitHub · 389 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. 12d ago First seen · 389 lines · 29 tokens per session scan A dd6f70d8b78a

Subscribe to this mod's changes

compliance-scanner is an agent published in the GitHub repository navraj007in/architecture-cowork-plugin (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 29 tokens to every session and 3,051 once invoked, about $0.0001 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.

Related

Other agents, from other repositories

patent-drafter

Expert in drafting USPTO-compliant patent claims and specifications. Specializes in claims strategy, specification writing, and 35 USC 112 compliance.

RobThePCGuy/Claude-Patent-Creator · 35 tokens

legal-reviewer

Legal-services / legal-tech specialist pre-implementation reviewer for legal archetype (law firms, solo practitioners, legal-SaaS). Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 52 tokens

tax-reviewer

Tax preparation / filing specialist pre-implementation reviewer for the fintech archetype. Outputs threat model TM-tax-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 42 tokens

edtech-reviewer

Education-technology specialist pre-implementation reviewer for edtech archetype. Specialises in COPPA verifiable parental consent, FERPA student-data handling, GDPR-K (digital age of consent), Section 508 + WCAG 2.2 AA accessibility, child-safety content moderation (CSAM hash, NCMEC reporting), and US state…

avelikiy/great_cto · 112 tokens

healthcare-reviewer

Healthcare-specific pre-implementation reviewer for archetype:healthcare. Specialises in HIPAA Security Rule (45 CFR 164.308–318), Business Associate Agreement (BAA) chain, FHIR/HL7 implementation gotchas, PHI access logging (immutable audit), HITECH breach-notification timelines, and HHS Office for Civil Rights (OCR)…

avelikiy/great_cto · 103 tokens

voice-ai-reviewer

Voice-AI / telephony pre-implementation reviewer. Specialises in TCPA prior-express-consent, STIR/SHAKEN attestation, state recording-consent matrix (one-/two-party), CRTC CASL (Canada), Ofcom CLI rules (UK), EU AI Act Article 50 synth-voice disclosure, deepfake laws (CA AB-2655, TN ELVIS Act), and PII redaction in…

avelikiy/great_cto · 121 tokens