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.
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-handlingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/supabase-data-handling ~/.gemini/antigravity-cli/skills/supabase-data-handlingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install supabase-data-handling in Antigravity CLI
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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
