Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

vector-db-search矢量数据库搜索

Agent Skill

用于搭建或维护带检索增强的 RAG 工作流,适合让 Agent 处理知识库问答、向量检索、来源引用和事实核查。它可以辅助整理数据接入、Embedding、向量库、召回参数和回答生成流程。使用时需要确认数据来源、更新频率、召回阈值和引用展示方式,避免把未命中的资料或过期内容包装成确定事实。

总安装

494

周安装

20

GitHub Stars

2

下载量

155
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vector-db-search(矢量数据库搜索)
来源仓库:https://github.com/richfrem/agent-plugins-skills
仓库路径:skills/vector-db-search
安装命令:
npx skills add https://github.com/richfrem/agent-plugins-skills --skill vector-db-search
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/richfrem/agent-plugins-skills --skill vector-db-search

简介

用于搭建或维护带检索增强的 RAG 工作流,适合让 Agent 处理知识库问答、向量检索、来源引用和事实核查。它可以辅助整理数据接入、Embedding、向量库、召回参数和回答生成流程。

  • 适用于语义搜索实现、相似内容推荐或多轮对话上下文管理等场景。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令添加指定技能。
  • 使用时需要确认数据来源、更新频率、召回阈值和引用展示方式,避免把未命中的资料或过期内容包装成确定事实。
  • vector-db-search 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Dependencies

This skill requires Python 3.8+ and standard library only. No external packages needed.

To install this skill's dependencies:

pip-compile ./requirements.in
pip install -r ./requirements.txt

See ./requirements.txt for the dependency lockfile (currently empty — standard library only).


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

ScriptRole
scripts/query.pySemantic search -- CLI entry point
scripts/operations.pyCore Parent-Child retrieval library
scripts/vector_config.pyProfile config helper (vector_profiles.json)
scripts/vector_consistency_check.pyIntegrity validation

Write operations (ingest, cleanup) are handled by dedicated agents: vdb-ingest, vdb-cleanup.

When 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

curl -sf http://127.0.0.1:8110/api/v1/heartbeat

If connection refused: run vector-db-launch skill (.agents/skills/vector-db-launch/SKILL.md). For first-time setup: run vector-db-init skill (scripts/init.py).

2. Select Profile and Search

Profiles are project-defined in vector_profiles.json (see vector-db-init skill). Any number can exist. Discover what's available:

cat .agent/learning/vector_profiles.json

Common default is knowledge -- your project may define more (e.g. separate profiles for code vs docs). When topic is ambiguous, search all profiles.

python3 .agents/skills/vector-db-search/scripts/query.py \
  "your natural language question" --profile knowledge --limit 5

Results include ranked parent chunks with RLM Super-RAG context pre-injected.

Architectural Constraints (Electric Fence)

NEVER -- direct database reads

Do not cat, strings, or sqlite3 the .vector_data/ directory. Binary blobs will corrupt your context window and the retrieval pipeline.

ALWAYS -- use the API

All access goes through query.py. No exceptions.

Source 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]

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.05%
按下载量换算54

Claude

27.9%
按下载量换算43

Cursor

19.95%
按下载量换算31

Gemini CLI

9.93%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills