documentdb-vector-search
Vector search best practices for Azure DocumentDB using `cosmosSearch` — choosing between DiskANN / HNSW / IVF, creating indexes, tuning `lBuild` / `lSearch`…
Skill by khelanmodi
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/khelanmodi-documentdb-vector-search
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: cloud, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
documentdb-vector-search- Description
- Vector search best practices for Azure DocumentDB using `cosmosSearch` — choosing between DiskANN / HNSW / IVF, creating indexes, tuning `lBuild` / `lSearch` / `maxDegree`, Product Quantization (up to 16,000 dims), half-precision (fp16) indexing, and normalizing embeddings for cosine similarity. Use when building RAG / semantic-search applications, creating a vector index, tuning recall/latency, or reducing vector-index memory footprint.
- License
- MIT
- Instructions
- 22 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "documentdb-vector-search" does not match folder "vector-search"
Files (7)
- SKILL.md
- vector-choose-index-type.md
- vector-create-diskann-index.md
- vector-half-precision.md
- vector-knn-query.md
- vector-normalize-embeddings.md
- vector-product-quantization.md
SKILL.md (first lines)
# Vector Search — Azure DocumentDB (`cosmosSearch`) Azure DocumentDB's native vector index type is `cosmosSearch`. Pick the sub-type by scale: | Index sub-type | Scale sweet spot | Tier | |---|---|---| | `vector-diskann` (recommended) | Up to 500k+ vectors | M30+ | | `vector-hnsw` | Up to ~50k vectors | M30+ | | `vector-ivf` | Under ~10k vectors | M10+ | Similarity options: `COS` (cosine), `L2` (Euclidean), `IP` (inner product). ## Rules - [vector-choose-index-type](vector-choose-index-type.md) — Prefer DiskANN for production; use HNSW up to 50k, IVF under 10k. - [vector-create-diskann-index](vector-create-diskann-index.md) — Create a `vector-diskann` index with correct `dimensions`, `similarity`, `maxDegree`, and `lBuild`. - [vector-knn-query](vector-knn-query.md) — Query with `$search` + `cosmosSearch`; tune `lSearch` and `k`; combine with pre-filters. - [vector-product-quantization](vector-product-quantization.md) — Shrink high-dimensional vectors (up to 16,000 dims) while preserving recall. - [vector-half-precision](vector-half-precision.md) — Halve vector memory with fp16 indexing and minimal recall loss. - [vector-normalize-embeddings](vector-normalize-embeddings.md) — Normalize embeddings when using cosine similarity; store model + dimensions alongside vectors.
From khelanmodi/documentdb-agent-kit, MIT.
More from khelanmodi/documentdb-agent-kit
- 0.406score
documentdb-mcp-setup
khelanmodi
Guide users through configuring the DocumentDB MCP server for Azure DocumentDB.
SkillDFreshness: DClaude Code +9 - 0.401score
documentdb-cluster-sharding
khelanmodi
Cluster sizing and sharding guidance for Azure DocumentDB — choosing M-tier (M10–M200+), when to scale vertically vs horizontally, and how to pick a shard key…
SkillDFreshness: DClaude Code +9 - 0.401score
documentdb-high-availability
khelanmodi
High availability and disaster-recovery best practices for Azure DocumentDB — enabling in-region HA (99.99% SLA) and adding active-passive cross-region…
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 2
- Last commit (this folder)
- Apr 21, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from khelanmodi
- 0.406score
documentdb-mcp-setup
khelanmodi
Guide users through configuring the DocumentDB MCP server for Azure DocumentDB.
SkillDFreshness: DClaude Code +9 - 0.401score
documentdb-cluster-sharding
khelanmodi
Cluster sizing and sharding guidance for Azure DocumentDB — choosing M-tier (M10–M200+), when to scale vertically vs horizontally, and how to pick a shard key…
SkillDFreshness: DClaude Code +9 - 0.401score
documentdb-high-availability
khelanmodi
High availability and disaster-recovery best practices for Azure DocumentDB — enabling in-region HA (99.99% SLA) and adding active-passive cross-region…
SkillDFreshness: DClaude Code +9
Cite this page
documentdb-vector-search skill. Agent Mart. https://agentmart.dev/skills/khelanmodi-documentdb-vector-search (last updated 2026-10-24)