vector-database-ops
Skill by BagelHole
Deploy, manage and tune vector databases such as Qdrant, Weaviate and pgvector for production RAG and semantic search. Covers collections, indexing, backups and performance tuning for AI applications.
Install vector-database-ops
Built from the published package, never by AI.
git clone --depth 1 https://github.com/BagelHole/DevOps-Security-Agent-Skills /tmp/DevOps-Security-Agent-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/DevOps-Security-Agent-Skills/infrastructure/databases/vector-database-ops ~/.claude/skills/vector-database-opsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/BagelHole/DevOps-Security-Agent-Skills /tmp/DevOps-Security-Agent-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/DevOps-Security-Agent-Skills/infrastructure/databases/vector-database-ops ~/.gemini/antigravity-cli/skills/vector-database-opsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install vector-database-ops in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The vector-database-ops skill gives an AI assistant guidance for running vector databases behind AI-powered search, RAG and recommendation systems. It compares Qdrant, Weaviate, pgvector, Pinecone and Chroma, then walks through Docker deployments, Qdrant collection setup, filtered search, pgvector tables with HNSW or IVFFlat indexes, and Weaviate with API key authentication.
It also covers Qdrant snapshots, pgvector pg_dump backups and restores, index optimization after bulk loads, and a table of common issues with fixes. The skill is aimed at teams running production vector search, including multi-tenant setups that use namespace isolation. It is published by BagelHole under the MIT license.
Written from the project's SKILL.md and checked against it.
What it can do
- Database comparisonTable comparing Qdrant, Weaviate, pgvector, Pinecone and Chroma by best use, hosting, filtering and scale.
- Qdrant deploymentDocker run commands and a production config with HNSW, quantization and on-disk payload settings.
- Qdrant collectionsCreates collections with HNSW, int8 scalar quantization and payload indexes for tenant and date fields.
- Qdrant filtered searchShows tenant-isolated queries that combine must and should filter conditions.
- pgvector setupCovers the vector extension, a table with an embedding column, HNSW or IVFFlat indexes and similarity queries.
- Weaviate deploymentDocker Compose file with API key authentication and OpenAI modules enabled.
- Backup and restoreQdrant snapshot create, download and recover steps, plus pgvector pg_dump and pg_restore commands.
- Performance tuningForces indexing after a bulk load and waits until the collection status is green.
- Common issuesTable of problems such as slow queries, high RAM use, poor recall and Weaviate OOM, with fixes.
What you need
- Docker
- Python with the qdrant-client package for Qdrant steps
- PostgreSQL with the pgvector extension for pgvector steps
- OpenAI API key for the Weaviate OpenAI modules
Try asking
- Set up a Qdrant collection for 1536-dimension embeddings with tenant filtering
- Write a pgvector query that filters documents by tenant and doc type
- Back up my Qdrant documents collection with a snapshot before a bulk delete
Good to know
- Pinecone and Chroma appear only in the comparison table, with no setup or operations steps.
- The Qdrant collection example uses a 1536-dimension vector size, matching OpenAI embedding models.
- The Weaviate example enables OpenAI modules and reads an OpenAI API key from the environment.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: infrastructure/databases/vector-database-ops/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to vector-database-ops
All alternatives →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.
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.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
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.
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.
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.
Compare with hugging-face-datasets, db-repair or alloydb-basics
vector-database-ops: common questions
Which vector databases does this skill cover?
The description names Qdrant, Weaviate, pgvector and Pinecone. The source has detailed sections for Qdrant, pgvector and Weaviate, while Pinecone appears only in the comparison table.
How do I back up a Qdrant collection with this skill?
The skill creates a snapshot of the collection through the Qdrant REST API, downloads it, and restores it with the snapshot recover endpoint. It advises taking a snapshot before any bulk delete or migration.
Does it support multi-tenant vector search?
Yes. The skill describes multi-tenant search with namespace isolation and shows a Qdrant example that filters by a tenant_id payload field.
How do I install vector-database-ops?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is vector-database-ops free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is vector-database-ops safe to use?
It scores 59 of 100. Grades: maintenance D, licence A, quality A. 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 vector-database-ops?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
