Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

retrieval-search-orchestration检索搜索编排

Agent Skill

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

总安装

768

周安装

32

GitHub Stars

85

下载量

256
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lyndonkl/claude --skill retrieval-search-orchestration

简介

用于搭建或维护带检索增强的 RAG 工作流。

  • 适合处理知识库问答、向量检索、来源引用和事实核查。
  • 可辅助整理数据接入、Embedding、向量库和回答生成流程。
  • 使用时需确认数据来源、更新频率、召回阈值和引用展示方式,避免包装未命中或过期内容。
  • retrieval-search-orchestration 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Table of Contents

Retrieval & Search Orchestration

Workflow

Copy this checklist and work through each step:

  • 1. Analyze query types and requirements
  • 2. Select retrieval pattern
  • 3. Design query decomposition strategy
  • 4. Configure ranking and constraints
  • 5. Design provenance tracking
  • 6. Define fallback strategies
  • 7. Produce retrieval strategy specification

Step Descriptions

Step 1: Analyze Query Types and Requirements

Classify the queries your system must handle. Common categories include:

  • Factoid lookups: single-entity, single-hop (e.g., "What is the capital of France?")
  • Exploratory/thematic: broad questions requiring aggregation across many entities (e.g., "What are the main themes in this corpus?")
  • Multi-hop reasoning: questions requiring traversal of multiple relationships (e.g., "Which drugs treat diseases caused by gene X?")
  • Temporal queries: questions bounded by time ranges or requiring sequence understanding
  • Constrained queries: questions with type or attribute filters (e.g., "List all clinical trials after 2020 for drug Y")

Identify the distribution of these query types in your use case to guide pattern selection.

Step 2: Select Retrieval Pattern

Use the Retrieval Pattern Selection Guide below to choose the right approach for your query distribution. See resources/methodology.md for detailed implementation guidance on each pattern.

Step 3: Design Query Decomposition Strategy

For complex queries, break them into sub-queries that can be independently resolved and then aggregated. Approaches include LLM-as-controller decomposition, self-ask chains, and ReAct-style interleaved reasoning and retrieval. See the Query Decomposition Patterns section below and resources/methodology.md for details.

Step 4: Configure Ranking and Constraints

Define how retrieved results are scored, ranked, and filtered:

  • Embedding similarity thresholds
  • Graph distance penalties
  • Type-based pre-filters or post-filters
  • Confidence score minimums
  • Temporal decay functions for time-sensitive data

Step 5: Design Provenance Tracking

Ensure every piece of retrieved information carries metadata about its origin. This includes source document IDs, extraction timestamps, confidence scores, and evidence chain construction. See resources/provenance-patterns.md for annotation approaches, confidence scoring, and LLM integration patterns.

Step 6: Define Fallback Strategies

Design what happens when primary retrieval fails or returns insufficient results:

  • Iterative deepening (expand hop count)
  • Query relaxation (remove constraints progressively)
  • Parallel exploration (try multiple patterns simultaneously)
  • Graceful degradation (return partial results with confidence indicators)

Step 7: Produce Retrieval Strategy Specification

Compile the full specification using the Output Template below.


Retrieval Pattern Selection Guide

PatternBest ForMechanismTrade-offsSection Ref
Global-FirstBroad thematic queries, corpus-level summariesCommunity detection, top-down traversal of summarized indexesHigh-level coverage; may miss specific details3.1
Local-FirstEntity-centric lookups, neighborhood explorationSeed entity linking, 1-2 hop neighborhood expansion with embedding gatesHigh precision for known entities; limited scope3.2
U-Shaped HybridComplex queries needing both breadth and depthCoarse-to-fine bidirectional search, top-down then bottom-up refinementBest coverage; higher latency and complexity3.3
Query DecompositionMulti-hop reasoning, composite questionsLLM breaks query into sub-queries, sequential retrieval, aggregationHandles complex questions; depends on decomposition quality3.4
TemporalTime-bounded or sequence-dependent queriesTime-slice filtering, episodic windowing, time-decay rankingCaptures temporal dynamics; needs temporal metadata3.5
Constraint-GuidedType-filtered or rule-bounded queriesPre-filter + vector search, symbolic query then neural re-rankReduces search space; requires well-typed schema3.6

