multi-tenant-saas-architecture

multi-tenant-saas-architecture is a skill for Claude Code, Codex from magnus919/agent-skills. It costs 121 tokens per session (1,385 once invoked), scanned A, original, MIT.

A guide for designing software used by multiple customers or organizations, called tenants, while keeping their users, data, subscriptions, and permissions distinct. It covers how the service is divided and operated.

In plain words
What is it for?
Use it to define tenant and subscription models, separate control and application responsibilities, choose data-isolation approaches, and plan onboarding, metering, and lifecycle operations.
Why use it?
It helps prevent unclear ownership, billing, access, and data-isolation decisions as a shared SaaS product grows.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to define tenant and subscription models, separate control and application responsibilities, choose data-isolation approaches, and plan onboarding, metering, and lifecycle operations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/magnus919/agent-skills/multi-tenant-saas-architecture
Install

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.

Any agent
npx skills add magnus919/agent-skills --skill multi-tenant-saas-architecture
Clone the repo
git clone --depth 1 https://github.com/magnus919/agent-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin multi-tenant-saas-architecture/plugin install multi-tenant-saas-architecture after adding the marketplace above.

Wrote 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.

agentmods badge for multi-tenant-saas-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/magnus919/agent-skills/multi-tenant-saas-architecture/github.svg)](https://agentmods.dev/skills/magnus919/agent-skills/multi-tenant-saas-architecture)
Your own site
<a href="https://agentmods.dev/skills/magnus919/agent-skills/multi-tenant-saas-architecture"><img src="https://agentmods.dev/badge/skills/magnus919/agent-skills/multi-tenant-saas-architecture/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.

agentmods 80×15 button for multi-tenant-saas-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/magnus919/agent-skills/multi-tenant-saas-architecture"><img src="https://agentmods.dev/badge/skills/magnus919/agent-skills/multi-tenant-saas-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00121 $0.01385
Opus 5 $0.00060 $0.00692
Sonnet 5 $0.00024 $0.00277
Haiku 4.5 $0.00012 $0.00138

Measured 9d ago against content hash eeefc867297d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

multi-tenant-saas-architecture 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 9d 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.

multi-tenant-saas-architecture/SKILL.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Multi-Tenant SaaS Architecture

Use this skill to join product tenancy semantics to system boundaries and operating decisions. It owns the cross-cutting architecture choice, not the implementation or specialist evidence behind each choice.

Workflow

  1. Frame the service promise. Identify customer/account shape, users and operators, subscription commitments, regions, data classes, lifecycle states, support model, scale assumptions, and unknowns. Separate contractual promises from aspirations.
  2. Define tenant semantics. Load references/tenant-domain-model-and-boundaries.md. Establish tenant, account, organization, user, membership, subscription, entitlement, resource, and environment meanings, ownership, cardinality, and lifecycle authority.
  3. Separate planes. Load references/control-and-application-planes.md. Draw the control-plane policy and lifecycle responsibilities apart from application-plane request and data serving, including asynchronous handoffs and failure behavior.
  4. Choose isolation per resource. Load references/tenancy-and-data-partitioning-models.md. Compare pooled, bridge, silo, and hybrid choices by data, compute, cache, queue, search, and operational resource. Record why the choice meets the promise and what can trigger a change.
  5. Connect the commercial path. Load references/onboarding-identity-entitlements-metering-billing.md. Trace signup, identity, provisioning, configuration, entitlement evaluation, usage capture, invoice authority, suspension, support, and reactivation without making billing or security policy implicit.
  6. Design lifecycle and operations. Load references/tenant-aware-operations-capacity-and-cost.md. Cover deployment, observability, quotas, hot tenants, restore scope, export/deletion, cost attribution, and escalation. Route evidence-heavy decisions to the specialist owners.
  7. Record and challenge. Use templates/saas-architecture-brief.md, templates/tenancy-decision-record.md, and templates/tenant-lifecycle-checklist.md. Test cross-tenant safety, lifecycle idempotency, entitlement lag, billing disagreement, restore scope, and noisy-neighbor behavior.

Read the full file on GitHub · 70 lines

Changes

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.

  1. 9d ago First seen · 70 lines · 121 tokens per session scan A eeefc867297d

Subscribe to this mod's changes

multi-tenant-saas-architecture is a skill published in the GitHub repository magnus919/agent-skills (76 stars, last pushed yesterday), licensed MIT. It adds 121 tokens to every session and 1,385 once invoked, about $0.0006 per session on Opus 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.