Agent skill · data analytics · jeremylongshore

clade-data-handling

Handle sensitive data with Claude \u2014 PII redaction, conversation\

Why this skill is useful

Provides specific patterns for PII redaction and context management that the AI wouldn't reliably generate on its own.

What it needs

About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Anthropic Data Handling Overview Handle data responsibly when building with Claude — manage the 200K token context window efficiently, implement conversation trimming strategies, redact PII before sending to the API, and configure data retention settings. Context Window Management Claude models have a 200K token context window. Managing it efficiently is critical. Instructions Step 1: Conversation Trimming PII Handling Data Retention Default: Anthropic does not use API data for training Zero retention: Available on Enterprise plans Your responsibility: Don't store Claude responses containing user PII longer than needed Output Token counting implemented before sending requests (prevents context overflow errors) Conversation trimming preserving first message and recent turns PII redaction applied for emails, phone numbers, SSNs, and card numbers Data retention policy documented and configured Error Handling Error Cause Solution ------- ------- ---------- API Error Check error type and status code See clade-common-errors Examples See Context Window Management (token counting + budget), Conversation Trimming function, and PII Handling regex patterns above. Resources Anthropic Privacy Policy Token Counting Context Window Next Steps See clade-enterprise-rbac for organization and access management. Prerequisites Completed clade-install-auth Application handling user conversations or document processing Understanding of token counting and context windows

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/clade-data-handling

View the source on GitHub

Browse the @skills marketplace