responsible-data-handling

responsible-data-handling is a skill for Claude Code from obielin/responsible-ai-skills. It costs 37 tokens per session (1,553 once invoked), scanned B, original, MIT.

A process for classifying datasets, especially data about people, before accessing, processing, or storing them.

In plain words
What is it for?
Use it to label data as public, internal, personal, sensitive, or high risk, and document its legal basis, retention, and access rules.
Why use it?
It helps identify privacy, access-control, legal, and retention requirements before data is used in a pipeline.

Skill for Claude Code

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

Part of the responsible-ai-skills plugin — 9 skills shipped together

Good fit Use it to label data as public, internal, personal, sensitive, or high risk, and document its legal basis, retention, and access rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/obielin/responsible-ai-skills/responsible-data-handling
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 obielin/responsible-ai-skills --skill responsible-data-handling
Clone the repo
git clone --depth 1 https://github.com/obielin/responsible-ai-skills

Made for: Claude Code.

Or install responsible-ai-skills, the plugin that ships this one along with the rest of its 9 skills.

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 responsible-data-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/obielin/responsible-ai-skills/responsible-data-handling/github.svg)](https://agentmods.dev/skills/obielin/responsible-ai-skills/responsible-data-handling)
Your own site
<a href="https://agentmods.dev/skills/obielin/responsible-ai-skills/responsible-data-handling"><img src="https://agentmods.dev/badge/skills/obielin/responsible-ai-skills/responsible-data-handling/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 responsible-data-handling

Your own site · 80×15
<a href="https://agentmods.dev/skills/obielin/responsible-ai-skills/responsible-data-handling"><img src="https://agentmods.dev/badge/skills/obielin/responsible-ai-skills/responsible-data-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,553 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00037 $0.01553
Opus 5 $0.00018 $0.00776
Sonnet 5 $0.00007 $0.00311
Haiku 4.5 $0.00004 $0.00155

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

Security

Grade B, and why

responsible-data-handling scanned grade B with 1 finding 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 11d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 640 data/sensitive_dataset.csv # owner + group read, no world access
skills/responsible-data-handling/SKILL.md · 219 lines

How it starts

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

Responsible Data Handling

Data is the foundation of AI. How you handle it determines whether the system is lawful, fair, and trustworthy. Before writing a single line of data pipeline code, complete this skill.

Step 1: Classify Your Data

Classify every data source before touching it:

Class Description Examples Requirements
Public No personal data, publicly available ONS statistics, OpenStreetMap Standard care
Internal Organisation data, no personal info Product logs (anonymised), config Access controls
Personal Identifies or can identify individuals Names, emails, IP addresses UK GDPR applies
Sensitive Personal Special category under UK GDPR Health, ethnicity, religion, biometrics Explicit legal basis required
High Risk Personal + significant impact decisions Benefits data, criminal records DPA 2018 Schedule 1 + DPIA

Action: Label every dataset in your code:

# DATA CLASSIFICATION: Sensitive Personal (health records)
# LEGAL BASIS: Article 9(2)(h) — medical treatment purposes
# RETENTION: 8 years per NHS Records Management Code
# ACCESS: Restricted to authorised clinical staff only
df_patients = load_patient_records(...)

Step 2: Apply Data Minimisation

Load only what you need. Every unnecessary field is a liability:

# BAD: Loading everything and filtering later
df = pd.read_csv('patients.csv')
df = df[['age', 'diagnosis']]  # the name and postcode were loaded into memory

# GOOD: Select columns at load time
df = pd.read_csv('patients.csv', usecols=['age', 'diagnosis'])

# GOOD: SQL — select only what's needed
query = "SELECT age, diagnosis FROM patients WHERE cohort = 'study_group'"
df = pd.read_sql(query, conn)

Rule: If a column is not in your model's feature set or your analysis plan, do not load it.


Step 3: Handle Personal Identifiers

Anonymisation vs Pseudonymisation

Technique What It Does Still Personal Data?
Anonymisation Irreversibly removes all identifiers No
Pseudonymisation Replaces identifiers with tokens Yes — UK GDPR applies
Aggregation Reports only group statistics No (if k≥5)

Read the full file on GitHub · 219 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. 11d ago First seen · 219 lines · 37 tokens per session scan B c1359bca9ef7

Subscribe to this mod's changes

responsible-data-handling is a skill published in the GitHub repository obielin/responsible-ai-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 37 tokens to every session and 1,553 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). 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

visualize

Visualize the Semantica knowledge graph — topology, centrality, communities, paths, embeddings, decision insights, and temporal evolution. Uses GraphAnalyzer, CentralityCalculator, CommunityDetector, PathFinder, and ContextGraph analytics. Sub-commands: topology, centrality, community, path, decision-graph, insights…

semantica-agi/semantica · 0 tokens

embed

Generate, inspect, and use node/text embeddings in Semantica — compute Node2Vec embeddings, find similar nodes, score link predictions, batch similarity, and pairwise similarity. Uses NodeEmbedder, SimilarityCalculator, LinkPredictor, and AgentContext. Sub-commands: compute, similar, similarity, predict-link…

semantica-agi/semantica · 0 tokens

reason

Run reasoning over the Semantica knowledge graph — deductive logic, abductive hypothesis generation, Datalog programs, SPARQL queries, Rete network evaluation. Uses DeductiveReasoner, AbductiveReasoner, DatalogReasoner, SPARQLReasoner, ReteEngine. Sub-commands: deductive, abductive, datalog, sparql, rete, prove…

semantica-agi/semantica · 0 tokens

validate

Validate Semantica pipelines, extraction quality, graph schemas, and ontology consistency. Returns structured error/warning checklists. Uses PipelineValidator, PipelineBuilder.validatepipeline(), GraphValidator, and OntologyValidator. Sub-commands: pipeline, step, dependencies, extraction, graph, ontology, performance.

semantica-agi/semantica · 0 tokens

temporal

Temporal graph operations on Semantica — scoped queries at a point in time, graph snapshots, node change timelines, temporal causal analysis, and graph state reconstruction. Uses AgentContext.findprecedents(asof=), ContextGraph.stateat(), CausalChainAnalyzer.traceattime(), and TemporalQueryRewriter. Sub-commands…

semantica-agi/semantica · 0 tokens

extract

Run the full Semantica semantic extraction pipeline on a file or selected text — NER, relations, events, coreference resolution, triplets, and validation. Clears result cache before each run. Returns Markdown tables with entity/relation/event/triplet results and inline validator warnings.

semantica-agi/semantica · 59 tokens