aboutsummaryrefslogtreecommitdiff
path: root/skills/web-search-and-fetch.json
blob: 49c4dd564bd701113a56674cb211dfb47e1b194d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "name": "web-search-and-fetch",
  "description": "How to search the web and fetch URL content using the WebX11 proxy API",
  "tags": [
    "search",
    "fetch",
    "web",
    "proxy",
    "api"
  ],
  "category": "research",
  "created": "2026-07-06T00:13:29.403Z",
  "updated": "2026-07-06T00:13:29.403Z",
  "content": "---\nname: web-search-and-fetch\ndescription: How to search the web and fetch URL content using the WebX11 proxy API\ntags: [search, fetch, web, proxy, api]\ncategory: research\n---\n## Steps\n1. **Search the web:**\n   - Use search <query> or web_search(query) — uses /api/search which queries SearXNG + DDG fallback\n   - Results include: title, url, content snippet, source engine\n   - Always available (same-origin, no CORS issues)\n   - 5-minute server-side cache for repeated queries\n   - Alternative: use ddg or duck <query> for DuckDuckGo direct, or s <query> as alias\n\n2. **Fetch URL content:**\n   - Use fetch <url> or web_fetch(url) — uses /api/extract which strips HTML, extracts clean text\n   - Returns: title, content (up to 4000 chars), word_count, extraction method\n   - SSRF protection blocks internal network addresses\n   - 15-minute server-side cache\n\n3. **Search flags (via terminal search command):**\n   - search <query> --summarize — adds AI-generated overview via Ollama\n   - search <query> --fetch — fetches content snippets for top 3 results\n\n4. **When to use:**\n   - User asks about current events, facts, research → use search <query>\n   - User says \"read this article\" or provides a URL → use fetch <url>\n   - For in-depth analysis: search first, then fetch top results"
}