Install
openclaw skills install @ucsdzehualiu/free-smart-web-searchSmart web search with auto region detection, query intent rewriting, and dual-tier content fetching. Works in both China and international networks.
openclaw skills install @ucsdzehualiu/free-smart-web-searchIntelligent web search with region auto-detection, query intent optimization, and dual-tier content extraction.
Rewrites common natural-language queries for better search results:
After search, auto-fetches top N page contents (default 3):
--filter flag excludes common low-signal domains (zhidao.baidu.com, jingyan.baidu.com, etc.)
All dependencies are installed upfront by the setup script. The skill never runs npm install or pip install at runtime.
| Dependency | Purpose | Size |
|---|---|---|
| Node.js >= 18 | Runtime | — |
| cheerio | HTML parsing | small |
| commander | CLI arg parsing | small |
| iconv-lite | GBK charset | small |
| playwright | Browser automation | ~50 MB |
| Chromium (Playwright) | Browser engine | ~150 MB |
# Linux / macOS
bash scripts/setup.sh
# Windows
powershell -File scripts/setup.ps1
Auto-detects region and uses npmmirror.com mirrors inside China.
cd skills/smart-web-search
npm install
npx playwright install chromium
# Verify
node scripts/check-env.js
Skip 150 MB download if you have system Chrome:
export CHROMIUM_EXECUTABLE_PATH="/path/to/chrome"
# Search with auto-fetch (top 3 pages)
node scripts/search.js "白银价格"
node scripts/search.js "how to deploy docker" --max=5
# Disable fetch (search only)
node scripts/search.js "xxx" --fetch=0
# Filter low-quality domains
node scripts/search.js "深圳旅游攻略" --filter
# Fetch specific URLs
node scripts/fetch.js "https://example.com/page1" "https://example.com/page2"
node scripts/check-env.js
node scripts/search.js "OpenClaw" --max 2 --fetch 0
Common issues:
node_modules not found → run npm installExecutable doesn't exist → run bash scripts/setup.sh or set CHROMIUM_EXECUTABLE_PATH