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.
npx skills add roedyrustam/vibes-plug --skill saas-multi-tenantgit clone --depth 1 https://github.com/roedyrustam/vibes-plugWrote 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/skills/roedyrustam/vibes-plug/saas-multi-tenant)<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/saas-multi-tenant"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/saas-multi-tenant/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/skills/roedyrustam/vibes-plug/saas-multi-tenant"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/saas-multi-tenant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00052 | $0.02672 |
| Opus 5.5 | $0.00021 | $0.01069 |
| Sonnet 5.5 | $0.00010 | $0.00534 |
| Haiku 4.5 | $0.00005 | $0.00267 |
Grade A, and why
saas-multi-tenant scanned grade A with 0 findings 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 3d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 259 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SaaS Multi-Tenant Expert (2026 Edition)
English
Orchestration & Integration
- Upstream Orchestrators: Works under
brainstormingandzero-to-prod-orchestrator(Phase 3 - Schema Design & Database Architecture) for multi-tenant data modeling. - Downstream Cooperating Skills:
database-orm-expert— Implement tenant migrations, foreign keys, and PostgreSQL RLS policies.supabase-security-expert— Audit RLS rules, JWT custom claims, and service role bypass vectors.saas-billing— Connect workspace plans to subscription limits, dunning, and seat allowances.payment-gateway-expert— Provide tenant-aware checkout flows and billing portal access.cloud-hosting-expert— Super Admin domain isolation (admin.yourdomain.com) and routing.saas-architect— Coordinate 9-phase modernization pipeline when transforming single-tenant codebases.session-memory-manager— Store tenant isolation matrices and schema configuration checkpoints.
Description
Expert guide for designing and implementing multi-tenant SaaS architectures with full tenant isolation, Supabase/PostgreSQL Row Level Security (RLS), schema-per-org patterns, RBAC, and Super Admin access controls.
Trigger Conditions
- Building a SaaS application that serves multiple organizations (workspaces/tenants).
- Implementing Row Level Security (RLS) policies in Supabase or PostgreSQL.
- Designing a data model that isolates tenant data securely.
- Implementing role-based access control (RBAC) within a tenant.
- Building the Super Admin management panel for cross-tenant operations.
- Choosing between shared schema vs. schema-per-org isolation strategies.
Tenant Isolation Strategies
| Strategy | Isolation Level | Cost | Complexity | Best For |
|---|---|---|---|---|
| Shared Schema + RLS | Row-level | Low | Medium | Standard SaaS (< 1M tenants) |
| Schema per Org | Table-level | Medium | High | Compliance-heavy (HIPAA, finance) |
| DB per Org | Database-level | High | Very High | Enterprise, regulated industries |
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.
- 3d ago Changed · -1 lines · +52 tokens per session 093d05695118
- 4d ago Changed · +2 lines · -52 tokens per session e70802eb297e
- 7d ago Changed 918a5fa330b2
- 16d ago Changed 1951078d0e4f
- 21d ago Changed 816e8eba0f01
- 22d ago Changed 63119bae0e16
- 24d ago Changed · -6 lines · +38 tokens per session 80d20d30782c
- 26d ago Changed · +6 lines · -38 tokens per session 04c750283d0e
- 1mo ago Changed 4067686fe66a
- 1mo ago First seen · 258 lines · 52 tokens per session scan A 2798ffb070eb
saas-multi-tenant is a skill published in the GitHub repository roedyrustam/vibes-plug (113 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 2,672 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
postgresql-table-design
Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.
cockroachdb
Expert CockroachDB distributed SQL assistance covering global ACID transactions, Raft consensus, multi-region survivability, and geo-partitioning. Use when scaling relational PostgreSQL workloads across multiple clouds or regions.
cosmosdb
Expert Azure Cosmos DB assistance covering NoSQL API, partition key design, Request Units (RU/s) optimization, and change feed. Use when building globally distributed, multi-master Azure applications.
postgresql
Expert PostgreSQL assistance covering advanced SQL, JSONB, indexing (B-Tree, GIN, BRIN), query optimization with EXPLAIN ANALYZE, and replication. Use when designing robust relational schemas or tuning performance.
supabase
Expert Supabase assistance covering PostgreSQL, Row Level Security (RLS), Edge Functions, Auth, and pgvector. Use when building full-stack web/mobile applications with Postgres backends and instant REST/GraphQL APIs.
timescaledb
Expert TimescaleDB time-series database assistance covering PostgreSQL hypertables, continuous aggregates, and data retention policies. Use when storing high-volume time-series telemetry, IoT metrics, or financial data.