Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/bernierllc/agents-environment-configWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/bernierllc/agents-environment-config/supabase)<a href="https://agentmods.dev/rules/bernierllc/agents-environment-config/supabase"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/supabase/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/bernierllc/agents-environment-config/supabase"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/supabase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00937 |
| Opus 5.5 | $0.00000 | $0.00375 |
| Sonnet 5.5 | $0.00000 | $0.00187 |
| Haiku 4.5 | $0.00000 | $0.00094 |
Grade A, and why
supabase scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **Test API endpoints** using browser extensions or curl, not by starting servers How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Supabase Development Rules
Command Usage
Workspace Commands
- ALWAYS use
pnpm supainstead of global supabase CLI - NEVER use
supabasedirectly - always go through pnpm workspace
Common Supabase Commands
- Start local Supabase:
pnpm supa start - Stop local Supabase:
pnpm supa stop - Generate types:
pnpm supa:generate(local) orpnpm supa:generate:remote - Create migration:
pnpm supa migration:new <name> - Apply migrations:
pnpm supa migration:up - Reset database:
pnpm supa reset - Check status:
pnpm supa status - Open Studio:
pnpm supa:studio(http://127.0.0.1:54323) - Open Mailpit:
pnpm supa:mailpit(http://127.0.0.1:54324)
Development Workflow
- ASSUME Supabase is running on
http://localhost:54321unless told otherwise - Check
pnpm supa statusbefore suggesting database operations - Use local types generation (
pnpm supa:generate) for development - Test API endpoints using browser extensions or curl, not by starting servers
File Locations
- Supabase config:
supabase/config.toml - Migrations:
supabase/migrations/ - Types:
supabase/types.ts - Seed data:
supabase/seed.sql
Database Structure
Conventions
- All tables use UUIDs for IDs (text-based UUIDs)
- Timestamps use
timestamptz - Junction tables follow naming pattern:
table1_table2 - All tables have
created_atandupdated_atfields
Schema Organization
supabase/
├── migrations/ # Database migrations
├── seed.sql # Seed data
├── config.toml # Supabase configuration
└── types.ts # Generated TypeScript types
Row Level Security (RLS)
Core Principle: NEVER Bypass RLS
Row Level Security (RLS) is your primary security mechanism. The service role should respect RLS policies, not bypass them.
RLS Setup Pattern
-- Enable RLS
ALTER TABLE jobs ENABLE ROW LEVEL SECURITY;
-- Grant table access
GRANT SELECT ON jobs TO anon, authenticated;
GRANT ALL ON jobs TO service_role;
-- Create policies
CREATE POLICY jobs_public_read ON jobs
FOR SELECT TO anon, authenticated
USING (is_published = true);
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 125 lines · 0 tokens per session scan A 7e35ee095137
supabase is a cursor rule published in the GitHub repository bernierllc/agents-environment-config (11 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 937 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
supabase compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| supabasebernierllc/agents-environment-config | Cursor rule | 11 | yesterday | MIT | A | 0 | Cursor |
| supabase-rulesbeel-collab/presets.dev | Cursor rule | 3 | 7d ago | MIT | A | 0 | Cursor |
| adapter-featuresprest/prest | Cursor rule | 4.6k | 3d ago | MIT | A | 773 | Cursor |
| postgresqlsanjeed5/awesome-cursor-rules-mdc | Cursor rule | 3.6k | 7d ago | CC0-1.0 | A | 2,337 | Cursor |
| planning-and-delegationprest/prest | Cursor rule | 4.6k | 3d ago | MIT | A | 912 | Cursor |
| integration-testsprest/prest | Cursor rule | 4.6k | 3d ago | MIT | A | 0 | Cursor |
| netlify-database-migration-from-extensionnetlify/context-and-tools | Cursor rule | 57 | 3d ago | MIT | A | 16 | Cursor |