360 Secure SkillHub
360 安全技能中心

Unified Web Search

该技能用于在网页与本地 memory/、skills/ 目录中进行范围受限的检索,强调证据来源和可机读溯源。适合回答研究问题、核实最新事实、查找本地记忆或技能内容。通过 index.js 调用,输入查询、可选 max-results 等参数;输出 stdout JSON,含结果、来源标签与元数据。需 Node,网页检索可能需 TAVILY_API_KEY,结果应作为外部证据核实。

iyeque
iyeque
热度 60.18
最近更新 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.