samuelchien/mega-skills-collection/clay-data-handling

Claude Code and agent skill by samuelchien/mega-skills-collection

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Implement Clay PII handling, data retention, and GDPR/CCPA compliance patterns. Use when handling sensitive data, implementing data redaction, configuring retention policies, or ensuring compliance with privacy regulations for Clay integrations. Trigger with phrases like "clay data", "clay PII", "clay GDPR", "clay data retention", "clay privacy", "clay CCPA".

Install

npx vskill@latest install samuelchien/mega-skills-collection/clay-data-handling

SKILL.md

Clay Data Handling

Overview

Manage lead data through Clay enrichment pipelines safely. Covers data import validation, deduplication, enrichment data retention, GDPR-compliant management, and secure CRM export.

Prerequisites

  • Clay account with API access
  • Understanding of data enrichment sources
  • CRM integration for lead export
  • Knowledge of GDPR/CCPA lead data requirements

Instructions

Step 1: Validate and Clean Import Data

Use Zod schemas to validate email format, company domain, and optional fields. Reject invalid records with error details. Track valid rate percentage.

Step 2: Deduplicate Before Enrichment

Key on email (primary) or domain:first_name:last_name (fallback). Remove duplicates before sending to Clay to avoid wasting enrichment credits.

Step 3: Add Retention Metadata

Tag each enriched record with enriched_at, retention_expires (default 365 days), and enrichment_source. Run weekly cleanup to remove expired records.

Step 4: GDPR-Compliant Export

Strip PII for analytics exports (hash company names, remove emails). Add consent_basis: legitimate_interest for CRM exports. Include enrichment timestamp for audit trails.

For complete TypeScript implementations of validation, dedup, retention, and export, load the reference guide: Read(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)

Error Handling

IssueCauseSolution
High duplicate rateSame list imported twiceRun dedup before enrichment
Invalid emailsBad source dataValidate with Zod before import
Expired data in CRMNo retention cleanupSchedule weekly expiration check
Missing consentNo legal basis trackedAdd consent_basis to all exports

Resources

Output

  • Configuration files or code changes applied to the project
  • Validation report confirming correct implementation
  • Summary of changes made and their rationale

See compliance implementation details for output format specifications.

Examples

Basic usage: Apply clay data handling to a standard project setup with default configuration options.

Advanced scenario: Customize clay data handling for production environments with multiple constraints and team-specific requirements.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/samuelchien/mega-skills-collection/clay-data-handling/badge)](https://verified-skill.com/skills/samuelchien/mega-skills-collection/clay-data-handling)

Something wrong with this skill or its page? Tell us.