Token导航 LogoToken导航

Agent Skill · 研究检索

workspace-local-retrieval(工作区本地检索)

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

workspace-local-retrieval 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 25,156。

总安装 3,834周安装 163GitHub Stars 公开资料未说明下载 1,343核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install workspace-local-retrieval

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

工作区本地检索为 OpenClaw 构建边界优先的 RAG 系统。使用显式语料库和拒绝代理访问默认策略。支持向量检索和来源引用展示。需手动维护语料库更新频率。workspace-local-retrieval 属于研究检索类 Skill,可作为该场景下的辅助能力补充。避免将未命中结果包装为确定事实。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install workspace-local-retrieval;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

workspace-local-retrieval 怎么安装?

在终端执行 openclaw skills install workspace-local-retrieval。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

workspace-local-retrieval 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

workspace-local-retrieval 需要什么权限?

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

workspace-local-retrieval 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

workspace-local-retrieval 用的人多吗?

公开数据是累计安装 3,834 次,近一周安装 163 次,下载 1,343 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

workspace-local-retrieval 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
workspace-local-retrieval

工作区本地检索 · 本页

3,834—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
workspace-local-retrieval
description
Build a local-first retrieval architecture for an OpenClaw workspace with explicit corpus boundaries, deny-by-default agent access, separate personal-memory vs workspace-knowledge layers, stable agent-facing search interfaces, and maintenance-aware refresh workflows. Use when a user wants to: (1) add local RAG without indexing everything, (2) separate personal memory from reusable workspace retrieval, (3) define agent-scoped access to different corpora, (4) package a retrieval system as a reusable skill rather than private glue code, (5) add explainable status / refresh workflows, or (6) turn a one-off local search setup into a safer multi-agent retrieval pattern.

Workspace Local Retrieval

Package retrieval as architecture, not ad-hoc glue.

This skill exists for a common failure mode in local RAG systems: indexing grows faster than boundary discipline. The result is usually a system that can sometimes retrieve relevant text, but cannot clearly answer:

  • what should be searchable
  • which agent should see which corpus
  • what belongs in personal memory versus workspace knowledge
  • how freshness should be maintained over time

Prefer this skill when the goal is workspace knowledge retrieval, not personal memory recall. Keep those layers separate.

Single-command npm install

This skill also ships as an npm-friendly CLI. Install it with one line (npm install -g workspace-local-retrieval) or run it on-demand via npx workspace-local-retrieval install. The CLI wraps the existing Python helpers (scripts/check_retrieval_prereqs.py + scripts/bootstrap_workspace_retrieval.py), so the install command performs a safety check, writes the retrieval/config templates, and hints at the next refresh/index steps. Run workspace-local-retrieval check anytime for a standalone prerequisite report.

Core workflow

  1. Run a preflight gate before any retrieval work

- Run scripts/check_retrieval_prereqs.py before bootstrap, indexing, embedding refresh, or search. - Classify findings into: - required: must exist before execution - recommended: may proceed with warning - optional: capability upgrade only - Treat missing required prerequisites as a hard stop. - Do not continue into retrieval execution when the environment is not ready. - Read references/dependencies-and-platforms.md when deciding what is required on the current OS.

  1. Decide the boundary model first

