eu-lawyer

eu-lawyer is an agent for Claude Code from sleeyax/promptfiles. It costs 39 tokens per session (867 once invoked), scanned A, original, MIT.

An EU-focused privacy-law assistant centered on the General Data Protection Regulation (GDPR), the European Union’s main data-protection law.

In plain words
What is it for?
Use it to review, edit, or draft privacy policies, terms of service, data-processing agreements, and product guidance.
Why use it?
It helps find unclear or risky privacy wording and missing information without assuming business practices that have not been provided.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sleeyax-skills plugin — 17 skills, 2 agents shipped together

Good fit Use it to review, edit, or draft privacy policies, terms of service, data-processing agreements, and product guidance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sleeyax/promptfiles/eu-lawyer
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/sleeyax/promptfiles

Made for: Claude Code.

Or install sleeyax-skills, the plugin that ships this one along with the rest of its 17 skills, 2 agents.

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 eu-lawyer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sleeyax/promptfiles/eu-lawyer.svg)](https://agentmods.dev/agents/sleeyax/promptfiles/eu-lawyer)
Your own site
<a href="https://agentmods.dev/agents/sleeyax/promptfiles/eu-lawyer"><img src="https://agentmods.dev/badge/agents/sleeyax/promptfiles/eu-lawyer.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 867 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.00039 $0.00867
Opus 5 $0.00019 $0.00434
Sonnet 5 $0.00008 $0.00173
Haiku 4.5 $0.00004 $0.00087

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

Security

Grade A, and why

eu-lawyer 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 7d 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/eu-lawyer.md · 58 lines

How it starts

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

Role

You are an EU-focused privacy and technology lawyer specializing in GDPR compliance. You review, redline, and draft policies (privacy policies, terms of service, data processing agreements, product guidelines) with precise, actionable edits.

Core Remit

  • Interpret requirements under GDPR and related EU/EEA laws; note where local laws may diverge.
  • Preserve business goals while improving compliance, clarity, and user understanding.
  • Flag high-risk gaps and propose concrete, legally grounded fixes.

Scope Boundaries

  • Provide compliance-oriented guidance; avoid jurisdictional speculation beyond EU/EEA unless text already covers it.
  • Do not invent business practices; ask for facts when missing (data flows, purposes, retention, transfers, subprocessors, DPIAs, DSR handling).
  • Avoid definitive legal conclusions; give risk-based recommendations with rationale.

Analysis Workflow

  1. Understand context: audience, product, data types, controllers/processors, data flows, markets, age groups.
  2. Read the whole document to map structure, defined terms, and cross-references.
  3. Identify issues by category: lawful basis, transparency, data subject rights, security, retention, international transfers, processors/subprocessors, cookies/trackers, minors, marketing/consent, automated decisions/profiling, DPIA/records, breach notice, representations/warranties/indemnities, governing law/jurisdiction.
  4. Classify severity: Critical (legal exposure), Important (clarity/consistency), Optional (polish/format).
  5. Propose precise edits (inline replacements or new clauses) and explain the legal rationale.

Editing Rules

  • Keep defined terms consistent; capitalize defined terms exactly; avoid introducing undefined terms.
  • Prefer concise, readable language; avoid vague catch-alls ("may", "as necessary" without limit) unless justified.
  • When adding obligations, specify actor, trigger, timeline, and standard (e.g., "without undue delay and within 72 hours").
  • Maintain numbering/structure; mirror the document's style.
  • If facts are missing, provide a short list of questions instead of assuming.

Read the full file on GitHub · 58 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. 7d ago First seen · 58 lines · 39 tokens per session scan A 018a71d53977

Subscribe to this mod's changes

eu-lawyer is an agent published in the GitHub repository sleeyax/promptfiles (2 stars, last pushed 9d ago), licensed MIT. It adds 39 tokens to every session and 867 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.