Rat logo

Rat

Community
betobetico
rat

Crea o actualiza el Registro de Actividades de Tratamiento (RAT) conforme al art. 30 del RGPD, en el formato recomendado por la AEPD. Genera una ficha por cada actividad de tratamiento con todos los campos obligatorios. Usar cuando el usuario dice "registro de actividades", "RAT", "crea una ficha de tratamiento", "actualiza el registro", o necesita documentar tratamientos de datos personales.

Overview

Publisherbetobetico
Repositoryclaude-para-abogados
Skill namerat
Stars
47
Forks
27
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by betobetico on GitHub. Read the source before you install it.

Installation

Install the Rat AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/betobetico/claude-para-abogados/tree/main/proteccion-datos/skills/rat
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/betobetico/claude-para-abogados.git /tmp/claude-para-abogados
mkdir -p .claude/skills
cp -r /tmp/claude-para-abogados/proteccion-datos/skills/rat .claude/skills/rat
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Rat in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Rat on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Rat is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/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)

CampoDescripciónEjemplo
Nombre de la actividadDenominación descriptiva"Gestión de nóminas"
Responsable del tratamientoIdentidad y datos de contactoEmpresa 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/DPODatos de contacto del DPDdpd@empresa.com
Finalidad del tratamientoPara qué se tratan los datos"Cumplimiento de obligaciones laborales"
Base jurídicaArt. 6 RGPD (y art. 9 si datos especiales)"Art. 6.1.b) RGPD — ejecución de contrato de trabajo"
Categorías de interesadosQuiénes son los afectados"Empleados"
Categorías de datosQué datos se tratan"Identificativos, económicos, profesionales"
Datos especiales (art. 9)Si se tratan categorías especiales"Datos de salud (bajas IT)"
DestinatariosA quién se comunican los datos"AEAT, TGSS, entidad bancaria"
Transferencias internacionalesSi hay, a qué países y garantías"No" / "EE.UU. — decisión de adecuación"
Plazos de conservaciónCuánto tiempo se conservan"Duración de la relación laboral + 4 años (prescripción)"
Medidas de seguridadDescripción general"Cifrado, control de accesos, copias de seguridad"

Bases jurídicas habituales (art. 6 RGPD)

BaseArtículoUso típico
ConsentimientoArt. 6.1.a)Marketing, cookies no esenciales, newsletters
Ejecución de contratoArt. 6.1.b)Relación laboral, prestación de servicios contratados
Obligación legalArt. 6.1.c)Obligaciones fiscales, PBC, SSocial
Intereses vitalesArt. 6.1.d)Emergencias sanitarias (excepcional)
Interés públicoArt. 6.1.e)Administraciones públicas
Interés legítimoArt. 6.1.f)Videovigilancia, prevención del fraude, marketing directo (con límites)

Actividades de tratamiento habituales

Checklist para no olvidar tratamientos comunes:

  • Gestión de RRHH / nóminas
  • Selección de personal
  • Control horario / presencia
  • Videovigilancia
  • Gestión de clientes / CRM
  • Facturación y contabilidad
  • Marketing y comunicaciones comerciales
  • Gestión de proveedores
  • Gestión web / cookies
  • Canal de denuncias (Ley 2/2023)
  • Prevención de blanqueo de capitales
  • Gestión de reclamaciones / ARCO

Formato de salida

markdown
BORRADOR — REGISTRO DE ACTIVIDADES DE TRATAMIENTO — REVISIÓN DPD OBLIGATORIA

> **Nota para el revisor**
> - **Actividades documentadas:** [N]
> - **Elementos marcados [verificar]:** [N]
> - **Antes de actuar:** verificar bases jurídicas con DPD; confirmar plazos de conservación; revisar transferencias internacionales; validar medidas de seguridad con IT.

## RAT — [Nombre de la organización]

**Responsable del tratamiento:** [datos]
**DPD:** [datos]
**Fecha de actualización:** [fecha]

### Ficha 1: [Nombre de la actividad]

| Campo | Contenido |
|---|---|
| Finalidad | [finalidad] |
| Base jurídica | [base] |
| Categorías de interesados | [categorías] |
| Categorías de datos | [categorías] |
| Datos especiales | [sí/no — cuáles] |
| Destinatarios | [destinatarios] |
| Transferencias internacionales | [sí/no — detalle] |
| Plazo de conservación | [plazo — fundamentación] |
| Medidas de seguridad | [descripción] |

[Repetir para cada actividad]

### Resumen del RAT

| N.o | Actividad | Base jurídica | Datos especiales | TI | Estado |
|---|---|---|---|---|---|
| 1 | [nombre] | [base] | [sí/no] | [sí/no] | [completo/pendiente] |

---

**Qué hacer a continuación:**
1. **Añadir actividades** — documento más tratamientos que identifiques.
2. **EIPD** — `/proteccion-datos:eipd` si algún tratamiento requiere evaluación de impacto.
3. **Cláusulas informativas** — genero las cláusulas de información (arts. 13-14 RGPD) para cada tratamiento.
4. **Otra cosa** — dime qué necesitas.

Referencias legislativas

  • RGPD art. 30 — registro de actividades de tratamiento.
  • RGPD art. 6 — bases jurídicas del tratamiento.
  • RGPD art. 9 — tratamiento de categorías especiales de datos.
  • RGPD arts. 13-14 — información al interesado.
  • LOPDGDD arts. 31-32 — obligaciones del responsable.
  • Guía del RAT de la AEPD — modelo y orientaciones.

Guardarraíles

  • La base jurídica no se puede elegir a conveniencia. Cada tratamiento tiene una base jurídica que se determina por su naturaleza, no por preferencia del responsable.
  • El consentimiento no es siempre la mejor opción. Para relaciones laborales es ejecución de contrato (art. 6.1.b), no consentimiento — el trabajador no puede consentir libremente frente al empleador.
  • Los plazos de conservación deben estar justificados. No basta con "indefinido" — hay que vincular cada plazo a una obligación legal o finalidad concreta.
  • Las transferencias internacionales incluyen servicios cloud. Si usan AWS, Google Cloud, Microsoft Azure, etc., hay transferencia internacional — verificar garantías.
  • El RAT es un documento vivo. Advertir que debe actualizarse cada vez que cambie un tratamiento.

Frequently asked questions

What does the Rat AI skill do?

Crea o actualiza el Registro de Actividades de Tratamiento (RAT) conforme al art. 30 del RGPD, en el formato recomendado por la AEPD. Genera una ficha por cada actividad de tratamiento con todos los campos obligatorios. Usar cuando el usuario dice "registro de actividades", "RAT", "crea una ficha de tratamiento", "actualiza el registro", o necesita documentar tratamientos de datos personales.

Why use Rat on TypingMind?

Because you install it once and use it with any model. Rat is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Rat in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/betobetico/claude-para-abogados/tree/main/proteccion-datos/skills/rat. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Rat?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Rat?

As many as you like. As long as a model supports skills, you can use Rat with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Rat AI skill free?

Yes. It is published on GitHub by betobetico under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