data-retention-and-privacy-by-design

data-retention-and-privacy-by-design is a skill for Claude Code from shennawardana23/skillme. It costs 109 tokens per session (1,570 once invoked), scanned A, original, Apache-2.0.

A guide for deciding what personal information software should collect, how long it should keep it, and how it should support deletion and privacy requirements such as the GDPR.

In plain words
What is it for?
Use it when designing tables or fields for names, email addresses, phone numbers, identity documents, or payment details, and when adding retention or deletion policies.
Why use it?
It helps avoid storing unnecessary personal data indefinitely, which can make deletion requests, security incidents, and regulatory checks harder to handle.

Skill for Claude Code

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

Part of the skillme plugin — 137 skills, 2 commands shipped together

Good fit Use it when designing tables or fields for names, email addresses, phone numbers, identity documents, or payment details, and when adding retention or deletion policies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shennawardana23/skillme/data-retention-and-privacy-by-design
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 shennawardana23/skillme --skill data-retention-and-privacy-by-design
Clone the repo
git clone --depth 1 https://github.com/shennawardana23/skillme

Made for: Claude Code.

Or install skillme, the plugin that ships this one along with the rest of its 137 skills, 2 commands.

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 data-retention-and-privacy-by-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/shennawardana23/skillme/data-retention-and-privacy-by-design/github.svg)](https://agentmods.dev/skills/shennawardana23/skillme/data-retention-and-privacy-by-design)
Your own site
<a href="https://agentmods.dev/skills/shennawardana23/skillme/data-retention-and-privacy-by-design"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/data-retention-and-privacy-by-design/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 data-retention-and-privacy-by-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/shennawardana23/skillme/data-retention-and-privacy-by-design"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/data-retention-and-privacy-by-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,570 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.00109 $0.01570
Opus 5 $0.00055 $0.00785
Sonnet 5 $0.00022 $0.00314
Haiku 4.5 $0.00011 $0.00157

Measured 12d ago against content hash 5fd86f7ea622, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

data-retention-and-privacy-by-design 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 12d 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.

skills/data-retention-and-privacy-by-design/SKILL.md · 128 lines

How it starts

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

Data Retention and Privacy by Design

Privacy decisions made at schema-design time are cheap. The same decisions made after a data breach, a regulator inquiry, or a customer's deletion request are expensive and sometimes impossible (data already replicated to backups, analytics warehouses, and third-party processors). Design for minimal collection and bounded retention from the first migration.

Privacy by Design: 7 foundational principles (Cavoukian)

Ann Cavoukian's framework, adopted explicitly into GDPR (Article 25, "Data protection by design and by default"), gives seven principles. The two with the most day-to-day engineering weight:

  1. Proactive, not reactive. Privacy risks are addressed before code ships, not patched in after an incident.
  2. Privacy as the default setting. A user who does nothing gets the most private configuration automatically — opt-in for extra data use, never opt-out.
  3. Privacy embedded into design. Not a separate compliance layer bolted onto a finished system, but a property of the architecture itself (schema shape, retention jobs, access controls).
  4. Full functionality — positive-sum. Privacy protections shouldn't be framed as a tradeoff against product functionality; look for designs that deliver both (e.g., store a hashed lookup key instead of the raw value when only equality-matching is needed).
  5. End-to-end security. Data is protected across its whole lifecycle — collection, transit, storage, and secure deletion — not just at rest.
  6. Visibility and transparency. Data subjects and auditors can verify what's actually collected and done with data, not just read a privacy policy that describes intended behavior.
  7. Respect for user privacy. Design choices center the individual's interests, not just the organization's convenience.

GDPR's data minimization principle

GDPR Article 5(1)(c) requires personal data to be "adequate, relevant, and limited to what is necessary" for the stated purpose. In practice this means, for every field you're about to add to a schema:

Read the full file on GitHub · 128 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 128 lines · 109 tokens per session scan A 5fd86f7ea622

Subscribe to this mod's changes

data-retention-and-privacy-by-design is a skill published in the GitHub repository shennawardana23/skillme (2 stars, last pushed 15d ago), licensed Apache-2.0. It adds 109 tokens to every session and 1,570 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

compliance

A guide to following Xiaohongshu’s platform rules, including content, advertising, intellectual-property, and account-safety requirements. Xiaohongshu is a social platform where users publish and discover lifestyle content.

sutchan/Agent-Skills-Hub · 45 tokens

postgresql-development-cloudbase

Use when building, debugging, or evaluating CloudBase PostgreSQL / CloudBase PG / PG mode apps, including Postgres schema setup, queryPgDatabase/managePgDatabase, JS SDK v3 app.rdb() CRUD/RPC, PG HTTP API fallback, RLS-style permissions, username-password auth, and Web CMS/admin CRUD flows backed by CloudBase PG.

sutchan/Agent-Skills-Hub · 77 tokens

cloudbase-document-database-web-sdk

Use CloudBase document database Web SDK only for confirmed NoSQL collection work. Query, create, update, and delete document data; if the task mentions PostgreSQL / CloudBase PG / app.rdb(), route to postgresql-development instead.

sutchan/Agent-Skills-Hub · 55 tokens

minimal-web-baas-demo

A quick setup path for a small CloudBase web application with a database. CloudBase is a backend service that provides hosting and data storage, while CRUD means creating, reading, updating, and deleting records.

sutchan/Agent-Skills-Hub · 144 tokens

data-model-creation

Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.

sutchan/Agent-Skills-Hub · 68 tokens

relational-database-web-cloudbase

Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.

sutchan/Agent-Skills-Hub · 68 tokens