Selection heuristic: Start with the dominant query type in your system. If queries are mixed, consider U-Shaped Hybrid as a default with fallback to specialized patterns.


Query Decomposition Patterns

LLM-as-Controller

The LLM receives the original query and generates a plan of sub-queries:

Original: "Which drugs treat diseases linked to mutations in BRCA1?"
Sub-query 1: "What diseases are linked to mutations in BRCA1?"
Sub-query 2: "What drugs treat [diseases from sub-query 1]?"
Aggregation: Combine results, deduplicate, rank by evidence strength

Self-Ask Chain

The model iteratively asks itself follow-up questions, retrieving after each:

Q: "What is the relationship between company X and technology Y?"
Follow-up 1: "What products does company X produce?" -> retrieve
Follow-up 2: "Which of those products use technology Y?" -> retrieve
Follow-up 3: "What partnerships exist between X and Y providers?" -> retrieve
Synthesize: Combine all retrieved evidence into final answer

ReAct Pattern

Interleave reasoning and retrieval actions:

Thought: I need to find the connection between entity A and entity C
Action: Search KG for paths between A and C (max 3 hops)
Observation: Found path A -> B -> C via relationship R1 and R2
Thought: I should verify this path with supporting evidence
Action: Retrieve source documents for edges A-B and B-C
Observation: Edge A-B supported by [doc1, doc2], edge B-C supported by [doc3]
Answer: A connects to C through B, supported by 3 source documents

Tool-Augmented Retrieval

Generate formal queries (Cypher, SPARQL) for structured graph traversal:

LLM generates: MATCH (d:Drug)-[:TREATS]->(dis:Disease)<-[:CAUSES]-(g:Gene {name: 'BRCA1'})
               RETURN d.name, dis.name, g.name
Execute against graph database
Post-process results with LLM for natural language answer

Output Template

# Retrieval Strategy Specification

## System Context
- **Domain**: [e.g., biomedical, legal, financial]
- **Knowledge Graph Type**: [e.g., property graph, RDF, hybrid]
- **Primary Query Types**: [list dominant query categories]
- **Scale**: [approximate node/edge counts, query volume]

## Retrieval Pattern
- **Primary Pattern**: [selected pattern from guide]
- **Rationale**: [why this pattern fits the query distribution]
- **Secondary/Fallback Pattern**: [if applicable]

## Query Decomposition
- **Strategy**: [LLM-as-controller / self-ask / ReAct / tool-augmented / none]
- **Max Sub-queries**: [limit per original query]
- **Aggregation Method**: [union / intersection / ranked merge / LLM synthesis]

## Ranking & Constraints
- **Similarity Threshold**: [minimum embedding similarity score]
- **Max Hop Distance**: [maximum graph traversal depth]
- **Type Filters**: [entity/relationship type constraints]
- **Temporal Constraints**: [time windows, decay functions]
- **Confidence Minimum**: [minimum source confidence for inclusion]

## Provenance Design
- **Annotation Method**: [metadata fields / evidence nodes / named graphs / reification]
- **Confidence Scoring**: [source reliability tiers, aggregation rules]
- **Citation Format**: [inline / post-hoc / both]
- **Conflict Resolution**: [timestamp priority / source authority / LLM adjudication]

## Fallback Strategy
- **Primary Fallback**: [iterative deepening / query relaxation / parallel exploration]
- **Max Retry Depth**: [number of fallback attempts]
- **Degradation Policy**: [partial results with confidence / explicit uncertainty / escalation]

## Evaluation Criteria
- Reference: `resources/evaluators/rubric_retrieval.json`
- **Target Score**: [minimum acceptable weighted score]

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

33.85%
按下载量换算87

Claude

32.56%
按下载量换算83

Cursor

17.02%
按下载量换算44

Gemini CLI

9.44%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills