Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

supabase-data-handling

Skill by jeremylongshore

Guides GDPR and CCPA data work in Supabase, covering row level security, PII column audits, user-scoped inventory, deletion and export planning, and retention and backup steps. Aimed at developers and privacy reviewers who handle sensitive data on Supabase.

  • Score 76
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install supabase-data-handling

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/supabase-data-handling ~/.claude/skills/supabase-data-handling

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install supabase-data-handling in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Supabase Data Handling is an agent skill for Claude Code that covers GDPR and CCPA-related data work in Supabase projects. It explains how to enable row level security policies for data isolation, audit PII columns using naming-pattern scans, COMMENT ON COLUMN tags, and an SDK-side regex scanner, and run a read-only, user-scoped profile inventory. It also describes planning for user deletion and data export, pg_cron retention schedules, and pg_dump and point-in-time recovery.

The skill states that its examples do not establish legal compliance, complete discovery, atomic erasure, or immediate session revocation. It supplies no destructive endpoint, and deletion needs separate review of eligibility, cascades, Storage ownership, and cleanup order. It is aimed at developers and privacy reviewers who need to plan right-to-deletion or retention work in Supabase.

Written from the project's SKILL.md and checked against it.

What it can do

  • RLS policy setupEnables row level security on user tables and writes per-access-pattern policies.
  • PII column auditScans columns by naming pattern and checks for emails, phones, SSNs, and IP addresses.
  • User-scoped inventoryReads the caller's own profile row using their session, without deleting anything.
  • Deletion and export planningOutlines a bounded erasure and export plan with per-step receipts and retry state.
  • Retention policiesDescribes pg_cron retention schedules in 30, 90, and 730-day tiers.
  • Backup and restoreCovers pg_dump and pg_restore commands and point-in-time recovery configuration.
  • Retention job checkQueries cron.job_run_details to review recent retention job runs.

What you need

  • Claude Code
  • A Supabase project
  • @supabase/supabase-js v2 or later
  • Service role key for admin operations
  • pg_cron extension for scheduled retention
  • psql or SQL Editor access for schema changes

Try asking

  • Scan my profiles table for PII in unexpected columns.
  • Plan a GDPR right-to-deletion workflow for one Supabase user.
  • Write RLS policies so each user can only read their own profile.

Good to know

  • Does not establish legal compliance or complete data discovery.
  • Provides no destructive deletion endpoint.
  • Existing JWTs may stay valid until they expire after a user is deleted.
  • Pattern scans can miss sensitive values.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/supabase-data-handling/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditBash(npx supabase:*)Bash(supabase:*)Bash(psql:*)

Alternatives to supabase-data-handling

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

supabase-data-handling: common questions

Does this make a Supabase project GDPR compliant?

No. The skill says its examples do not establish legal compliance, complete discovery, atomic erasure, or immediate session revocation.

Does it delete users automatically?

No. The skill supplies no destructive endpoint, and deletion requires separate review of eligibility, cascades, Storage ownership, and cleanup order.

Does it need the service role key?

The deletion example uses a service role key for admin operations. The inventory step uses a public key and the user's own session instead.

How do I install supabase-data-handling?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is supabase-data-handling free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is supabase-data-handling safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to supabase-data-handling?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

supabase-data-handling Install

Add to stack

Loading.