Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

rag-query

v1.0.1

Query the RAG knowledge base (Qdrant kb_main) by semantic search. Returns top-k chunks with text, doc_id, source, text_type, topic_tags.

0· 497· 2 versions· 3 current· 3 all-time· Updated 7h ago· MIT-0

Install

openclaw skills install rag-query

rag-query

Usage

# 最简单:位置参数作为查询
node skills/rag-query/scripts/query.mjs "渗透测试流程"

# 显式传参 + 控制 top-k 和 topic-tags
node skills/rag-query/scripts/query.mjs \
  --query "TCP/IP 模型" \
  --top-k 5 \
  --topic-tags "net_basic,protocol"

Parameters

ParamRequiredExampleDescription
--queryyes*"渗透测试流程"查询字符串;也可以作为第一个位置参数
--top-kno5返回片段数量,默认 5
--topic-tagsno"net_basic,protocol"逗号分隔标签,用于按 topic_tags 过滤
--collectionno"kb_main"Qdrant collection 名称,默认 kb_main

输出为 JSON 数组,每个元素包含 textdoc_idsourcetext_typetopic_tags 字段,可直接注入 Agent 上下文使用。

Version tags

latestvk97ap3qfwks3pd2e68mwta7tt182bchk

Runtime requirements

🔎 Clawdis
Binsnode
EnvQDRANT_URL, EMBED_API_KEY
Primary envQDRANT_URL