- Use built-in memory tools for personal continuity (MEMORY.md, memory/*.md). - Use this skill's retrieval pattern for workspace knowledge, docs, skills, plans, schemas, and agent-specific materials. - Do not merge personal notes into a general retrieval corpus unless the user explicitly wants that and understands the privacy tradeoff.

  1. Design corpora before indexing

- Split knowledge into small allowlisted corpora. - Prefer domain or workspace boundaries over one giant corpus. - Exclude runtime state, secrets, private notes, vector DB artifacts, build outputs, and caches. - Read references/privacy-and-boundaries.md before writing config.

  1. Define agent access explicitly

- Use deny-by-default agent retrieval policy. - Allow each agent to see only the corpora it needs. - Use separate memory-boundary rules for personal memory vs domain memory. - Read references/agent-scoping.md when creating agent rules.

  1. Bootstrap templates safely

- Run scripts/bootstrap_workspace_retrieval.py --dest <dir> to generate sanitized starter templates. - The script creates template config files only. It does not read external services, call the network, or ingest private data. - Read references/runtime-layout.md and references/dependencies-and-platforms.md before claiming the setup is runnable. - Run scripts/check_retrieval_prereqs.py before wiring indexing or embedding backends.

  1. Implement retrieval entrypoints

- Keep one stable wrapper for agent-facing search. - Make the wrapper responsible for corpus allowlist checks. - Keep indexing / embeddings / scoring internals behind the wrapper. - Read references/interface-contract.md for a recommended contract.

  1. Add freshness + maintenance

- Track corpus fingerprints or file signatures. - Prefer selective refresh when only a small set of files changed. - Fall back to full rebuild only when needed. - Read references/maintenance-patterns.md for a production-friendly approach.

  1. Validate with smoke tests

- Test at least: - one broad query - one corpus-specific query - one agent allowlist denial - one changed-file refresh path - Do not claim retrieval is ready because indexing succeeded once.

  1. Handle missing prerequisites explicitly

- If a required prerequisite is missing and the user has not authorized installation or environment changes: - stop - say the skill is currently unavailable - list the missing prerequisites - tell the user what must be installed or configured first - If a required prerequisite is missing and the user does want the environment prepared: - create a task plan first - make the plan OS-specific when needed - install or configure dependencies - update config and documentation to reflect the chosen backend and runtime - rerun scripts/check_retrieval_prereqs.py - continue only after the required checks pass - Use this rule consistently for macOS, Linux, and Windows. Do not pretend portability removes the need for explicit checks.

Recommended file layout

Use this skill as a pattern, not a rigid requirement.

retrieval/
  config/
    corpora.json
    agent_corpora.json
    agent_memory.json
    backend.json
  scripts/
    workspace_search.mjs
    build_index.py
    build_embeddings.mjs
    retrieval_status.py
    refresh_incremental.py
  indexes/
    workspace_retrieval.sqlite

If the workspace already has a retrieval system, adapt the layout instead of forcing a rewrite.

Defaults worth keeping

  • local-first storage
  • allowlisted corpora
  • deny-by-default agent access
  • personal memory separate from workspace retrieval
  • minimal indexed file extensions
  • explicit exclude globs
  • incremental refresh before full rebuild
  • one stable wrapper for agent-facing search

When to read references

  • Read references/privacy-and-boundaries.md for safe corpus design and exclusions.
  • Read references/agent-scoping.md when mapping corpora and memory roots to agents.
  • Read references/interface-contract.md when building or reviewing the agent-facing search wrapper.
  • Read references/maintenance-patterns.md when adding status checks, selective refresh, and smoke tests.
  • Read references/example-templates.md when you need sanitized starter JSON examples.
  • Read references/dependencies-and-platforms.md when the user wants concrete runtime dependencies, embedding backend choices, or cross-platform guidance.
  • Read references/preflight-and-install-policy.md when deciding whether the skill is runnable now, blocked, or should first produce an installation task plan.
  • Read references/runtime-layout.md when the user wants a more runnable implementation footprint.
  • Read references/design-rationale.md when the user needs the architectural thesis, tradeoffs, or public-facing positioning.
  • Read references/sanitized-demo.md when the user wants a safe walkthrough or publishable example.
  • Read references/publish-readiness-checklist.md before packaging or publicly promoting the skill.

Practical guidance

  • Prefer fewer, clearer corpora over many overlapping ones.
  • Avoid indexing secrets, credentials, private journals, logs, and generated artifacts.
  • If two agents need different trust levels, separate their corpora even if the docs overlap.
  • If retrieval results look noisy, improve corpus design before tuning ranking weights.
  • If privacy matters, treat boundary design as a first-class feature, not cleanup later.
  • Treat prerequisite checks as part of the runtime contract, not as optional setup advice.
  • The npm-friendly CLI is the simplest user entry point: workspace-local-retrieval install bootstraps the templates, workspace-local-retrieval check reports missing requirements, and both commands accept --dest, --workspace-root, and --force switches for customization.
  • No required prerequisites, no execution.
  • If installation is needed, prefer a short task plan over ad-hoc shell improvisation.
  • After installation or config changes, rerun preflight checks before claiming the skill is ready.

Output expectations

When using this skill for a user request, produce some or all of the following depending on scope:

  • sanitized corpus config
  • agent allowlist config
  • memory-boundary config
  • search wrapper contract
  • maintenance workflow
  • smoke-test checklist
  • packaging-ready skill contents when the user wants distribution

平台分布

OpenClaw

90.98%
按下载量换算1,222

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills