web-search-plus
Unified search skill with Intelligent Auto-Routing. Uses multi-signal analysis to automatically select between Serper (Google), Tavily (Research), and Exa (Neural) with confidence scoring.
What this skill does
# Web Search Plus
Multi-provider web search with **Intelligent Auto-Routing**: Serper (Google), Tavily (Research), Exa (Neural).
**NEW in v2.3.0**: Interactive setup wizard! Run `python3 scripts/setup.py` for guided configuration.
**NEW in v2.2.5**: Automatic error fallback โ if one provider fails (rate limit, timeout, etc.), automatically tries the next provider in priority order!
---
## ๐ First Run (Setup Wizard)
New to web-search-plus? The interactive setup wizard guides you through configuration:
```bash
python3 scripts/setup.py
```
The wizard will:
1. **Explain each provider** โ What they're best for, free tier limits, signup links
2. **Ask which providers to enable** โ You can use 1, 2, or all 3
3. **Collect API keys** โ Keys are stored locally in `config.json` (gitignored)
4. **Configure defaults** โ Default provider, auto-routing, result count
### What Each Provider Is Best For
| Provider | Best For | Free Tier |
|----------|----------|-----------|
| **Serper** | Google results, shopping, prices, local businesses, news | 2,500/month |
| **Tavily** | Research questions, explanations, academic, full-page content | 1,000/month |
| **Exa** | Semantic search, "similar to X", startup discovery, papers | 1,000/month |
### Reconfigure Anytime
```bash
python3 scripts/setup.py --reset
```
---
## ๐ API Keys Setup (Manual)
**NEW in v2.2.0**: The script **auto-loads** API keys from `.env` in the skill directory!
### Quick Setup
**Option A: .env file** (recommended)
```bash
# /path/to/skills/web-search-plus/.env
export SERPER_API_KEY="your-key" # https://serper.dev
export TAVILY_API_KEY="your-key" # https://tavily.com
export EXA_API_KEY="your-key" # https://exa.ai
```
**Option B: config.json** (NEW in v2.2.1)
```bash
# Copy the example config
cp config.example.json config.json
```
Then add your keys:
```json
{
"serper": { "api_key": "your-serper-key" },
"tavily": { "api_key": "your-tavily-key" },
"exa": { "api_key": "your-exa-key" }
}
```
โ ๏ธ `config.json` is gitignored โ your keys stay safe!
Just run โ keys load automatically:
```bash
python3 scripts/search.py -q "your query"
# No need for 'source .env' anymore! โจ
```
**Priority:** config.json > .env > environment variable
### Get Free API Keys
| Provider | Free Tier | Sign Up |
|----------|-----------|---------|
| Serper | 2,500 queries/mo | https://serper.dev |
| Tavily | 1,000 queries/mo | https://tavily.com |
| Exa | 1,000 queries/mo | https://exa.ai |
---
## โ ๏ธ Don't Modify Core OpenClaw Config
**Tavily, Serper, and Exa are NOT core OpenClaw providers.**
โ **DON'T** add to `~/.openclaw/openclaw.json`:
```json
"tools": { "web": { "search": { "provider": "tavily" }}} // WRONG!
```
โ
**DO** use this skill's scripts โ keys auto-load from `.env`
Core OpenClaw only supports `brave` as the built-in web search provider. This skill adds Serper, Tavily, and Exa as **additional** options via its own scripts.
---
## ๐ง Intelligent Auto-Routing
No need to choose a provider โ just search! The skill uses **multi-signal analysis** to understand your query intent:
```bash
# These queries are intelligently routed with confidence scoring:
python3 scripts/search.py -q "how much does iPhone 16 cost" # โ Serper (68% MEDIUM)
python3 scripts/search.py -q "how does quantum entanglement work" # โ Tavily (86% HIGH)
python3 scripts/search.py -q "startups similar to Notion" # โ Exa (76% HIGH)
python3 scripts/search.py -q "MacBook Pro M3 specs review" # โ Serper (70% HIGH)
python3 scripts/search.py -q "explain pros and cons of React" # โ Tavily (85% HIGH)
python3 scripts/search.py -q "companies like stripe.com" # โ Exa (100% HIGH)
```
### How It Works
The routing engine analyzes multiple signals:
#### ๐ Shopping Intent โ Serper
| Signal Type | Examples | Weight |
|-------------|----------|--------|
| Price patterns | "how much", "price of", "cost of" | HIGH |
| Purchase intent | "buy", "purchase", "order", "where to buy" | HIGH |
| Deal signals | "deal", "discount", "cheap", "best price" | MEDIUM |
| Product + Brand | "iPhone 16", "Sony headphones" + specs/review | HIGH |
| Local business | "near me", "restaurants", "hotels" | HIGH |
#### ๐ Research Intent โ Tavily
| Signal Type | Examples | Weight |
|-------------|----------|--------|
| Explanation | "how does", "why does", "explain", "what is" | HIGH |
| Analysis | "compare", "pros and cons", "difference between" | HIGH |
| Learning | "tutorial", "guide", "understand", "learn" | MEDIUM |
| Depth | "in-depth", "comprehensive", "detailed" | MEDIUM |
| Complex queries | Long, multi-clause questions | BONUS |
#### ๐ Discovery Intent โ Exa
| Signal Type | Examples | Weight |
|-------------|----------|--------|
| Similarity | "similar to", "alternatives to", "competitors" | VERY HIGH |
| Company discovery | "companies like", "startups doing", "who else" | HIGH |
| URL detection | Any URL or domain (stripe.com) | VERY HIGH |
| Academic | "arxiv", "research papers", "github projects" | HIGH |
| Funding | "Series A", "YC", "funded startup" | HIGH |
### Confidence Scoring
Every routing decision includes a confidence level:
| Confidence | Level | Meaning |
|------------|-------|---------|
| 70-100% | **HIGH** | Strong signal match, very reliable |
| 40-69% | **MEDIUM** | Good match, should work well |
| 0-39% | **LOW** | Ambiguous query, using fallback |
### Debug Routing Decisions
See the full analysis:
```bash
python3 scripts/search.py --explain-routing -q "how much does iPhone 16 Pro cost"
```
Output:
```json
{
"query": "how much does iPhone 16 Pro cost",
"routing_decision": {
"provider": "serper",
"confidence": 0.68,
"confidence_level": "medium",
"reason": "moderate_confidence_match"
},
"scores": {"serper": 7.0, "tavily": 0.0, "exa": 0.0},
"top_signals": [
{"matched": "how much", "weight": 4.0},
{"matched": "brand + product detected", "weight": 3.0}
],
"query_analysis": {
"word_count": 7,
"is_complex": false,
"has_url": null,
"recency_focused": false
}
}
```
---
## ๐ When to Use This Skill vs Built-in Brave Search
### Use **Built-in Brave Search** when:
- โ
General web searches (news, info, questions)
- โ
Privacy is important
- โ
Quick lookups without specific requirements
### Use **web-search-plus** when:
#### โ **Serper** (Google results):
- ๐๏ธ **Product specs, prices, shopping** - "Compare iPhone 16 vs Samsung S24"
- ๐ **Local businesses, places** - "Best pizza in Berlin"
- ๐ฏ **"Google it"** - Explicitly wants Google results
- ๐ฐ **Shopping/images/news** - `--type shopping/images/news`
- ๐ **Knowledge Graph** - Structured info (prices, ratings, etc.)
#### โ **Tavily** (AI-optimized research):
- ๐ **Research questions** - "How does quantum computing work?"
- ๐ฌ **Deep dives** - Complex multi-part questions
- ๐ **Full page content** - Not just snippets (`--raw-content`)
- ๐ **Academic research** - Synthesized answers
- ๐ **Domain filtering** - `--include-domains` for trusted sources
#### โ **Exa** (Neural semantic search):
- ๐ **Similar pages** - "Sites like OpenAI.com" (`--similar-url`)
- ๐ข **Company discovery** - "AI companies like Anthropic"
- ๐ **Research papers** - `--category "research paper"`
- ๐ป **GitHub projects** - `--category github`
- ๐
**Date-specific** - `--start-date` / `--end-date`
---
## Provider Comparison
| Feature | Serper | Tavily | Exa |
|---------|:------:|:------:|:---:|
| Speed | โกโกโก | โกโก | โกโก |
| Factual Accuracy | โญโญโญ | โญโญโญ | โญโญ |
| Semantic Understanding | โญ | โญโญ | โญโญโญ |
| Research Quality | โญโญ | โญโญโญ | โญโญ |
| Full Page Content | โ | โ | โ |
| Shopping/Local | โ | โ | โ |
| Similar Pages | โ | โ | โ |
| Knowledge Graph | โ | โ | โ |
---
## Usage Examples
### Auto-Routed (Recommended)
```bash
python3 scripts/search.py -q "iPhone 16 Pro Max price" # โ Serper
python3 scripts/search.py -q "how does HTTPS encryption work" # โ Tavily
python3 scripts/search.py -q "startups similRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.