Agent skill · Audited from source
Clerk Data Handling
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 Oct 2026 · source 4f83675ca38a
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: Handle user data, privacy, and GDPR compliance with Clerk.
Cite
Cite this page
ModelsAtlas. “Clerk Data Handling (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/clerk-data-handling
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
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
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
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
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/clerk-pack/skills/clerk-data-handlingThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Handle user data, privacy, and GDPR compliance with Clerk.
--- name: clerk-data-handling description: 'Handle user data, privacy, and GDPR compliance with Clerk. Use when implementing data export, user deletion, or privacy compliance features. Trigger with phrases like "clerk user data", "clerk GDPR", "clerk privacy", "clerk data export", "clerk delete user". ' allowed-tools: Read, Write, Edit, Bash(npm:*), Grep version: 1.15.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - clerk - compliance compatibility: Designed for Claude Code --- # Clerk Data Handling ## Overview Manage user data, implement privacy features, and ensure GDPR/CCPA compliance using the Clerk Backend API. Covers data export, right to be forgotten, consent management, and audit logging. ## Prerequisites - Clerk integration working - Understanding of GDPR/CCPA requirements - Database with user-related data linked by Clerk user IDs ## Instructions ### Step 1: User Data Export ```typescript // app/api/privacy/export/route.ts import { auth, clerkClient } from '@clerk/nextjs/server' export async function GET() { const { userId } = await auth() if (!userId) return Response.json({ error: 'Unauthorized' }, { status: 401 }) const client = await clerkClient() const clerkUser = await client.users.getUser(userId) // Gather data from Clerk const clerkData = { id: clerkUser.id, emails: clerkUser.emailAddresses.map((e) => e.emailAddress), firstName: clerkUser.firstName, lastName: clerkUser.lastName, createdAt: clerkUser.createdAt, lastSignInAt: clerkUser.lastSignInAt, publicMetadata: clerkUser.publicMetadata, } // Gather data from your database const appData = await db.user.findUnique({ where: { clerkId: userId }, include: { posts: true, comments: true, preferences: true }, }) return Response.json({ exportDate: new Date().toISOString(), clerkProfile: clerkData, applicationData: appData, }) } ``` ### Step 2: User Deletion (Right to be Forgotten) ```typescript // app/api/privacy/delete/route.ts import { auth, clerkClient } from '@clerk/nextjs/server' export async function DELETE() { const { userId } = await auth() if (!userId) return Response.json({ error: 'Unauthorized' }, { status: 401 }) const deletionLog: { step: string; status: string }[] = [] try { // 1. Delete application data first await db.comment.deleteMany({ where: { authorId: userId } }) deletionLog.push({ step: 'comments', status: 'deleted' }) await db.post.deleteMany({ where: { authorId: userId } }) deletionLog.push({ step: 'posts', status: 'deleted' }) await db.user.delete({ where: { clerkId: userId } }) deletionLog.push({ step: 'app_user', status: 'deleted' }) // 2. Delete from Clerk (this ends the session) const client = await clerkClient() await client.users.deleteUser(userId) deletionLog.push({ step: 'clerk_user', status: 'deleted' }) // 3. Log deletion for compliance audit trail await db.auditLog.create({ data: { action: 'USER_DELETED', subjectId: userId, details: JSON.stringify(deletionLog), timestamp: new Date(), }, }) return Response.json({ deleted: true, log: deletionLog }) } catch (error) { return Response.json({ error: 'Partial deletion', log: deletionLog }, { status: 500 }) } } ``` ### Step 3: Consent Management with Metadata ```typescript // lib/consent.ts import { clerkClient } from '@clerk/nextjs/server' interface ConsentRecord { marketing: boolean analytics: boolean thirdParty: boolean updatedAt: string } export async function updateConsent(userId: string, consent: Partial<ConsentRecord>) { const client = await clerkClient() const user = await client.users.getUser(userId) const existing = (user.publicMetadata.consent as ConsentRecord) || {} const updated: ConsentRecord = { ...existing, ...consent, updatedAt: new Date().toISOString(), } await client.users.updateUser(userId, { publicMetadata: { ...user.publicMetadata, consent: updated }, }) return updated } export async function getConsent(userId: string): Promise<ConsentRecord | null> { const client = await clerkClient() const user = await client.users.getUser(userId) return (user.publicMetadata.consent as ConsentRecord) || null } ``` ### Step 4: Consent UI Component ```typescript 'use client' import { useUser } from '@clerk/nextjs' import { useState } from 'react' export function ConsentManager() { const { user } = useUser() const consent = (user?.publicMetadata as any)?.consent || {} const [marketing, setMarketing] = useState(consent.marketing ?? false) const [analytics, setAnalytics] = useState(consent.analytics ?? true) const saveConsent = async () => { await fetch('/api/privacy/consent', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ marketing, analytics }), }) } return ( <div> <h3>Privacy Preferences</h3> <label> <input type="checkbox" checked={marketing} onChange={(e) => setMarketing(e.target.checked)} /> Marketing communications </label> <label> <input type="checkbox" checked={analytics} onChange={(e) => setAnalytics(e.target.checked)} /> Analytics tracking </label> <button onClick={saveConsent}>Save Preferences</button> </div> ) } ``` ### Step 5: Audit Logging via Webhooks ```typescript // app/api/webhooks/clerk/route.ts (audit section) async function logAuditEvent(evt: WebhookEvent) { const auditEntry = { eventType: evt.type, userId: 'user_id' in evt.data ? evt.data.user_id : evt.data.id, timestamp: new Date().toISOString(), metadata: JSON.stringify(evt.data), } await db.auditLog.create({ data: auditEntry }) // Track compliance-relevant events if (['user.deleted', 'user.updated'].includes(evt.type)) { console.log(`[COMPLIANCE] ${evt.type} for user
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
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
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/clerk-data-handling/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All data & analysis skills →jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/clerk-data-handling/)
<a href="https://modelsatlas.com/skills/jeremylongshore/clerk-data-handling/"><img src="https://modelsatlas.com/skills/jeremylongshore/clerk-data-handling/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Clerk Data Handling
What does the Clerk Data Handling skill do?
Is Clerk Data Handling safe to install?
What can Clerk Data Handling access on my machine?
Which assistants does Clerk Data Handling work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 8 Oct 2026
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.
- What does the Clerk Data Handling skill do?
- Is Clerk Data Handling safe to install?
- What can Clerk Data Handling access on my machine?