kvkk-compliance

kvkk-compliance is a skill for Claude Code, Codex from ThomasMoreAI/legal-skills-open. It costs 33 tokens per session (2,672 once invoked), scanned A, original, Apache-2.0.

A practical guide to protecting personal data under Turkey’s KVKK law and the EU’s GDPR, two privacy regulations. It covers consent, deletion requests, breach reporting, cookie consent, audit logs, and data classification.

In plain words
What is it for?
Use it when designing consent flows, deletion and breach workflows, cookie banners, audit logging, or personal-data categories for software used in Turkey or the EU.
Why use it?
It helps developers turn privacy requirements into concrete application patterns and avoid overlooking user rights or compliance records.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when designing consent flows, deletion and breach workflows, cookie banners, audit logging, or personal-data categories for software used in Turkey or the EU.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thomasmoreai/legal-skills-open/kvkk-compliance
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 ThomasMoreAI/legal-skills-open --skill kvkk-compliance
Clone the repo
git clone --depth 1 https://github.com/ThomasMoreAI/legal-skills-open

Made for: Claude Code, Codex.

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 kvkk-compliance

README.md
[![agentmods](https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/kvkk-compliance/github.svg)](https://agentmods.dev/skills/thomasmoreai/legal-skills-open/kvkk-compliance)
Your own site
<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/kvkk-compliance"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/kvkk-compliance/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 kvkk-compliance

Your own site · 80×15
<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/kvkk-compliance"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/kvkk-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,672 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00033 $0.02672
Opus 5 $0.00016 $0.01336
Sonnet 5 $0.00007 $0.00534
Haiku 4.5 $0.00003 $0.00267

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

Security

Grade A, and why

kvkk-compliance 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 9d 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.

cross-jurisdiction/data-protection/skills/kvkk-compliance/SKILL.md · 277 lines

How it starts

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

KVKK & GDPR Compliance Patterns

Practical patterns for Turkish KVKK (Law No. 6698) and EU GDPR data protection compliance.

KVKK vs GDPR Comparison

Aspect KVKK (Turkey) GDPR (EU)
Authority KVKK Board (Kisisel Verileri Koruma Kurumu) National DPAs + EDPB
Consent Explicit, no pre-ticked boxes Freely given, specific, informed
Breach notification "As soon as possible" to Board 72 hours to DPA
DPO requirement VERBiS registration Mandatory for public bodies + large-scale
Right to erasure Article 7 - withdrawal + deletion Article 17 - "Right to be forgotten"
Data transfer abroad Board approval or adequate country Adequacy decision, SCCs, or BCRs
Fines Up to ~2M TL per violation Up to 20M EUR or 4% global turnover
Legal bases 5 in Article 5 + explicit consent 6 in Article 6 + explicit consent

Data Classification

enum DataCategory {
  PERSONAL = 'personal',           // name, email, phone
  SPECIAL = 'special_category',    // health, biometrics, religion
  ANONYMOUS = 'anonymous',         // cannot identify anyone
  PSEUDONYMOUS = 'pseudonymous',   // identifiable only with additional data
}

interface DataField {
  name: string
  category: DataCategory
  retentionDays: number
  requiresExplicitConsent: boolean
  encryptAtRest: boolean
}

const USER_DATA_FIELDS: DataField[] = [
  { name: 'email', category: DataCategory.PERSONAL, retentionDays: 730, requiresExplicitConsent: false, encryptAtRest: false },
  { name: 'healthRecords', category: DataCategory.SPECIAL, retentionDays: 365, requiresExplicitConsent: true, encryptAtRest: true },
  { name: 'analyticsId', category: DataCategory.PSEUDONYMOUS, retentionDays: 365, requiresExplicitConsent: false, encryptAtRest: false },
]
// BAD: single "accept all" checkbox - violates both KVKK and GDPR
// <input type="checkbox" /> I accept everything

// GOOD: granular, purpose-specific consent
interface ConsentRecord {
  userId: string; purpose: string; granted: boolean
  timestamp: Date; ipAddress: string; version: string
}

const CONSENT_PURPOSES = [
  { id: 'essential', label: 'Service operation', required: true },
  { id: 'analytics', label: 'Usage analytics', required: false },
  { id: 'marketing', label: 'Marketing emails', required: false },
  { id: 'third_party', label: 'Third-party sharing', required: false },
] as const

async function recordConsent(userId: string, purposeId: string, granted: boolean, meta: { ip: string; userAgent: string }): Promise<ConsentRecord> {
  // Always INSERT, never UPDATE - full audit trail
  return db.consentRecords.create({
    data: { userId, purpose: purposeId, granted, timestamp: new Date(), ipAddress: meta.ip, version: CURRENT_CONSENT_VERSION },
  })
}

async function hasActiveConsent(userId: string, purposeId: string): Promise<boolean> {
  const latest = await db.consentRecords.findFirst({
    where: { userId, purpose: purposeId },
    orderBy: { timestamp: 'desc' },
  })
  return latest?.granted === true
}

Read the full file on GitHub · 277 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. 9d ago First seen · 277 lines · 33 tokens per session scan A 78d631ddaecf

Subscribe to this mod's changes

kvkk-compliance is a skill published in the GitHub repository ThomasMoreAI/legal-skills-open (72 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 2,672 once invoked, about $0.0002 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-09-03.