Supalock Rls — Security skill for Claude Code
Deep PostgreSQL and Supabase Row Level Security (RLS), views, functions, and privilege audit with a table-by-table matrix and SQL remediation templates.
How to install Supalock Rls
Installs to ~/.claude/skills/hermes-lekkas-supalock-supalock-rls/SKILL.md
mkdir -p ~/.claude/skills/hermes-lekkas-supalock-supalock-rls && curl -fsSL https://raw.githubusercontent.com/hermes-lekkas/supalock/HEAD/commands/supalock-rls.md -o ~/.claude/skills/hermes-lekkas-supalock-supalock-rls/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Supalock Rls does
description: Deep PostgreSQL and Supabase Row Level Security (RLS), views, functions, and privilege audit with a table-by-table matrix and SQL remediation templates. argument-hint: "[migrations-path-or-table-name]"
`/supalock-rls` — Deep RLS & Postgres Privilege Audit
Follow the `supalock-rls` skill workflow focusing on `${ARGUMENTS:-supabase/migrations}` (or all `.sql` schema files in the repo):
- Run RLS & Postgres Static Scan:
- Run `supalock scan . --category rls --categ
Alternatives in Security
- Migration Agent — Plans a token migration (format, tool, naming or tier): chains token-audit and naming-audit, builds the transf 194 ★
- Postgres — Execute safe read-only SQL queries against PostgreSQL databases with multi-connection support and defense-in-d 159 ★
- Diff Audit — PR / commit-scoped differential audit — audits only changed functions (plus 1-hop callers), flags removed secu 50 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Supalock Audit
Run a full Supalock security audit on this repository (static scan + semantic review across RLS, Storage, Auth
Rls New
Scaffold Supabase Row Level Security policies from a description, with tests
Rls Security Check
A Claude Code skill that audits Supabase and Postgres Row Level Security, then writes the exact policy to fix
Supalock Fix
Generate safe, idempotent Postgres migrations, minimal-diff application code patches, and pgTAP/SQL + curl ver
Pbi Rls
Delegate row-level security to pbi-security: design and create roles and DAX filter permissions (static, dynam
Migration Audit
Safety review of pending Supabase / Postgres migrations: destructive ops, locking impact on large tables, miss
Related Agents
DB Supabase Expert
Supabase and PostgreSQL expert. Use when working with Supabase projects, writing SQL queries, designing databa
Kio Be Database
Database Architect (Sofia Gomez). PostgreSQL, Supabase, Row-Level Security (RLS), migrations, EXPLAIN ANALYZE
Feature Builder Data
Implementuje warstwę danych (zapytania Supabase, RLS policies, migracje SQL, walidacja Zod, Edge Functions, au