qwen_agent/skills/support/rag-retrieve-only
2026-05-26 17:43:12 +08:00
..
.claude-plugin merge 2026-05-26 17:43:12 +08:00
hooks 更新policy.md 2026-05-12 12:40:12 +08:00
mcp_common.py chore: replace Chinese comments and log messages with English 2026-04-30 19:45:35 +08:00
rag_retrieve_server.py chore: replace Chinese comments and log messages with English 2026-04-30 19:45:35 +08:00
rag_retrieve_tools.json 修改skill目录 2026-04-18 23:19:46 +08:00
README.md chore: replace Chinese comments and log messages with English 2026-04-30 19:45:35 +08:00

rag-retrieve-only

A minimal plugin example that keeps only rag_retrieve.

Overview

  • Injects retrieval policy through the PrePrompt hook
  • Exposes the rag_retrieve MCP server
  • The plugin supports only rag_retrieve
  • table_rag_retrieve is disabled
  • Local file retrieval is disabled

Directory Structure

rag-retrieve-only/
├── README.md
├── .claude-plugin/
│   └── plugin.json
├── hooks/
│   ├── pre_prompt.py
│   └── retrieval-policy.md
├── rag_retrieve_server.py
└── rag_retrieve_tools.json

Current Retrieval Strategy

Default order: skill-enabled knowledge retrieval tools > rag_retrieve

  • Prefer available in-skill knowledge retrieval tools first
  • Use rag_retrieve when they are insufficient
  • Do not run multiple retrieval sources in parallel
  • The plugin supports only rag_retrieve