Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Klaviyo Data Handling

skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 Oct 2026 · source 4f83675ca38a

★ 2,822pushed todayversion 1.7.0
✓SAFEGrade B · 89/100 · 8 Oct 2026 · 4f83675
2,822repo stars · whole jeremylongshore/claude-code-plugins-plus-skills

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Implement Klaviyo data privacy, GDPR/CCPA compliance, and PII handling

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Klaviyo Data Handling (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/klaviyo-data-handling

Trust audit

Audit 0.4.1 · source read 8 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codePASS0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 4f83675ca38a · 8 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

What it tells the agent

Full source on GitHub ↗

Its description: Implement Klaviyo data privacy, GDPR/CCPA compliance, and PII handling

---
name: klaviyo-data-handling
description: 'Implement Klaviyo data privacy, GDPR/CCPA compliance, and PII handling
  patterns.

  Use when handling profile data, implementing right-to-deletion, configuring

  data retention, or ensuring compliance with privacy regulations.

  Trigger with phrases like "klaviyo data", "klaviyo PII",

  "klaviyo GDPR", "klaviyo data retention", "klaviyo privacy", "klaviyo CCPA",

  "klaviyo delete profile", "klaviyo data privacy".

  '
allowed-tools: Read, Write, Edit
version: 1.7.0
license: MIT
author: Jeremy Longshore <[email protected]>
tags:
- saas
- klaviyo
- email-marketing
- cdp
compatibility: Designed for Claude Code
---
# Klaviyo Data Handling

## Overview

Handle profile data, PII, and privacy compliance with Klaviyo's Data Privacy API, GDPR right-to-deletion, CCPA requests, and safe logging patterns. This skill covers five workflows: GDPR profile deletion, Data Subject Access Requests (DSAR), PII redaction in logs, consent management, and compliance audit logging.

The GDPR deletion skeleton is inline below. The deeper step-by-step code — DSAR export, PII redaction, consent management, and audit logging — lives in [references/implementation.md](references/implementation.md) so this file stays scannable. Read the summary here, then drill into the reference for full copy-ready code.

## Prerequisites

- `klaviyo-api` SDK installed
- API key with `data-privacy:write` scope (for deletion requests)
- Understanding of GDPR/CCPA requirements
- Audit logging infrastructure

## Klaviyo Data Privacy API

Klaviyo provides a dedicated **Data Privacy API** for GDPR/CCPA profile deletion. When you delete a profile via this API, Klaviyo performs a full GDPR erasure — the profile is permanently removed and cannot be recovered.

## Instructions

The workflow has five steps. Step 1 (deletion) is shown in full here because it is the highest-risk, most-requested operation. Steps 2–5 follow the same session pattern and are fully implemented in [references/implementation.md](references/implementation.md).

### Step 1: GDPR Profile Deletion (Right to Erasure)

Request deletion with **exactly one** identifier (email, phone, or profile ID). Providing more than one returns an error. Deletion is irreversible, so always audit-log the request.

```typescript
import { ApiKeySession, DataPrivacyApi } from 'klaviyo-api';

const session = new ApiKeySession(process.env.KLAVIYO_PRIVATE_KEY!);
const dataPrivacyApi = new DataPrivacyApi(session);

async function requestProfileDeletion(email: string): Promise<void> {
  await dataPrivacyApi.requestProfileDeletion({
    data: {
      type: 'data-privacy-deletion-job',
      attributes: {
        profile: { data: { type: 'profile', attributes: { email } } },
      },
    },
  });

  await auditLog({
    action: 'GDPR_DELETION_REQUESTED',
    identifier: email,
    service: 'klaviyo',
    timestamp: new Date().toISOString(),
  });
}

await requestProfileDeletion('[email protected]');
```

The multi-identifier form (email / phone / profile ID with validation) is in [references/implementation.md § Step 1](references/implementation.md).

### Step 2: Data Subject Access Request (DSAR)

Export every profile attribute, event, and list membership for a subject (GDPR Article 15) using `ProfilesApi` + `EventsApi`. Full `exportProfileData()` in [references/implementation.md § Step 2](references/implementation.md).

### Step 3: PII Detection and Redaction in Logs

Wrap every log of a Klaviyo response with `redactPII()` / `redactObject()` so emails, phone numbers, and API keys never land in plaintext logs. Full patterns in [references/implementation.md § Step 3](references/implementation.md).

### Step 4: Consent Management

Record marketing consent with a `consentTimestamp` on every subscribe call, and audit-log the source. Full `recordConsent()` in [references/implementation.md § Step 4](references/implementation.md).

### Step 5: Audit Logging

Persist every privacy action to a retained audit store (7-year retention per GDPR). Full `auditLog()` and schema in [references/implementation.md § Step 5](references/implementation.md).

## Output

Applying this skill produces:

- A `requestProfileDeletion()` call that submits an irreversible GDPR erasure job to Klaviyo and writes a `GDPR_DELETION_REQUESTED` audit entry.
- A DSAR export object containing the subject's profile attributes, event history, and list memberships (GDPR Article 15 response payload).
- Log output with PII replaced by `[REDACTED:type]` markers, e.g. `Profile data: { email: 'joh***' }`.
- Consent records carrying an ISO-8601 `consentTimestamp` plus a matching `CONSENT_RECORDED` audit entry.
- Audit entries retained for 7 years, each carrying `action`, `identifier`, `service`, and `timestamp`.

## Data Classification for Klaviyo

| Data Category | Examples in Klaviyo | Handling |
|--------------|---------------------|----------|
| PII | email, phoneNumber, firstName, lastName | Redact in logs, encrypt at rest |
| Sensitive | API keys, webhook secrets | Never log, rotate quarterly |
| Behavioral | Events, page views, purchases | Anonymize where possible |
| Marketing | List memberships, consent status | Audit trail required |
| Derived | Segments, predictive analytics | No special handling |

## Error Handling

| Issue | Cause | Solution |
|-------|-------|----------|
| Deletion request fails | Missing `data-privacy:write` scope | Update API key scopes |
| Multiple identifiers error | Providing email AND phone | Use exactly one identifier |
| Profile not found for DSAR | Wrong email or already deleted | Search by ID or phone instead |
| PII in error logs | Unredacted API responses | Wrap logger with `redactObject()` |

## Examples

**Delete a profile on a right-to-be-forgotten request:**

```typescript
await requestProfileDeletion('[email protected]');
// → GDPR erasure job submitted; GDPR_DELETION_REQUESTED audit entry written
```

**Export a sub

Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 4f83675

Download folder ↗
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills
git -C claude-code-plugins-plus-skills checkout 4f83675ca38a

The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.

Works in which agents?

What its own text says, not a test

AgentStatusMore
Claude CodeMentioned in its text, not testedSkills for Claude Code · About Claude Code
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 4f83675ca38a

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/jeremylongshore/klaviyo-data-handling/badge.svg)](https://modelsatlas.com/skills/jeremylongshore/klaviyo-data-handling/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/jeremylongshore/klaviyo-data-handling/badge.svg)](https://modelsatlas.com/skills/jeremylongshore/klaviyo-data-handling/)

Questions about Klaviyo Data Handling

What does the Klaviyo Data Handling skill do?
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Is Klaviyo Data Handling safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Klaviyo Data Handling access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Klaviyo Data Handling work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (4f83675ca38a), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.