multi-tenant

Community

Enforce tenant isolation for secure SaaS.

Authorjuanre
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides built-in multi-tenant data isolation for document storage and search by enforcing owner_id across all operations, ensuring tenants cannot access each other's data.

Core Features & Use Cases

  • Automatic owner_id filtering for all document operations (add, list, search, delete)
  • Optional schema-per-tenant or single-database tenancy to meet regulatory or scaling needs
  • Hierarchical tenancy support (organization → workspace → user) with full isolation guarantees
  • Practical guidance for secure multi-tenant patterns in SaaS apps, including auditability and export/delete workflows
  • Use Case: A SaaS app serving multiple organizations can store each organization's documents under its owner_id and safely query within the same tenant without cross-tenant leakage.

Quick Start

Install llmemory and initialize a shared pool. Create a memory instance scoped to a tenant using owner_id, then add a document and perform a tenant-scoped search to verify isolation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: multi-tenant
Download link: https://github.com/juanre/llmemory/archive/main.zip#multi-tenant

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.