feat(search): add local meta search wrapper

This commit is contained in:
zap
2026-03-10 19:55:44 +00:00
parent 610f2e40b8
commit 1de793fb8d
2 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
---
name: local-meta-search
description: Search via local SearXNG first and automatically fall back to the local Brave MCP service when SearXNG is unavailable or weak. Use for normal web lookups when privacy/local-first search is preferred.
metadata:
openclaw:
requires:
bins: ["bash", "jq", "mcporter", "bb"]
emoji: "🧭"
---
# Local Meta Search
## Policy
1. Try **SearXNG first**.
2. If SearXNG fails or returns weak/empty output, try **Brave MCP**.
3. Clearly label which backend produced the final results.
## Backends
- SearXNG: `skills/searxng-local-search/scripts/search.sh`
- Brave MCP: `skills/brave-mcp-search/scripts/search.sh`
## Quick usage
```bash
scripts/search.sh "query"
```
Optional JSON options:
```bash
scripts/search.sh "query" '{"count":5}'
```
Options are passed through as best-effort to the underlying backend.