rlsgate
Skill3 starsChanged 5 months agoMITView on GitHub
Run the rlsgate pre-deploy security gate on a Supabase-backed project. Use when about to deploy a vibe-coded / Supabase / Lovable / Bolt / Cursor app, or when the user asks to check for RLS holes, exposed secrets, anon-readable tables, public buckets, or unverified webhooks before shipping.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- GerardoRdz96/claude-skillsword for word, first seen Jul 13, 2026
Other versions1 project uses a version of this.
Word for word · 1
- GerardoRdz96/claude-skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Run rlsgate against the project, bring the findings into the conversation, and help fix the blocking ones before the user ships.
- Very specific: line 20
If rlsgate is not installed, install it first: pip install rlsgate (add [ai] for AI-drafted fixes).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
rlsgate — pre-deploy security gate
Run rlsgate against the project, bring the findings into the conversation, and help fix the blocking ones before the user ships. Detection is deterministic; you only reason over the findings and propose fixes — never claim a hole exists that rlsgate did not report.
Steps
- Run the scan from the project root. Prefer JSON so you can reason over it:
If rlsgate is not installed, install it first:rlsgate scan . --json # if installed # or, zero-install: uvx rlsgate scan . --json # or, from a source checkout: python -m rlsgate scan . --jsonpip install rlsgate(add[ai]for AI-drafted fixes). - Summarize the result for the user: the counts by severity and a one-line-per-finding list (severity, rule,
file:line, title). Lead with CRITICAL and HIGH. - For each blocking finding (CRITICAL/HIGH by default), explain in plain language why it leaks (from the finding's
detail) and propose the concrete fix (fromfix). Open the citedfile:line, show the exact change, and apply it only after the user agrees — rlsgate's deterministic finding is the source of truth; never auto-apply a fix blind. - MEDIUM/LOW findings are review notes (often intended-public tables). Surface them, but don't block on them — ask the user to confirm the exposure is intentional.
- Re-run
rlsgate scan .after fixes and confirm the gate is green (exit 0) before the user deploys.
Notes
- rlsgate is static and finite — a clean run means "none of the known high-signal holes are present," not "this app is secure." Say so; never imply a full audit.
- The Supabase anon key is public by design and is never flagged; only the service_role key is.
- Gitignored secret files are correct hygiene and are not flagged; a
NEXT_PUBLIC_/VITE_secret is flagged even if gitignored, because it inlines into the browser bundle. - Exit codes:
0clean (or only sub-threshold findings) ·1blocking findings ·2usage error. Tune the gate with--fail-on critical|high|medium|low.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

