vector-db-toolkit

Vector database operations toolkit for AI/RAG applications. Supports Qdrant, Chroma, and in-memory vector stores. Use when working with embeddings, semantic search, similarity queries, vector collections, or RAG retrieval pipelines. Triggers on phrases like "vector database", "embedding search", "semantic similarity", "Qdrant", "Chroma", "vector store", "embedding retrieval".

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "vector-db-toolkit" with this command: npx skills add kaiyuelv/vector-db-toolkit

Vector Database Toolkit

Operations toolkit for vector databases used in AI and RAG systems.

Supported Backends

  • Qdrant - Open-source vector DB (REST/gRPC API)
  • Chroma - Lightweight embedded vector DB
  • InMemory - Pure Python fallback for small datasets

Quick Start

Qdrant

from scripts.qdrant_client import VectorClient

client = VectorClient(backend="qdrant", url="http://localhost:6333")
client.create_collection("docs", dimension=768)
client.upsert("docs", ids=["a", "b"], vectors=[[0.1, ...], [0.2, ...]], payloads=[{"title": "A"}, {"title": "B"}])
results = client.search("docs", vector=[0.1, ...], top_k=5)

Chroma

client = VectorClient(backend="chroma", path="/tmp/chroma")
client.create_collection("docs")
client.upsert("docs", ids=["a"], vectors=[[0.1, ...]], payloads=[{"title": "A"}])
results = client.search("docs", vector=[0.1, ...], top_k=5)

Scripts

  • scripts/vector_client.py - Unified client for all backends
  • scripts/qdrant_client.py - Qdrant-specific operations
  • scripts/chroma_client.py - Chroma-specific operations
  • scripts/embedding_utils.py - Text-to-embedding helpers (optional OpenAI, sentence-transformers)

References

  • references/qdrant_api.md - Qdrant API patterns
  • references/chroma_api.md - Chroma API patterns

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

BeerGaao

A股/港股/美股量化分析工具,提供技术分析、策略生成、回测验证和风险管理功能

Registry SourceRecently Updated
General

Learning Secretary Skill

学习秘书。每天 10:00 自动扫描对话生成学习卡片,每周日 20:00 汇总本周学习卡片生成 Word 文档。支持手动触发。

Registry SourceRecently Updated
General

Junyi Doc Reader

大文档归档与检索管线(v5)。支持本地文件(Word/PDF/TXT/Markdown)和飞书云文档,转换、分块、可选 LLM 增强,输出结构化 Markdown 和索引,存入 Obsidian。触发词:读大文档、归档文档、junyi-doc-reader、doc-reader、文档索引、帮我读这个PDF、把文档...

Registry SourceRecently Updated
General

Yt Dlp Downloader Skill

Download videos from YouTube, Bilibili, Twitter, and thousands of other sites using yt-dlp. Use when the user provides a video URL and wants to download it,...

Registry SourceRecently Updated