vector-db-search
Original:🇺🇸 English
Translated
7 scripts
Semantic search skill for retrieving code and documentation from the ChromaDB vector store. Use when you need concept-based search across the repository (Phase 2 of the 3-phase search protocol). V2 includes L4/L5 retrieval constraints.
1installs
Added on
NPX Install
npx skill4agent add richfrem/agent-plugins-skills vector-db-searchTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Vector DB Search
Semantic (meaning-based) search against the ChromaDB vector store.
Use for Phase 2 of the 3-phase search protocol -- after the RLM Summary Ledger (Phase 1)
returns insufficient results.
Scripts
| Script | Role |
|---|---|
| Semantic search -- CLI entry point |
| Core Parent-Child retrieval library |
| Profile config helper ( |
| Integrity validation |
Write operations (ingest, cleanup) are handled by dedicated agents: , .
vdb-ingestvdb-cleanupWhen to Use
- Phase 1 (RLM Summary Ledger) returned no match or insufficient detail
- User asks "how does X work?" / "find code that does Y"
- You need specific snippets, not just file-level summaries
Execution Protocol
1. Verify ChromaDB is running
bash
curl -sf http://127.0.0.1:8110/api/v1/heartbeatIf connection refused: run skill ().
For first-time setup: run skill ().
vector-db-launchplugins/vector-db/skills/vector-db-launch/SKILL.mdvector-db-initplugins/vector-db/skills/vector-db-init/scripts/init.py2. Select Profile and Search
Profiles are project-defined in (see skill). Any number can exist. Discover what's available:
vector_profiles.jsonvector-db-initbash
cat .agent/learning/vector_profiles.jsonCommon default is -- your project may define more (e.g. separate profiles for code vs docs). When topic is ambiguous, search all profiles.
knowledgebash
python3 plugins/vector-db/skills/vector-db-agent/scripts/query.py \
"your natural language question" --profile knowledge --limit 5Results include ranked parent chunks with RLM Super-RAG context pre-injected.
Architectural Constraints (Electric Fence)
NEVER -- direct database reads
Do not , , or the directory.
Binary blobs will corrupt your context window and the retrieval pipeline.
catstringssqlite3.vector_data/ALWAYS -- use the API
All access goes through . No exceptions.
query.pySource Transparency Declaration (L5 Pattern)
When search returns empty results, explicitly state:
> Not Found in Vector Store
> Searched profile: [profile_name] for "[query]"
> Profile covers: [scope]
> Not searched: [out-of-scope areas]