Install
openclaw skills install iyeque-unified-web-searchPick the best source (Tavily, Web Search Plus, Browser, or local files) for a query, run the search, and return ranked results with provenance.
openclaw skills install iyeque-unified-web-searchIntelligently select the best search source, aggregate results, and return ranked answers with provenance.
All search queries are validated and sanitized:
Perform a unified search across multiple sources.
query (string, required): The search query (alphanumeric, spaces, basic punctuation only)sources (array of strings, optional): Array of sources to search. Defaults to ['tavily', 'web-search-plus', 'local']. Options: tavily, web-search-plus, browser, local.max_results (integer, optional): Maximum number of results to return. Defaults to 5.Usage:
# Search all sources
node skills/unified-web-search/index.js --query "my search term" --max_results 10
# Search specific sources
node skills/unified-web-search/index.js --query "AI developments" --sources '["tavily", "local"]' --max_results 10
# Search local files only
node skills/unified-web-search/index.js --query "meeting notes" --sources '["local"]'
The skill aggregates results from multiple sources:
TAVILY_API_KEY)Results are scored and ranked by relevance, then returned with source attribution in JSON format.
[
{
"source": "tavily",
"title": "Article Title",
"url": "https://example.com/article",
"score": 0.95,
"content": "Brief excerpt from the article..."
},
{
"source": "local",
"title": "/path/to/file.txt",
"snippet": "Found query in filename: file.txt",
"score": 0.5
}
]
TAVILY_API_KEY: Required for Tavily search functionality. Get your key at https://app.tavily.com$ node skills/unified-web-search/index.js --query "climate change" --max_results 3
[
{
"source": "tavily",
"title": "IPCC Climate Report 2024",
"url": "https://ipcc.ch/report",
"score": 0.92,
"content": "The latest IPCC report shows..."
},
{
"source": "tavily",
"title": "Climate Action Tracker",
"url": "https://climateactiontracker.org",
"score": 0.87,
"content": "Tracking government climate commitments..."
},
{
"source": "local",
"title": "/home/user/.openclaw/workspace/memory/climate-notes.md",
"snippet": "Found query in filename: climate-notes.md",
"score": 0.5
}
]