Agent skill · vasilyu1983

ai-vector-brain

Builds vector-brain implementations for repos, docs hubs, and compliance corpora. Use when creating pgvector retrieval brains with scripts, SQL, manifests, and evals.

What it needs

About 9k tokens when loaded.

What this skill does

AI Vector Brain Build a vector brain implementation. V1 default: Postgres + pgvector. Pick a corpus playbook. Use this skill when the user asks to: build a vector brain, RAG brain, LLM brain, repo brain, docs brain, or compliance brain turn a repo, docs hub, policy corpus, guide set, or generated context artifacts into a repeatable retrieval layer choose a vector-brain backend and produce a concrete implementation path create SQL, manifests, ingestion scripts, eval seeds, or an agent retrieval tool contract Boundary Contract Skill Owns Does Not Own --- --- --- ai-context-layer Where context lives: memory vs retrieval vs tools, grounding, provenance, lifecycle, app context architecture Paste-ready SQL, vector DB schemas, embedding pipelines, ingest scripts ai-rag Retrieval theory: chunking principles, hybrid fusion concepts, reranking concepts, eval theory, when retrieval is wrong Operational DDL, backend-specific SQL, concrete ingest scripts ai-agents Agent topology, tool use, planner/critic flows, agent vs workflow decisions Retrieval backend implementation ai-bot-builder Bot UX, conversation flows, escalation, channel integration, KB use in a bot surface KB/vector-brain construction ai-vector-brain How to build: corpus inventory, manifests, DDL, ingest scripts, embeddings, hybrid search, eval seeds, backend recipes Broad RAG theory, app context strategy, agent topology, bot UX Quick Reference Need Start Here ------ ------------ Decide vector vs relational vs graph (upstream choice) ../software-database-design/SKILL.md#storage-paradigm-matrix-relational-vs-graph-vs-vector Build the default brain references/postgres-pgvector-default.md Choose backend (matrix + decision flow) references/backend-selection.md Per-backend deep dive (S3 Vectors, Turbopuffer, Pinecone Serverless, Bedrock KB, OpenSearch, Vertex, Azure, edge) references/backend-selection-extended.md S3 Vectors cost, limits (2B vectors/index GA limit, 14-region GA Dec 2025), direct API vs Bedrock KB referenc …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills vasilyu1983/ai-vector-brain

View the source on GitHub

Browse the @skills marketplace