Data portability

From onfire7777/universal-ai-skills-library · View interactive version

Data portability is an AI agent skill from the GitHub repository onfire7777/universal-ai-skills-library. Executes GDPR Article 20 data portability requests, covering machine-readable format requirements (JSON, CSV, XML), direct controller-to-controller transfer mechanisms, and scope limitations to data provided by the subject on consent or contract basis. Activate for portability, data export, Art. 20,

How to use this skill

Skill file

Executing Data Portability Requests

Overview

The right to data portability under GDPR Article 20 allows data subjects to receive their personal data in a structured, commonly used, and machine-readable format, and to transmit that data to another controller without hindrance. This skill provides the complete workflow for assessing scope, extracting data, formatting output, and facilitating direct transfers.

Legal Foundation

GDPR Article 20 — Right to Data Portability

  1. Art. 20(1) — The data subject has the right to receive the personal data concerning them, which they have provided to a controller, in a structured, commonly used and machine-readable format, and has the right to transmit those data to another controller without hindrance from the controller to which the personal data have been provided, where:
  1. Art. 20(2) — The data subject has the right to have the personal data transmitted directly from one controller to another, where technically feasible.
  1. Art. 20(3) — The exercise of portability shall not adversely affect the rights and freedoms of others.
  1. Art. 20(4) — The right to portability shall not apply to processing necessary for the performance of a task carried out in the public interest or in the exercise of official authority vested in the controller.

Scope: What Data Is Portable

Per EDPB (formerly WP29) Guidelines on the right to data portability (WP242 rev.01), portable data includes:

  1. Data provided by the data subject: Information actively and knowingly provided (e.g., account details, form submissions, uploaded content).
  2. Observed data: Data generated by the data subject's activity (e.g., search history, location data, activity logs, raw sensor data from connected devices).
  3. NOT included — Inferred or derived data: Data created by the controller through analysis (e.g., credit scores, profiling segments, algorithmic assessments). These are the controller's intellectual output.

Legal Basis Filter

Portability applies ONLY where the legal basis for processing is:

Portability does NOT apply to data processed under:

Portability Request Workflow

Step 1: Receive and Validate the Request

  1. Log the request with reference PORT-YYYY-NNNN.
  2. Verify the requester's identity (tiered verification as per DSAR process).
  3. Determine whether the request is for:
  1. If direct transfer, obtain the receiving controller's details:

Step 2: Scope Assessment

  1. Identify all personal data the subject has provided or that has been observed through their use of the service.
  2. Filter by legal basis — include only data processed under consent (Art. 6(1)(a)/Art. 9(2)(a)) or contract (Art. 6(1)(b)).
  3. Exclude inferred or derived data (profiling scores, analytics outputs, internal assessments).
  4. Exclude data that would adversely affect the rights and freedoms of others (Art. 20(3)) — redact third-party personal data from exported datasets.
  5. Confirm that processing is carried out by automated means (manual paper files are excluded).

Step 3: Data Extraction

  1. Query all relevant systems for the in-scope data:
  1. Apply the scope filter from Step 2.
  2. De-duplicate records across systems.
  3. Validate data integrity (checksums, record counts).

Step 4: Format the Data

Meridian Analytics Ltd supports the following machine-readable formats:

| Format | MIME Type | Use Case | Schema |

|--------|-----------|----------|--------|

| JSON | application/json | Default — structured, widely supported | Schema documented in API specification |

| CSV | text/csv | Tabular data, spreadsheet-compatible | Header row with field names, UTF-8 encoding, RFC 4180 compliant |

| XML | application/xml | Enterprise integration, legacy systems | XSD schema provided with export |

Format selection priority:

  1. If the data subject specified a preferred format, use it (if supported).
  2. If the receiving controller specified a format, use it.
  3. Default to JSON.

Data packaging:

Step 5: Execute Direct Transfer (If Applicable)

If the data subject requested direct controller-to-controller transfer under Art. 20(2):

  1. Verify the receiving controller's identity and authorisation.
  2. Establish a secure transfer channel:
  1. Obtain transfer confirmation (HTTP 200/201 response, SFTP receipt confirmation, or download confirmation).
  2. If direct transfer is not technically feasible, notify the data subject and provide the data directly to them instead, per Art. 20(2).

Step 6: Deliver to Data Subject (Self-Export)

  1. Upload the encrypted archive to the secure download portal.
  2. Send notification to the data subject with:
  1. Record the delivery confirmation.

Step 7: Close and Document

  1. Update the portability request register with:
  1. Retain the processing record for 3 years.
  2. The export does NOT require deletion of the original data — portability is an additional right, not a replacement for erasure.

Response Timeline

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.