An automated utility that transforms Prisma schema definitions into robust Supabase Row Level Security (RLS) policies.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install supabase-rls-gen
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install supabase-rls-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Supabase RLS Generator is a developer-centric tool designed to simplify the complex task of securing databases. Writing Row Level Security policies manually can be error-prone and time-consuming; this skill automates the process by parsing your existing Prisma schema to understand data models and relationships. By integrating this into your workflow with Openclaw Skills, you can ensure that your database remains secure from the first line of code.
The tool specifically targets the nuances of PostgreSQL policy syntax, translating model definitions into actionable SQL. It handles the 'One command. Zero config.' philosophy, allowing developers to focus on building features rather than debugging database access rules. It is an essential part of the modern developer's toolkit for maintaining high security standards in multi-tenant and user-driven applications.
To utilize this skill, you must have Node.js 18+ installed. No permanent installation is required as it can be run via npx. Ensure your OPENAI_API_KEY is set in your environment variables. Use the following command to generate policies:
npx ai-supabase-gen ./prisma/schema.prisma
To view all configuration options, run:
npx ai-supabase-gen --help
This skill focuses on transforming application-level schemas into database-level security rules. Below is how this Openclaw Skills utility maps your data:
| Prisma Element | SQL Output Component |
|---|---|
| Model Definition | CREATE POLICY target table |
| User/Owner ID | auth.uid() check logic |
| Table Metadata | ALTER TABLE ENABLE ROW LEVEL SECURITY |
| Relationships | Subquery or Join-based access policies |
Loading
A specialized tool that parses Prisma schema files to automatically generate comprehensive Supabase Row-Level Security (RLS) policies.

Automate the creation of comprehensive Storybook stories and documentation from React components using AI-driven analysis.

An AI-powered CLI utility that analyzes your git diffs to generate and apply descriptive names to your stashes automatically.

An AI-driven CLI tool that analyzes your code changes to automatically generate descriptive names for your git stashes.

A specialized developer tool that converts Prisma database schemas into production-ready Supabase Row Level Security policies.

A zero-config CLI tool that transforms Express route files into complete OpenAPI 3.0 specifications.








































