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.
git clone --depth 1 https://github.com/navraj007in/architecture-cowork-pluginWrote 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.
[](https://agentmods.dev/agents/navraj007in/architecture-cowork-plugin/compliance-scanner)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 |
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.
- 12d ago First seen · 389 lines · 29 tokens per session scan A dd6f70d8b78a
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.
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.
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.
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.
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…
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)…
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…