aboutsummaryrefslogtreecommitdiff
path: root/skills/web-search-and-fetch.json
diff options
context:
space:
mode:
Diffstat (limited to 'skills/web-search-and-fetch.json')
-rw-r--r--skills/web-search-and-fetch.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/skills/web-search-and-fetch.json b/skills/web-search-and-fetch.json
new file mode 100644
index 0000000..4e1adb8
--- /dev/null
+++ b/skills/web-search-and-fetch.json
@@ -0,0 +1,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-06-06T02:32:54.006Z",
+ "updated": "2026-06-06T04:17:00.189Z",
+ "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"
+} \ No newline at end of file