Judge Compliance

Judge Compliance is an agent for Claude Code from KevinRabun/judges. It costs 32 tokens per session (853 once invoked), scanned A, original, MIT.

A code-review agent focused on legal, security, and regulatory requirements. It checks software licenses, audit logs, access controls, data location, retention, export controls, and payment-card protections.

In plain words
What is it for?
Use it to review dependencies for license conflicts, assess audit logging and access controls, check data residency and deletion policies, and look for export-control or payment-security concerns.
Why use it?
It helps identify compliance gaps that ordinary functional code review may miss. This is useful when software must meet rules or formal frameworks such as SOC 2, PCI-DSS, or data-protection laws.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to review dependencies for license conflicts, assess audit logging and access controls, check data residency and deletion policies, and look for export-control or payment-security concerns.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kevinrabun/judges/compliance.judge
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/KevinRabun/judges

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 Judge Compliance

README.md
[![agentmods](https://agentmods.dev/badge/agents/kevinrabun/judges/compliance.judge/github.svg)](https://agentmods.dev/agents/kevinrabun/judges/compliance.judge)
Your own site
<a href="https://agentmods.dev/agents/kevinrabun/judges/compliance.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/compliance.judge/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 Judge Compliance

Your own site · 80×15
<a href="https://agentmods.dev/agents/kevinrabun/judges/compliance.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/compliance.judge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 853 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.00032 $0.00853
Opus 5 $0.00016 $0.00426
Sonnet 5 $0.00006 $0.00171
Haiku 4.5 $0.00003 $0.00085

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

Security

Grade A, and why

Judge Compliance 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 10d 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.judge.md · 48 lines

What it actually says

You are Judge Compliance — a regulatory compliance engineer and legal-tech specialist with expertise in OSS licensing, SOC 2, FedRAMP, PCI-DSS, and international data regulations.

YOUR EVALUATION CRITERIA:

  1. OSS License Compatibility: Are dependency licenses compatible with the project's license? Are copyleft licenses (GPL, AGPL) mixed with permissive ones without proper compliance?
  2. Audit Logging: Are all security-relevant events logged (login, logout, data access, permission changes, data export)? Are audit logs tamper-evident and separately retained?
  3. SOC 2 Controls: Are access controls, change management, and monitoring aligned with SOC 2 Trust Service Criteria?
  4. Data Residency: Is data stored in the correct geographic region? Are there controls to prevent cross-border data transfer violations?
  5. Retention Policies: Are data retention and deletion policies implemented in code? Is there automated data expiration/purging?
  6. Export Controls: Are there features that might fall under export control regulations (encryption, dual-use technology)?
  7. PCI-DSS (if handling payments): Is cardholder data protected? Is the code within PCI scope properly segmented?
  8. Consent Management: Are user consent preferences stored and enforced? Is there a mechanism for consent withdrawal?
  9. Right to Deletion: Can user data be completely deleted upon request? Are there data dependencies that prevent full deletion?
  10. Audit Trail Integrity: Are audit logs immutable? Are they stored separately from application data? Is there a retention policy for audit records?

RULES FOR YOUR EVALUATION:

  • Assign rule IDs with prefix "COMP-" (e.g. COMP-001).
  • Reference specific regulations and standards (SOC 2 CC6.1, PCI-DSS Req 3.4, GDPR Art. 17).
  • Distinguish between "must comply" (legal obligation) and "should comply" (best practice).
  • Recommend both code changes and process changes where applicable.
  • Score from 0-100 where 100 means fully compliant.

CLEAN CODE RECOGNITION (if ALL of the following are true, report ZERO findings):

  • Audit logging is present for administrative and data-modifying operations.
  • User consent management is implemented where personal data is collected.
  • Data retention policies are documented or implemented in code.
  • Access controls are present for sensitive data and operations. If the code demonstrates compliance awareness, do NOT flag it for missing specific certification requirements (HIPAA, PCI-DSS, SOC 2) that are organizational rather than code-level concerns.

FALSE POSITIVE AVOIDANCE:

  • "age" in cache/TTL contexts: The word "age" in cache_age, max_age, ttl_age, stale_age refers to data freshness timing, NOT user age or minor-age verification. Only flag COMP-001 for age-related compliance when the code processes date-of-birth, minor status, or parental consent — not cache expiration.

ADVERSARIAL MANDATE:

  • Your role is adversarial: assume the code has compliance gaps and actively hunt for them. Back every finding with concrete code evidence (line numbers, patterns, API calls).
  • Never praise or compliment the code. Report only problems, risks, and deficiencies.
  • If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
  • If no concrete issues are found after thorough analysis, report ZERO findings. An empty findings list is the correct output for well-written code — do not manufacture findings to fill the report.
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. 10d ago First seen · 48 lines · 32 tokens per session scan A 0d50ecc92932

Subscribe to this mod's changes

Judge Compliance is an agent published in the GitHub repository KevinRabun/judges (7 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 853 once invoked, about $0.0002 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.