Rseng Regulatory Compliance logo

Rseng Regulatory Compliance

Community
fdiblen
rseng-regulatory-compliance

Covers checking research code and data against data-protection and AI regulation: GDPR obligations in code (personal data discovery, minimization, pseudonymization vs anonymization, retention, data-subject rights, DPIA triggers), the EU AI Act (risk tiers, research carve-out, transparency duties), and similar regimes. Use PROACTIVELY when person-level or sensitive data is evident in the project, and when a project processes personal or sensitive data, trains or ships AI/ML systems, when the user asks about GDPR, the AI Act, DPIAs, consent or anonymization, or before publishing datasets or models derived from people. (Secrets hygiene and protective controls: rseng-security; sensitive-data stewardship: rseng-data-management; AI-use disclosure: rseng-ai-declaration.)

Overview

Publisherfdiblen
Repositoryrseng-agent-skills
Skill namerseng-regulatory-compliance
Stars
26
Forks
2
Bundled files
1
LicenseCC-BY-4.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.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

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

Installation

Install the Rseng Regulatory Compliance 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/fdiblen/rseng-agent-skills/tree/main/skills/rseng-regulatory-compliance
  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/fdiblen/rseng-agent-skills.git /tmp/rseng-agent-skills
mkdir -p .claude/skills
cp -r /tmp/rseng-agent-skills/skills/rseng-regulatory-compliance .claude/skills/rseng-regulatory-compliance
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Rseng Regulatory Compliance 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 Rseng Regulatory Compliance 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 Rseng Regulatory Compliance 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.

Regulatory compliance for research code and data

Regulation reaches research software the moment code touches personal data or ships an AI system. An agent cannot certify compliance - that is a legal judgment owned by the institution's data protection officer (DPO), ethics board and legal office - but it CAN do the engineering half: find the personal data, check the code against the obligations that have code-shaped answers, prepare the documentation reviewers need, and flag exactly what requires a human decision. State that division of labor explicitly whenever this skill is used. Not legal advice.

GDPR: what an agent can check in code and data

Personal data discovery first - obligations attach to data you HAVE:

  • Scan datasets, logs, configs and repo history for personal data: names, emails, identifiers, IP addresses, free-text fields that smuggle PII, geolocation precise enough to identify. Automated PII detection (Presidio-class tools) finds the bulk; manual review covers domain-specific identifiers (patient codes, student IDs). Repository history counts - committed-then-deleted data is still there (rseng-security's leak response applies).
  • Check the code paths, not just the files: what gets logged (debug logging of request payloads is a classic leak), what lands in error reports and caches, what third-party services receive (telemetry, cloud APIs) - each is a processing activity.

Obligations with code-shaped answers:

  • Minimization: collect and keep only fields the research question needs; challenge every column (rseng-data-management's data dictionary makes this reviewable).
  • Pseudonymization vs anonymization - keep the distinction sharp: pseudonymized data (key exists somewhere) is still personal data under GDPR; true anonymization is hard, and removing names is not it (re-identification via quasi-identifiers is the standard failure). Treat "anonymized" claims as claims to verify with the data steward, not labels to accept.
  • Retention: implement it - deletion jobs, dated cohorts, expiry in the pipeline - a retention policy without code is a wish.
  • Data-subject rights: for anything service-shaped, access/export/ erasure must be executable; check that erasure reaches backups, caches, derived datasets and trained artifacts, or documents why it cannot.
  • Security of processing: encryption in transit and at rest, access control, and the sensitive-data handling rules already in rseng-data-management and rseng-security.
  • DPIA triggers: large-scale processing of special categories (health, biometrics, ethnicity...), systematic monitoring, new technologies on vulnerable groups - when the project matches, prepare the processing inventory and route to the DPO; do not improvise the assessment.

EU AI Act: research software that is or contains AI

  • Locate the project honestly on the map: the Act regulates by risk tier (prohibited practices, high-risk uses, transparency-tier, minimal). Annex-listed high-risk areas (health, education, employment, law enforcement...) matter the moment research prototypes head toward deployment.
  • The scientific-research carve-out: AI developed and used SOLELY for scientific research and development is outside the Act's scope - but the exemption ends where real-world deployment begins. A model handed to a hospital, a public demo, a spin-off: each crosses the line and the obligations arrive. Flag the transition explicitly; it is the single most important thing for a research team to notice in time.
  • Obligations an agent can prepare for when in or near scope: technical documentation and logging capability, training-data documentation and governance (dataset provenance - rseng-data-management, rseng-fair-ml), accuracy/robustness testing evidence (rseng-testing), transparency notices for AI-interacting users, and human-oversight hooks. The project's aidecl.yaml (rseng-ai-declaration) is a natural seed for the documentation trail.
  • General-purpose model obligations (training-data summaries, copyright policy) sit with model providers - relevant when the research project IS training and releasing such models.

Other regimes, same method

The pattern generalizes: identify regulated material (US HIPAA for health data, sectoral and national laws, export controls on some domains), find where code touches it, check the code-shaped obligations, document, and route judgment calls to the responsible office. When the user's jurisdiction is known, name the regime; when not, ask - jurisdiction changes the answer.

The compliance check, as a workflow

  1. Inventory: what personal/regulated data exists, where, and which code processes it (a data-flow sketch pays for itself at DPIA time).
  2. Scan: automated PII detection over data, logs and history; review hits.
  3. Check the code-shaped obligations above; file findings as issues with severity (rseng-version-control-review).
  4. Prepare documentation: processing inventory, retention map, AI Act tier assessment draft, gaps list.
  5. Route: DPO/ethics/legal for judgments; record their decisions in the repository (rseng-documentation) and revisit at each release (rseng-publishing-releasing) - compliance drifts like code does.

Working with this skill

This skill is source-independent: its authority is the regulations themselves and the official guidance linked below. It engineers the checkable half and routes the rest; rseng-data-management owns sensitive-data storage practice, rseng-security owns the protective controls, rseng-ai-declaration owns AI-use disclosure.

Learn more (verified):

Related skills

Check whether any of these applies before moving on:

  • rseng-ai-declaration - seeds AI Act documentation trail
  • rseng-archiving - publishing datasets triggers obligations
  • rseng-data-management - sensitive-data storage and stewardship
  • rseng-fair-ml - training-data documentation duties
  • rseng-security - encryption, access control, leak response
  • rseng-testing - robustness evidence for AI Act

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Rseng Regulatory Compliance AI skill do?

Covers checking research code and data against data-protection and AI regulation: GDPR obligations in code (personal data discovery, minimization, pseudonymization vs anonymization, retention, data-subject rights, DPIA triggers), the EU AI Act (risk tiers, research carve-out, transparency duties), and similar regimes. Use PROACTIVELY when person-level or sensitive data is evident in the project, and when a project processes personal or sensitive data, trains or ships AI/ML systems, when the user asks about GDPR, the AI Act, DPIAs, consent or anonymization, or before publishing datasets or m...

Why use Rseng Regulatory Compliance on TypingMind?

Because you install it once and use it with any model. Rseng Regulatory Compliance 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 Rseng Regulatory Compliance in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fdiblen/rseng-agent-skills/tree/main/skills/rseng-regulatory-compliance. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Rseng Regulatory Compliance?

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 Rseng Regulatory Compliance?

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

Is the Rseng Regulatory Compliance AI skill free?

Yes. It is published on GitHub by fdiblen under the CC-BY-4.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 👇