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

skill-retrieval-gate技能检索门

Agent Skill

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

总安装

3,763

周安装

160

GitHub Stars

公开资料未说明

下载量

1,318
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install skill-retrieval-gate

简介

决定是否在执行前运行内存搜索以减少令牌消耗。

  • 适用于需要检索增强但不想强制每次检索的场景。
  • 通过 clawhub 安装,可智能判断检索必要性。
  • 建议根据任务复杂度设置合理的检索阈值。skill-retrieval-gate 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 注意搜索结果需二次验证,避免引用过期或错误资料。

SKILL.md

name
skill-retrieval-gate
description
Decide whether to run memory_search before following another skill or workflow, so the agent can reduce token usage without forcing retrieval on every task. Use when a task may depend on local knowledge, project history, prior decisions, user preferences, or existing notes, and you need a lightweight rule for when to retrieve, how to query, how much context to load, and when to fall back. Typical triggers include requests like: continue previous work, use project memory first, check what we already documented, base this on existing notes, or decide whether retrieval is worth it before following the skill.

Skill Retrieval Gate

Goal

Use this skill to decide whether the current task should query memory_search before following another skill or workflow.

This skill is for retrieval judgment, not mandatory retrieval.

Core rule

Do not make every skill query memory first.

Instead:

  1. Judge whether the task depends on local knowledge or history
  2. Retrieve only when that dependency is real
  3. Load only a few high-signal results
  4. Fall back immediately if retrieval is weak, unavailable, or unnecessary

Example triggers

This skill is especially useful for requests like:

  • continue the previous work on this project
  • check what we already documented before you proceed
  • use project memory first if this depends on earlier decisions
  • decide whether retrieval is worth it before following the skill
  • base this on existing notes instead of asking me again

Workflow

1. Decide whether retrieval is needed

Use decision-flow when the request may depend on:

  • project history
  • prior decisions
  • local knowledge bases
  • user-specific preferences
  • previously organized notes

2. Judge the skill tier

Use skill-tiering to classify the current skill or task into:

  • retrieval-first
  • retrieval-optional
  • retrieval-usually-skip

3. Build the query

Use query-construction to build a compact query from:

  • task object
  • task type
  • key module, symptom, or entity

4. Keep the result set small

Use result-trimming to limit context expansion.

Default rule:

  • fetch top 1-3 results first
  • only expand deeper when clearly needed

5. Fall back fast

Use fallback-rules if retrieval is empty, noisy, low-confidence, unavailable, or unnecessary.

Anti-patterns

Avoid these mistakes:

  • forcing retrieval for every task
  • copying the entire user prompt into memory_search
  • expanding every hit just because it matched
  • dragging weak or stale snippets into later reasoning
  • treating retrieval failure as a blocker instead of falling back

Output expectation

After using this skill, the agent should be able to answer:

  • Should I call memory_search for this task?
  • What query should I use?
  • How many results should I keep?
  • Should I fall back to the original skill flow immediately?

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

96.33%
按下载量换算1,270

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills