Operate supabase vector search

From Mountain-Nomad-BC/Pacify-X · View interactive version

Operate supabase vector search is an AI agent skill from the GitHub repository Mountain-Nomad-BC/Pacify-X. Design and operate pgvector schemas, embedding lifecycle, indexes, filtered matching RPCs, and retrieval evaluation.

How to use this skill

Skill file

operate-supabase-vector-search

Outcome

Design and operate pgvector schemas, embedding lifecycle, indexes, filtered matching RPCs, and retrieval evaluation.

Suggest or activate when

Do not suggest or activate when

Discover before acting

Procedure

  1. Identify embedding model/dimension, metric, corpus size, updates, metadata, filter selectivity, tenancy, top-k, latency, recall, and retention.
  2. Create a versioned document/chunk table and stable match RPC, commonly match_documents; enforce RLS/tenant filters inside the query boundary.
  3. Start exact, add HNSW/IVFFlat from measurements, index metadata predicates, evaluate recall and minimum result sufficiency, and make re-embedding resumable.

Best practices

Verification and evidence

Capture the selected environment, versions, authority, redacted configuration or command evidence, test identifiers, observed external outcome, rollback point, and unresolved risks. A successful command proves only that command; verify the requested real-world result separately.

Common failure modes

PACIFY-X governance hooks

Load metadata at startup and this body only after semantic selection. Before installation, credentials, external calls, deployments, production actions, or schema changes, route through the existing controls that apply:

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.