360 Secure SkillHub
360 安全技能中心

Unified Web Search

通过 Node 命令行脚本统一执行检索:选择 tavily 来源时调用 Tavily 网页搜索(需 API Key,查询会上传),选择 local 来源时在 workspace 的 memory/ 与 skills/ 目录内做有界搜索;结果以 JSON 输出到 stdout,警告输出到 stderr,包含来源标签、标题、URL、评分与片段。

iyeque
iyeque
热度 60.17
最近更新 2026-10-10 08:05:05
分类:搜索依赖:代码执行 / 第三方 API / 读写文件应用场景:研究 / 笔记整理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add iyeque-unified-web-search
Metadata
name
unified-web-search
description
Evidence-first web and workspace search with bounded results, source labels, and machine-readable provenance. Use for research questions, current facts, or finding content in local memory and skills.
license
MIT-0
metadata
{"openclaw":{"emoji":"🔍","requires":{"bins":["node"]},"version":"1.3.2"}}

Evidence-first unified search

Use index.js when a task needs web retrieval plus a bounded search of local memory/ and skills/ content. Results are JSON on stdout; warnings are JSON on stderr so callers can preserve provenance.

Quick start

node index.js --query "latest climate policy" --sources '["tavily"]' --allow-network --max_results 5
node index.js --query "meeting notes" --sources '["local"]' --allow-local --max_results 10
node index.js --query "AI developments" --sources '["tavily","local"]' --max_results 10

Trust and scope

  • tavily requires TAVILY_API_KEY and sends the query to Tavily.
  • local searches only workspace memory/ and skills/, with bounded depth and file size.
  • Symlinked files and directories are skipped; binary/unreadable files are ignored.
  • web-search-plus and browser are accepted for compatibility but report that they are not configured rather than pretending to search them.
  • Queries are trimmed and capped at 500 characters; max_results is 1–50.

Each result includes a source label, title, URL when available, score, and content/snippet. Treat network results as external evidence and verify important claims before relying on them.

Source and support

Source: https://github.com/iyeque/openclaw-skills/tree/main/skills/unified-web-search

Report bugs and security concerns through the repository issue guidance.