Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

qdrant-multitenancy

Skill by qdrant

Guides tenant isolation architecture in Qdrant for multi-tenant and multi-user applications. Covers payload partitioning, tiered multitenancy and data residency. Aimed at developers deciding how to separate customer data.

  • Score 70
  • 271 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install qdrant-multitenancy

Built from the published package, never by AI.

git clone --depth 1 https://github.com/qdrant/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/qdrant-multitenancy ~/.claude/skills/qdrant-multitenancy

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install qdrant-multitenancy in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps an assistant pick a tenant isolation strategy for Qdrant. It starts from the question of how many tenants there are and how unevenly sized they are. It covers three isolation levels: payload-based, shard-based and collection-based. The default it recommends is one collection partitioned by a tenant payload field, with a keyword index marked is_tenant and a must filter on every query.

The skill also covers tiered multitenancy for a few large tenants plus many small ones, using custom sharding and dedicated shards. It describes per-tenant collections for limited tenants with different embedding models, and region-based custom sharding for data residency. It is written for developers building multi-tenant search or RAG applications on Qdrant.

Written from the project's SKILL.md and checked against it.

What it can do

  • Choose an isolation strategyPicks payload partitioning, tiered multitenancy or collection per tenant based on tenant count and size.
  • Payload partitioning setupCreates a keyword payload index with is_tenant=true and filters queries by the tenant field.
  • Per-tenant scoringPasses the idf search parameter with the tenant filter so tenants with different vocabularies do not skew scores.
  • Tiered multitenancyKeeps small tenants in a shared fallback shard and isolates large tenants in dedicated shards.
  • Tenant promotionMoves a growing tenant's data into a dedicated shard without downtime.
  • Data residency with custom shardingUses region as the shard key so each region's data lands on shards placed in specific locations.
  • Security guidanceWarns that a payload filter alone is not a full security model for tenant isolation.

What you need

  • Qdrant v1.11 or newer for the is_tenant flag
  • Qdrant v1.16 or newer for tiered multitenancy
  • Qdrant v1.19 or newer for the idf search parameter

Try asking

  • How should I isolate customer data in one Qdrant collection?
  • Should I create a collection per tenant or partition by payload?
  • Help me promote a large tenant to a dedicated shard in Qdrant.

Good to know

  • Tiered multitenancy requires Qdrant v1.16 or newer.
  • Sharding method is fixed at collection creation and cannot be converted in place.
  • Regional residency only holds if cluster nodes are in the target regions. Qdrant Cloud has no managed multi-region today.
  • Not recommended to exceed about 1000 dedicated shards per cluster.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/qdrant-multitenancy/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to qdrant-multitenancy

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

qdrant-multitenancy: common questions

Should I use one collection per tenant in Qdrant?

Only when you have a limited number of tenants that need strict isolation, or when tenants use different embedding models. The default is one collection with payload partitioning.

Is a payload filter enough to isolate tenants in Qdrant?

No. The source says tenant isolation is payload-based and an application-layer responsibility, and the filter is only one small part of it.

Can Qdrant keep one customer's data in a specific region?

Yes, by using custom sharding with region as the shard key. Geographic residency only holds if your cluster's nodes are in the target regions.

How do I install qdrant-multitenancy?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is qdrant-multitenancy free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is qdrant-multitenancy safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to qdrant-multitenancy?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

qdrant-multitenancy Install

Add to stack

Loading.