qwen_agent/skills/support/rag-retrieve-only
朱潮 425f3c5bb4 chore: replace Chinese comments and log messages with English
Convert all Chinese comments, docstrings, logger/print output,
HTTPException detail messages, and API response messages to English
across the entire codebase. Functional zh/ja localized strings
(e.g. prompt templates, timezone display names, date formats) are
preserved as-is.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-30 19:45:35 +08:00
..
.claude-plugin 修改skill目录 2026-04-18 23:19:46 +08:00
hooks chore: replace Chinese comments and log messages with English 2026-04-30 19:45:35 +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