ov-layers/skills/vectorchord/SKILL.md
VectorChord PostgreSQL extension for optimized vector similarity search. Use when working with VectorChord, vector indices, or smart search performance.
npx skillsauth add overthinkos/overthink-plugins vectorchordInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Property | Value |
|----------|-------|
| Dependencies | postgresql |
| Ports | none |
| Volumes | none |
| Service | none |
| Install files | tasks: |
| Variable | Value |
|----------|-------|
| VECTORCHORD_VERSION | 1.1.1 |
| POSTGRES_SHARED_PRELOAD_LIBRARIES | vchord.so |
unzip (RPM) -- for extracting VectorChord release archivesDownloads VectorChord from GitHub releases (tensorchord/VectorChord) and installs the extension:
postgres --versionplpgsql.so anchor and standard Fedora pathspostgresql-<PG_MAJOR>-vchord_<VERSION>_<ARCH>-linux-gnu.zipvchord.so to pkglibdir and .control/.sql files to sharedir/extension/Supports both x86_64 and aarch64 architectures. PostgreSQL version is detected dynamically.
VectorChord provides the vchordrq index type for PostgreSQL, replacing pgvector's ivfflat with an optimized approximate nearest-neighbor search algorithm. Key differences:
shared_preload_libraries -- VectorChord's .so must be loaded at PostgreSQL startup via the POSTGRES_SHARED_PRELOAD_LIBRARIES env var (consumed by the postgresql layer's entrypoint)CREATE EXTENSION vchord CASCADE; (handled by the immich layer's migration script)# image.yml -- used alongside postgresql for Immich smart search
my-image:
layers:
- postgresql
- vectorchord
- immich
/ov-images:immich/ov-images:immich-ml/ov-layers:postgresql -- required dependency (provides PostgreSQL server and pgvector)/ov-layers:immich -- primary consumer (migration script creates the extension)Use when the user asks about:
vchordrq index type/ov:layer — layer authoring reference (layer.yml schema, task verbs, service declarations)/ov:test — declarative testing (tests: block, ov image test, ov test)development
Claude Code multi-agent support in Overthink — sub-agents, dynamic workflows, and agent teams, and how each drives the existing `ov eval` disposable beds to test and verify. MUST be invoked before authoring or invoking an ov sub-agent / dynamic workflow / agent team, wiring agent-lifecycle hooks, or asking "which primitive should drive the R10 beds?".
tools
Mounts a virtiofs share tagged `workspace` at /workspace inside a VM guest via a systemd .mount unit. Use when a kind:vm entity shares a host directory into the guest and you need it auto-mounted (and re-mounted at every boot).
development
MUST be invoked before any work involving: the `kind: android` schema kind, a `target: android` deploy, the `apk:` layer package format (installing Android apps declaratively), AndroidDeployTarget, an in-pod emulator OR a remote/physical adb-endpoint device, or nested `pod → android` deployment. The first-class Android device + app surface that sits above `ov eval adb`/`appium`.
tools
Use when committing, branching, pushing, merging, tagging, creating PRs, or approving/merging PRs with gh — the feat/-branch, R10-gated, never-force-push landing workflow across the main repo + the plugins submodule + image/<distro> submodules. Covers sync-to-upstream, branch/worktree pruning, the fork+PR path for contributors without write access, and cross-repo @github landing order.