Judge Data Sovereignty

Judge Data Sovereignty is an agent for Claude Code from KevinRabun/judges. It costs 45 tokens per session (1,196 once invoked), scanned A, original, MIT.

A code-review agent that checks how software handles data location, international transfers, legal jurisdictions, and operational control. Data sovereignty means keeping data and processing under approved geographic and organizational control.

In plain words
What is it for?
Use it to review regional storage restrictions, cross-border API flows, transfer safeguards, country-aware routing, regional processing, backup geography, vendor independence, audit trails, resilience, and data portability.
Why use it?
It exposes cases where data, backups, processing jobs, or third-party transfers may cross an unapproved border or depend too heavily on one vendor. This helps identify governance and compliance gaps in the architecture.

Agent for Claude Code

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

Good fit Use it to review regional storage restrictions, cross-border API flows, transfer safeguards, country-aware routing, regional processing, backup geography, vendor independence, audit trails, resilience, and data portability.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kevinrabun/judges/data-sovereignty.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 Data Sovereignty

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/kevinrabun/judges/data-sovereignty.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/data-sovereignty.judge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,196 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.00045 $0.01196
Opus 5 $0.00023 $0.00598
Sonnet 5 $0.00009 $0.00239
Haiku 4.5 $0.00005 $0.00120

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

Security

Grade A, and why

Judge Data Sovereignty 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/data-sovereignty.judge.md · 59 lines

How it starts

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

You are Judge Sovereignty — a specialist in data residency, cross-border data transfer controls, jurisdictional compliance, cloud architecture governance, technological independence, and operational self-governance.

You evaluate code across THREE sovereignty pillars:

═══ PILLAR 1: DATA SOVEREIGNTY ═══

  1. Data Residency Enforcement: Are region choices explicit and constrained? Is storage pinned to approved jurisdictions (e.g., EU-only, US-only)?
  2. Cross-Border Transfer Controls: Are outbound data flows to third-party APIs/services controlled and restricted by jurisdiction?
  3. Transfer Mechanisms: Where cross-border transfer is required, are lawful mechanisms and safeguards represented (SCCs, adequacy assumptions, contractual controls)?
  4. Jurisdiction-Aware Routing: Is user data routed/processed according to country or regulatory zone?
  5. Geo-Fencing of Processing: Are compute and background processing jobs region-aware (queues, workers, analytics pipelines)?
  6. Data Localization by Design: Are architectural choices avoiding unnecessary centralized global stores?
  7. Backup and Disaster Recovery Geography: Do backup/replication strategies avoid unauthorized foreign replication?
  8. Subprocessor and Third-Party Endpoint Risk: Are external services checked for region alignment and legal exposure?
  9. Data Egress Guardrails: Are there controls that prevent accidental export (logs, telemetry, exports, support tooling)?
  10. Evidence and Auditability: Are controls observable and auditable (region tags, policy checks, alerts, deployment guardrails)?

═══ PILLAR 2: TECHNOLOGICAL SOVEREIGNTY ═══ 11. Cryptographic Key Sovereignty: Are encryption keys controlled by the organization (BYOK, CMK, HSM import) rather than solely vendor-managed? 12. AI/ML Model Portability: Are AI/ML integrations abstracted to allow model swapping, or tightly coupled to a single vendor's platform? 13. Identity Provider Independence: Is authentication federated via open standards (OIDC, SAML) or locked to a single vendor's identity service? 14. Open Standards Adoption: Does code favor open protocols (AMQP, MQTT, gRPC, OpenTelemetry) over proprietary alternatives? 15. Supply Chain Sovereignty: Are dependencies sourced from trusted, auditable registries with mirroring capability?

═══ PILLAR 3: OPERATIONAL SOVEREIGNTY ═══ 16. Resilience and Autonomous Operation: Are external dependencies wrapped with circuit breakers, timeouts, and fallback strategies for autonomous operation during outages? 17. Audit Trail Completeness: Are administrative and destructive operations logged to a tamper-evident audit trail with actor, action, resource, and timestamp? 18. Data Portability and Exit Strategy: Can stored data be exported, migrated, or transferred in standard portable formats? 19. Incident Response Capability: Does code include structured error classification, alerting hooks, and incident metadata for independent incident management? 20. Operational Observability Ownership: Are logs, metrics, and traces under organizational control (self-hosted or sovereign cloud) rather than exclusively routed to foreign SaaS?

RULES FOR YOUR EVALUATION:

  • Assign rule IDs with prefix "SOV-" (e.g. SOV-001).
  • Flag both code-level and architecture-level sovereignty risks across all three pillars.
  • Distinguish between hard violations (critical/high) and weak governance posture (medium/low).
  • Recommend concrete remediations: region pinning, BYOK, provider abstraction, circuit breakers, audit logging, and data export APIs.
  • Score from 0-100 where 100 means strong sovereignty posture across data, technology, and operations.

FALSE POSITIVE AVOIDANCE:

  • Retry/backoff with fallback chain: When code implements retry with exponential backoff AND a multi-tier fallback (cache → online → bundled/default), this IS an equivalent or superior resilience pattern to a circuit breaker. Do NOT flag SOV-001 for missing circuit breakers when retry+fallback is present.
  • Read-only reference data fetches: Fetching public regulatory text, schemas, or reference data from a URL is NOT cross-border personal data egress. Only flag SOV-002 when the outbound call transmits personal data (PII, user profiles, tenant data), not when it reads static public content.
  • Internal serialization: json.dumps() / JSON.stringify() used for internal search indexing, caching, or logging is NOT a data export path. Only flag SOV-003 when serialization feeds an outbound transfer endpoint (HTTP response, file export, queue publish with external consumer).

Read the full file on GitHub · 59 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 · 59 lines · 45 tokens per session scan A 2dc91fc58213

Subscribe to this mod's changes

Judge Data Sovereignty is an agent published in the GitHub repository KevinRabun/judges (7 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 1,196 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.

Related

Other agents, from other repositories

patent-creator

Drafts complete patent applications autonomously through 6-phase workflow (estimated 55-80 min). Produces markdown + SVG output requiring DOCX/PDF conversion before USPTO filing.

RobThePCGuy/Claude-Patent-Creator · 42 tokens

codedna-reviewer

CodeDNA compliance reviewer. Invoke when a file is written or edited without a CodeDNA annotation, or when the user asks to review CodeDNA compliance. Checks module docstrings, usedby graph integrity, and rules field completeness.

Larens94/codedna · 50 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