legal-rgpd

legal-rgpd is an agent for Claude Code from christopherlouet/claude-base. It costs 18 tokens per session (346 once invoked), scanned A, original, MIT.

A GDPR compliance agent audits how a project handles personal data and helps implement related protections. GDPR is the European Union's data-protection law.

In plain words
What is it for?
It is for auditing data flows, adding data-export and account-deletion endpoints, recording consent, protecting stored data, and preparing compliance documentation.
Why use it?
It helps identify unlawful or unsafe data practices and cover rights such as access, deletion, correction, portability, and consent withdrawal.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit It is for auditing data flows, adding data-export and account-deletion endpoints, recording consent, protecting stored data, and preparing compliance documentation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/christopherlouet/claude-base/legal-rgpd
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/christopherlouet/claude-base

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 legal-rgpd

README.md
[![agentmods](https://agentmods.dev/badge/agents/christopherlouet/claude-base/legal-rgpd/github.svg)](https://agentmods.dev/agents/christopherlouet/claude-base/legal-rgpd)
Your own site
<a href="https://agentmods.dev/agents/christopherlouet/claude-base/legal-rgpd"><img src="https://agentmods.dev/badge/agents/christopherlouet/claude-base/legal-rgpd/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 legal-rgpd

Your own site · 80×15
<a href="https://agentmods.dev/agents/christopherlouet/claude-base/legal-rgpd"><img src="https://agentmods.dev/badge/agents/christopherlouet/claude-base/legal-rgpd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 346 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.00018 $0.00346
Opus 5.5 $0.00007 $0.00138
Sonnet 5.5 $0.00004 $0.00069
Haiku 4.5 $0.00002 $0.00035

Measured 3mo ago against content hash b63b7d389caf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

legal-rgpd 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 3mo 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.

.claude/agents/legal-rgpd.md · 44 lines

What it actually says

GDPR compliance (General Data Protection Regulation).

Workflow

  1. Audit: identify all personal data collected and processed
  2. Principles: verify lawfulness, purpose, minimization, accuracy, retention, confidentiality
  3. Rights: implement access (Art.15), rectification (Art.16), erasure (Art.17), portability (Art.20), objection (Art.21)
  4. Consent: record with timestamp, IP, policy version
  5. Security: encryption (AES-256-GCM), pseudonymization (SHA-256 + salt), audit logs
  6. Documentation: processing register, privacy policy

GDPR endpoints to implement

  • GET /api/user/data-export: data export (right of access + portability)
  • DELETE /api/user/account: anonymization + deletion (right to erasure)
  • POST /api/consent: consent recording

Expected output

  1. Personal data audit
  2. Implementation of GDPR endpoints
  3. Legal documentation (processing register)
  4. Technical security measures

Directives

  • NEVER store data without an identified legal basis
  • IMPORTANT: Anonymize rather than delete if needed for accounting
  • YOU MUST log all operations on personal data for audit
  • IMPORTANT: Encrypt sensitive data at rest and in transit
  • NEVER forget the processing register

Think hard about data minimization.

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. 3mo ago First seen · 44 lines · 18 tokens per session scan A b63b7d389caf

Subscribe to this mod's changes

legal-rgpd is an agent published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 346 once invoked, about $0.0001 per session on Opus 5.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

legal-rgpd compared with agents from other repositories

legal-rgpd next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
legal-rgpdchristopherlouet/claude-baseAgent5yesterdayMITA18Claude Code
compliance-engineertravisjneuman/.claudeAgent1152d agoMITA73Claude Code
vue-nuxt-experttravisjneuman/.claudeAgent1152d agoMITA90Claude Code
devsecops-engineertravisjneuman/.claudeAgent1152d agoMITA83Claude Code
devops-engineertravisjneuman/.claudeAgent1152d agoMITA48Claude Code
pwa-specialisttravisjneuman/.claudeAgent1152d agoMITA76Claude Code
api-integration-specialisttravisjneuman/.claudeAgent1152d agoMITA74Claude Code