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

rag-wrapperRAG wrapper 搜索

Agent Skill

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

总安装

371

周安装

15

GitHub Stars

2

下载量

116
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/mindmorass/reflex --skill rag-wrapper

简介

用于封装底层 RAG 检索逻辑,提供统一接口供上层应用调用。

  • 适合简化外部系统与向量数据库之间的交互复杂度。
  • 通过 GitHub 安装,需确认封装层是否适配目标宿主平台。
  • 应保留原始检索结果细节,便于后续调试与审计。rag-wrapper 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 推荐添加缓存机制减少重复请求,提升响应效率。

SKILL.md

RAG Wrapper Patterns

Patterns for augmenting any agent with Qdrant context retrieval.

Quick Start

To wrap an agent with RAG:

Use rag-proxy agent:
  Target: {agent-to-wrap}
  Task: {the task}

Manual Wrapping Pattern

If you need custom control, follow this pattern:

Step 1: Query Relevant Context

Tool: qdrant-find
Query: {key terms from task}

Step 2: Format Context Block

## Retrieved Context

### Source: {metadata.source}
Harvested: {metadata.harvested_at}
Type: {metadata.type}

{document content}

---

Step 3: Prepend to Task

{context blocks}

## Task

{original task}

---
Note: Above context is from stored knowledge. Verify if needed.

Step 4: Delegate

Tool: Task
Agent: {target-agent}
Prompt: {enriched prompt}

Enriched Prompt Template

# Context from Stored Knowledge

The following relevant information was retrieved from project memory:

{{#each contexts}}
## From Qdrant
**Source:** {{metadata.source}}
**Harvested:** {{metadata.harvested_at}}

{{content}}

---
{{/each}}

# Your Task

{{original_task}}

---

**Note:** The context above comes from previously harvested research.
Use it if relevant, but verify currency for time-sensitive information.
The `harvested_at` dates indicate when the content was stored.

Selective Wrapping

Not all tasks need RAG. Skip for:

Task TypeWrap?Reason
Fresh researchNoNeed current, not cached data
Simple editsNoContext not needed
RAG-aware agentsNoAlready query Qdrant
ImplementationYesBenefit from patterns, decisions
DebuggingYesPrevious solutions may help
ArchitectureYesDecisions and constraints matter

Agent-Collection Affinity

Map agent types to useful query topics:

Agent TypeQuery Topics
frontend-developerreact, design system, components
backend-architectapi, architecture, decisions
security-auditorsecurity, authentication, vulnerabilities
devopsinfrastructure, terraform, deployment
testertesting, coverage, quality

Storing Results

After the target agent completes:

Tool: qdrant-store
Information: "<valuable findings>"
Metadata:
  source: "agent-output"
  type: "generated"
  harvested_at: "<ISO date>"
  tags: "<relevant,keywords>"

Error Handling

ScenarioAction
Empty query resultsProceed without context
Qdrant unavailableFall back to unwrapped delegation
Target agent failsReport error, don't retry with less context

适合场景

01

研究助手

02

事实核查

03

知识库问答

04

带来源的搜索总结

能力概览

能力 1

组合搜索和大模型调用

能力 2

支持多来源检索和总结

能力 3

强调引用来源和事实核查

能力 4

适合研究型 Agent 流程

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

平台分布

Claude Code

28.93%
按下载量换算34

Gemini CLI

23.78%
按下载量换算28

Antigravity

16.58%
按下载量换算19

windsurf

13.95%
按下载量换算16

trae

8.64%
按下载量换算10

Codex

3.8%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills