rat

rat is a skill for Claude Code from betobetico/claude-para-abogados. It costs 93 tokens per session (1,647 once invoked), scanned A, original, Apache-2.0.

A generator for a record of processing activities, or RAT: a document describing an organisation’s personal-data uses as required by the GDPR.

In plain words
What is it for?
It is for creating one compliance record for each activity, covering its purpose, legal basis, people responsible, data involved and other required information.
Why use it?
It helps turn data-processing information into the fields required by law and the format recommended by Spain’s AEPD, making missing details easier to spot.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the proteccion-datos plugin — 3 skills, 1 agent shipped together

Good fit It is for creating one compliance record for each activity, covering its purpose, legal basis, people responsible, data involved and other required information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/betobetico/claude-para-abogados/rat
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.

Any agent
npx skills add betobetico/claude-para-abogados --skill rat
Clone the repo
git clone --depth 1 https://github.com/betobetico/claude-para-abogados

Made for: Claude Code.

Or install proteccion-datos, the plugin that ships this one along with the rest of its 3 skills, 1 agent.

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 rat

README.md
[![agentmods](https://agentmods.dev/badge/skills/betobetico/claude-para-abogados/rat/github.svg)](https://agentmods.dev/skills/betobetico/claude-para-abogados/rat)
Your own site
<a href="https://agentmods.dev/skills/betobetico/claude-para-abogados/rat"><img src="https://agentmods.dev/badge/skills/betobetico/claude-para-abogados/rat/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 rat

Your own site · 80×15
<a href="https://agentmods.dev/skills/betobetico/claude-para-abogados/rat"><img src="https://agentmods.dev/badge/skills/betobetico/claude-para-abogados/rat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,647 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.00093 $0.01647
Opus 5.5 $0.00037 $0.00659
Sonnet 5.5 $0.00019 $0.00329
Haiku 4.5 $0.00009 $0.00165

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

Security

Grade A, and why

rat 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 2mo 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.

proteccion-datos/skills/rat/SKILL.md · 135 lines

How it starts

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

/rat

  1. Leer ~/.claude/plugins/config/claude-para-abogados/proteccion-datos/CLAUDE.md — perfil de práctica.
  2. Identificar las actividades de tratamiento a documentar.
  3. Completar cada ficha con los campos del art. 30 RGPD.
  4. Producir las fichas en formato tabla AEPD.

Propósito

Documentar las actividades de tratamiento de datos personales de una organización en un RAT que cumpla el art. 30 RGPD. El RAT es obligatorio para organizaciones con más de 250 empleados y, en la práctica, para cualquier organización que trate datos de forma no ocasional (que son casi todas).

Campos obligatorios por ficha (art. 30.1 RGPD)

Campo Descripción Ejemplo
Nombre de la actividad Denominación descriptiva "Gestión de nóminas"
Responsable del tratamiento Identidad y datos de contacto Empresa X, CIF, dirección, contacto
Corresponsable (si aplica) Identidad y datos de contacto —
Representante (si aplica) Si el responsable no está en la UE —
DPD/DPO Datos de contacto del DPD [email protected]
Finalidad del tratamiento Para qué se tratan los datos "Cumplimiento de obligaciones laborales"
Base jurídica Art. 6 RGPD (y art. 9 si datos especiales) "Art. 6.1.b) RGPD — ejecución de contrato de trabajo"
Categorías de interesados Quiénes son los afectados "Empleados"
Categorías de datos Qué datos se tratan "Identificativos, económicos, profesionales"
Datos especiales (art. 9) Si se tratan categorías especiales "Datos de salud (bajas IT)"
Destinatarios A quién se comunican los datos "AEAT, TGSS, entidad bancaria"
Transferencias internacionales Si hay, a qué países y garantías "No" / "EE.UU. — decisión de adecuación"
Plazos de conservación Cuánto tiempo se conservan "Duración de la relación laboral + 4 años (prescripción)"
Medidas de seguridad Descripción general "Cifrado, control de accesos, copias de seguridad"

Bases jurídicas habituales (art. 6 RGPD)

Read the full file on GitHub · 135 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. 2mo ago First seen · 135 lines · 93 tokens per session scan A 06785f70b80b

Subscribe to this mod's changes

rat is a skill published in the GitHub repository betobetico/claude-para-abogados (50 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 93 tokens to every session and 1,647 once invoked, about $0.0004 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-10-01.

Related

rat compared with skills from other repositories

rat next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ratbetobetico/claude-para-abogadosSkill502mo agoApache-2.0A93Claude Code
fto-triageanthropics/claude-for-legalSkill10k2d agoApache-2.0A81Claude Code
legal-holdanthropics/claude-for-legalSkill10k2d agoApache-2.0A68Claude Code
specification-writingwanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA49Claude Code
terms-of-servicegenspark-ai/genofficeSkill13kyesterdayApache-2.0A32Claude Code, Codex
regulatory-research-fallbackHKUDS/OpenSpaceSkill8.1k20d agoMITA20Claude Code, Codex
x-scorecardx-cmd/x-cmdSkill4.8k8d agoApache-2.0A57Claude Code, Codex