Token导航 LogoToken导航TokenDH.com
研究检索external-serviceclawhub未标认证来源可访问clear审计通过

local-rag-search本地 RAG 搜索

Agent Skill

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

总安装

126,751

周安装

5,229

GitHub Stars

3

下载量

41,414
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install local-rag-search

简介

使用具有语义相似度排名的 mcp-local-rag 服务器高效地执行 Web 搜索。当您需要在网络上搜索当前信息、跨多个来源研究主题或从互联网收集上下文而不使用外部 API 时,请使用此技能。该技能教授通过 DuckDuckGo、Google 和多引擎深度研究功能有效使用基于 RAG 的网络搜索。

SKILL.md

name
local-rag-search
description
Efficiently perform web searches using the mcp-local-rag server with semantic similarity ranking. Use this skill when you need to search the web for current information, research topics across multiple sources, or gather context from the internet without using external APIs. This skill teaches effective use of RAG-based web search with DuckDuckGo, Google, and multi-engine deep research capabilities.

Local RAG Search Skill

This skill enables you to effectively use the mcp-local-rag MCP server for intelligent web searches with semantic ranking. The server performs RAG-like similarity scoring to prioritize the most relevant results without requiring any external APIs.

Available Tools

1. rag_search_ddgs - DuckDuckGo Search

Use this for privacy-focused, general web searches.

When to use:

  • User prefers privacy-focused searches
  • General information lookup
  • Default choice for most queries

Parameters:

  • query: Natural language search query
  • num_results: Initial results to fetch (default: 10)
  • top_k: Most relevant results to return (default: 5)
  • include_urls: Include source URLs (default: true)

2. rag_search_google - Google Search

Use this for comprehensive, technical, or detailed searches.

When to use:

  • Technical or scientific queries
  • Need comprehensive coverage
  • Searching for specific documentation

3. deep_research - Multi-Engine Deep Research

Use this for comprehensive research across multiple search engines.

When to use:

  • Researching complex topics requiring broad coverage
  • Need diverse perspectives from multiple sources
  • Gathering comprehensive information on a subject

Available backends:

  • duckduckgo: Privacy-focused general search
  • google: Comprehensive technical results
  • bing: Microsoft's search engine
  • brave: Privacy-first search
  • wikipedia: Encyclopedia/factual content
  • yahoo, yandex, mojeek, grokipedia: Alternative engines

Default: ["duckduckgo", "google"]

4. deep_research_google - Google-Only Deep Research

Shortcut for deep research using only Google.

5. deep_research_ddgs - DuckDuckGo-Only Deep Research

Shortcut for deep research using only DuckDuckGo.

Best Practices

Query Formulation

  1. Use natural language: Write queries as questions or descriptive phrases

- Good: "latest developments in quantum computing" - Good: "how to implement binary search in Python" - Avoid: Single keywords like "quantum" or "Python"

  1. Be specific: Include context and details

- Good: "React hooks best practices for 2024" - Better: "React useEffect cleanup function best practices"

Tool Selection Strategy

  1. Single Topic, Quick Answer → Use rag_search_ddgs or rag_search_google
   rag_search_ddgs(
       query="What is the capital of France?",
       top_k=3
   )
  1. Technical/Scientific Query → Use rag_search_google
   rag_search_google(
       query="Docker multi-stage build optimization techniques",
       num_results=15,
       top_k=7
   )
  1. Comprehensive Research → Use deep_research with multiple search terms
   deep_research(
       search_terms=[
           "machine learning fundamentals",
           "neural networks architecture",
           "deep learning best practices 2024"
       ],
       backends=["google", "duckduckgo"],
       top_k_per_term=5
   )
  1. Factual/Encyclopedia Content → Use deep_research with Wikipedia
   deep_research(
       search_terms=["World War II timeline", "WWII key battles"],
       backends=["wikipedia"],
       num_results_per_term=5
   )

Parameter Tuning

For quick answers:

  • num_results=5-10, top_k=3-5

For comprehensive research:

  • num_results=15-20, top_k=7-10

For deep research:

  • num_results_per_term=10-15, top_k_per_term=3-5
  • Use 2-5 related search terms
  • Use 1-3 backends (more = more comprehensive but slower)

Workflow Examples

Example 1: Current Events

Task: "What happened at the UN climate summit last week?"

1. Use rag_search_google for recent news coverage
2. Set top_k=7 for comprehensive view
3. Present findings with source URLs

Example 2: Technical Deep Dive

Task: "How do I optimize PostgreSQL queries?"

1. Use deep_research with multiple specific terms:
   - "PostgreSQL query optimization techniques"
   - "PostgreSQL index best practices"
   - "PostgreSQL EXPLAIN ANALYZE tutorial"
2. Use backends=["google", "stackoverflow"] if available
3. Synthesize findings into actionable guide

Example 3: Multi-Perspective Research

Task: "Research the impact of remote work on productivity"

1. Use deep_research with diverse search terms:
   - "remote work productivity statistics 2024"
   - "hybrid work model effectiveness studies"
   - "work from home challenges research"
2. Use backends=["google", "duckduckgo"] for broad coverage
3. Synthesize different perspectives and studies

Guidelines

  1. Always cite sources: When include_urls=True, reference the source URLs in your response
  2. Verify recency: Check if the content appears current and relevant
  3. Cross-reference: For important facts, use multiple search terms or engines
  4. Respect privacy: Use DuckDuckGo for general queries unless specific needs require Google
  5. Batch related queries: When researching a topic, create multiple related search terms for deep_research
  6. Semantic relevance: Trust the RAG scoring - top results are semantically closest to the query
  7. Explain your choice: Briefly mention which tool you're using and why

Error Handling

If a search returns insufficient results:

  1. Try rephrasing the query with different keywords
  2. Switch to a different backend
  3. Increase num_results parameter
  4. Use deep_research with multiple related search terms

Privacy Considerations

  • DuckDuckGo: Privacy-focused, doesn't track users
  • Google: Most comprehensive but tracks searches
  • Recommend DuckDuckGo as default unless user specifically needs Google's coverage

Performance Notes

  • First search may be slower (model loading)
  • Subsequent searches are faster (cached models)
  • More backends = more comprehensive but slower
  • Adjust num_results and top_k based on use case

适合场景

01

研究助手

02

事实核查

03

知识库问答

04

带来源的搜索总结

能力概览

能力 1

组合搜索和大模型调用

能力 2

支持多来源检索和总结

能力 3

强调引用来源和事实核查

能力 4

适合研究型 Agent 流程

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

平台分布

OpenClaw

86.02%
按下载量换算35,624

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills