Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

grepai-storage-qdrant

БесплатноБез исполняемых скриптовНе проверен

Configure Qdrant vector database for GrepAI. Use this skill for high-performance vector search.

yoanbernabeuот yoanbernabeu★ 20 звёзд на GitHub

Об этом скилле

GrepAI Storage with Qdrant

This skill covers using Qdrant as the storage backend for GrepAI, offering high-performance vector search.

When to Use This Skill

  • Need fastest possible search performance
  • Very large codebases (50K+ files)
  • Already using Qdrant infrastructure
  • Want advanced vector search features

What is Qdrant?

Qdrant is a purpose-built vector database offering:

  • ⚡ Extremely fast vector similarity search
  • 📏 Excellent scalability
  • 🔧 Advanced filtering capabilities
  • 🐳 Easy Docker deployment

Prerequisites

  1. Qdrant server running
  2. Network access to Qdrant

Advantages

Benefit Description
⚡ Performance Fastest vector search
📏 Scalability Handles millions of vectors
🔍 Advanced Filtering, payloads, sharding
🐳 Easy deploy Docker-ready
☁️ Cloud option Qdrant Cloud available

Setting Up Qdrant

Option 1: Docker (Recommended)

# Run Qdrant with persistent storage
docker run -d \
  --name grepai-qdrant \
  -p 6333:6333 \
  -p 6334:6334 \
  -v qdrant_storage:/qdrant/storage \
  qdrant/qdrant

Ports:

  • 6333: REST API
  • 6334: gRPC API (used by GrepAI)

Option 2: Docker Compose

# docker-compose.yml
version: '3.8'
services:
  qdrant:
    image: qdrant/qdrant
    ports:
      - "6333:6333"
      - "6334:6334"
    volumes:
      - qdrant_storage:/qdrant/storage
    environment:
      - QDRANT__SERVICE__GRPC_PORT=6334

volumes:
  qdrant_storage:
docker-compose up -d

Option 3: Qdrant Cloud

  1. Sign up at cloud.qdrant.io
  2. Create a cluster
  3. Get your endpoint and API key

Configuration

Basic Configuration (Local)

# .grepai/config.yaml
store:
  backend: qdrant
  qdrant:
    endpoint: localhost
    port: 6334

With TLS (Production)

store:
  backend: qdrant
  qdrant:
    endpoint: qdrant.company.com
    port: 6334
    use_tls: true

With API Key (Qdrant Cloud)

store:
  backend: qdrant
  qdrant:
    endpoint: your-cluster.aws.cloud.qdrant.io
    port: 6334
    use_tls: true
    api_key: your-api-key

grepai does not substitute ${VAR} in config.yaml and does not read a Qdrant key from the environment: the key goes in api_key. Keep a config holding it out of version control.

Configuration Options

Option Default Description
endpoint localhost Qdrant server hostname
port 6334 gRPC port
use_tls false Enable TLS encryption
collection project path Collection name. If empty, the absolute project path with /, \ and : replaced by _ (workspace_<name> for a workspace)
api_key none Authentication key

Sharing a Collection

Set collection explicitly to let several projects or machines use the same collection:

store:
  backend: qdrant
  qdrant:
    endpoint: qdrant.company.com
    port: 6334
    use_tls: true
    collection: team-code

Each point then carries a project_namespace payload field (also part of the point ID), and every search, listing, stats count and deletion only sees the current repository:

  • Same repository, shared index: the namespace is the normalized origin remote URL ([email protected]:org/app.git, ssh://[email protected]/org/app and https://github.com/org/app all match; credentials in the URL are dropped). Clones on other machines, CI, colleagues and linked worktrees share the same points. Checkouts on different branches still overwrite each other's version of a file.
  • Different repositories, isolated: they never see or change each other's points, even with identical file paths. A project in a subdirectory adds it to the namespace (github.com/org/app#services/api).
  • No git repository, no origin, or a local-path origin: the namespace is the project's absolute path.
  • Changing the origin URL changes the namespace: the next grepai index or grepai watch re-indexes from scratch, and the old points stay until you delete them.

Default collections (no collection key) and workspace collections hold a single project and have no namespace: nothing changes for them.

Upgrading with an explicit collection: grepai search, grepai status and the MCP tools keep reading the existing points until the project is re-indexed. The first grepai index or grepai watch migrates it, reusing the stored vectors for unchanged chunks (no new embedding cost). grepai warns at startup while old points remain. Once every project sharing the collection has been upgraded and re-indexed, delete the leftover points without a namespace:

curl -X POST http://localhost:6333/collections/<collection>/points/delete \
  -H 'Content-Type: application/json' \
  -d '{"filter": {"must": [{"is_empty": {"key": "project_namespace"}}]}}'

Upgrade every project that shares the collection: an earlier grepai rel

Полный SKILL.md на GitHub

Установить grepai-storage-qdrant в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл grepai-storage-qdrant?

Configure Qdrant vector database for GrepAI. Use this skill for high-performance vector search.

Как установить скилл grepai-storage-qdrant?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл grepai-storage-qdrant запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить grepai-storage-qdrant с