qdrant

SKILL.md

Qdrant

Manage collections, points, and vector search.

Environment Variables

  • QDRANT_URL - Qdrant instance URL
  • QDRANT_API_KEY - API key

List collections

curl -s -H "api-key: $QDRANT_API_KEY" \
  "$QDRANT_URL/collections" | jq '.result.collections[] | {name}'

Get collection info

curl -s -H "api-key: $QDRANT_API_KEY" \
  "$QDRANT_URL/collections/COLLECTION_NAME" | jq '.result | {vectors_count, points_count}'

Search vectors

curl -s -X POST -H "api-key: $QDRANT_API_KEY" \
  -H "Content-Type: application/json" \
  "$QDRANT_URL/collections/COLLECTION_NAME/points/search" \
  -d '{"vector":[0.1,0.2,0.3],"limit":5,"with_payload":true}' | jq '.result[] | {id, score, payload}'

Upsert points

curl -s -X PUT -H "api-key: $QDRANT_API_KEY" \
  -H "Content-Type: application/json" \
  "$QDRANT_URL/collections/COLLECTION_NAME/points" \
  -d '{"points":[{"id":1,"vector":[0.1,0.2,0.3],"payload":{"text":"example"}}]}' | jq '{status}'

Notes

  • Always confirm before upserting or deleting points.
Weekly Installs
2
First Seen
14 days ago
Installed on
opencode2
gemini-cli2
claude-code2
github-copilot2
codex2
kimi-cli2