Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Multi tenant RAG security

Enforces filtering at the vector store query in shared RAG systems, with a gate test, so tenants stay apart.

Claude's review

8/10 Strong security first multi tenant RAG method with a concrete gate test.

We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.

In detail

Security-first SOP for multi-tenant RAG systems. Activate when a calling agent is building, reviewing, or debugging any retrieval pipeline whose vector store is shared across more than one user, organisation, workspace, customer, or permission scope. Encodes the single non-negotiable rule — **filter at the vector store query, never after retrieval / never after rerank** — together with the per-vendor query-time filter APIs (Pinecone namespaces + `$eq`/`$in`, Weaviate `multiTenancyConfig` + tenant handle, Qdrant `is_tenant` payload index + `Filter.must`, Chroma `where`, pgvector RLS), and the cross-framework adapters (LlamaIndex `MetadataFilters`, LangChain `filter=` dict). Frame the work as preventing CVE-2024-41892 / EchoLeak / Slack-AI-class cross-tenant leakage, not as "adding a filter for relevance".

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: agentsop-multi-tenant-rag
version: 0.1.0
description: |
  Security-first SOP for multi-tenant RAG systems. Activate when a calling agent
  is building, reviewing, or debugging any retrieval pipeline whose vector store
  is shared across more than one user, organisation, workspace, customer, or
  permission scope. Encodes the single non-negotiable rule — **filter at the
  vector store query, never after retrieval / never after rerank** — together
  with the per-vendor query-time filter APIs (Pinecone namespaces +
  `$eq`/`$in`, Weaviate `multiTenancyConfig` + tenant handle, Qdrant
  `is_tenant` payload index + `Filter.must`, Chroma `where`, pgvector RLS),
  and the cross-framework adapters (LlamaIndex `MetadataFilters`, LangChain
  `filter=` dict). Frame the work as preventing CVE-2024-41892 / EchoLeak /
  Slack-AI-class cross-tenant leakage, not as "adding a filter for relevance".
trigger_keywords:
  - "multi-tenant RAG"
  - "tenant isolation"
  - "metadata filter"
  - "namespace per tenant"
  - "multitenancy vector store"
  - "RLS pgvector"
  - "cross-tenant leak"
  - "RAG security"
  - "workspace separation"
when_to_use:
  - "any RAG / retrieval pipeline whose corpus is shared across >1 tenant, customer, org, user, or permission scope"
  - "reviewing PRs that touch `vector_store.query` / `index.as_retriever` / `similarity_search` / `vectorstore.query_points`"
  - "designing ingestion for a SaaS knowledge base, internal corpus split by team, or per-customer corpus"
  - "responding to a 'we got the wrong document' bug — confirm it isn't actually a cross-tenant leak first"
  - "before shipping any RAG endpoint that exposes retrieved content to end users"
when_not_to_use:
  - "single-tenant / single-user corpora with no access scopes — over-engineering"
  - "purely internal eval / offline notebooks against fully public data"
  - "the retrieval boundary is enforced by a per-tenant collection / index that the application can never address by name — already isolated"
---

# Multi-Tenant RAG · Security-First Isolation SOP

> Third-person operating model for a coder agent that owns retrieval correctness
...

From agentsope's repository, MIT licence.

Related skills

  • Checked

    Council of AI models

    Asks several AI models the same question separately, compares their answers and gives you the best one.

    by alfredfrancis 2.2k
    7/101 credit
  • Checked

    RAG evaluation

    Measures how well a RAG system retrieves and answers, with test questions, metrics and chunking advice.

    by ai-evals-course 1.9k
    8/101 credit
  • Checked

    AI automation planner

    Works out which manual work in your business to automate first, then designs the system, tools and safeguards.

    by cbrock84 2.6k
    7/101 credit
  • Checked

    LangGraph agent design

    Guides LangGraph builds through topology, checkpoint and human review choices so agents survive failures.

    by agentsope 513
    7/101 credit
  • Checked

    Agent system design

    Asks staged questions to design agent pipelines and sub agents, so you only add agents where they help.

    by ooiyeefei 505
    7/101 credit
  • Checked

    Subagent model routing

    Chooses the model, effort level and cascade for each subagent by cost per finished task, keeping loops safe.

    by oaustegard 424
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added