From pipellm-websearch
Use when you need to search the web, read web pages, or find current news. Provides 4 search tools via PipeLLM API with scenario-based selection guidance.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pipellm-websearch:pipellm-web-searchThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You have access to PipeLLM's web search capabilities through HTTP API calls. This skill teaches you **when** and **how** to use each search type effectively.
You have access to PipeLLM's web search capabilities through HTTP API calls. This skill teaches you when and how to use each search type effectively.
You SHOULD use web search when:
You should NOT search when:
Is this about CURRENT NEWS or BREAKING EVENTS?
→ Yes → News Search (/v1/websearch/search-news)
Do you have a SPECIFIC URL to read?
→ Yes → Web Reader (/v1/websearch/reader)
Do you just need QUICK FACTS or a list of URLs?
→ Yes → Simple Search (/v1/websearch/simple-search)
Do you need DEEP, THOROUGH content?
→ Yes → RAG Search (/v1/websearch/search)
| Scenario | Best Tool | Why |
|---|---|---|
| "What happened with OpenAI today?" | News Search | Current events need news-specific sources |
| "Read this article: https://..." | Web Reader | User gave a specific URL |
| "What's the latest version of React?" | Simple Search | Quick fact lookup, speed matters |
| "Find the official docs for X library" | Simple Search | Just need URLs, not deep content |
| "Research how companies use RAG in production" | RAG Search | Deep research needs extracted content |
| "Is this API claim accurate?" | RAG Search | Fact-checking needs thorough analysis |
| "What are people saying about Rust vs Go?" | RAG Search | Multi-source analysis |
| "Summarize this blog post at URL" | Web Reader | Reading a known page |
| "Find recent CVEs for log4j" | News Search | Security advisories are time-sensitive |
| "What's the stock price of AAPL?" | Simple Search | Real-time data, speed matters |
| Tool | Speed | Depth | Cost |
|---|---|---|---|
| Simple Search | ~1s ⚡ | Snippets only | $0.05 |
| RAG Search | ~5-15s | Full page content, reranked | $0.05 |
| Web Reader | ~3-10s | Full single page | $0.05 |
| News Search | ~5-15s | News articles, reranked | $0.05 |
Rule of thumb: Start with Simple Search when speed matters. Use RAG Search when you need thorough, reliable content. Use News Search for anything time-sensitive.
All endpoints use the same authentication pattern:
curl -H "Authorization: Bearer ${PIPELLM_API_KEY}" \
"https://api.pipellm.ai/v1/websearch/<endpoint>?q=<query>"
The API key starts with pipe- and can be obtained at console.pipellm.com.
GET /v1/websearch/search?q={query}
Google Search → Page Crawling → Cohere Embedding → Vector Retrieval → Reranking. Returns extracted, relevant passages from crawled pages.
GET /v1/websearch/simple-search?q={query}
Google Search via Serper. Returns search snippets and URLs directly. No crawling.
GET /v1/websearch/reader?url={url}
Fetches a web page and converts to clean Markdown. Handles JavaScript-rendered pages.
GET /v1/websearch/search-news?q={query}
Google News via Serper → Page Crawling → RAG pipeline. Optimized for news articles.
Search endpoints return:
{
"code": 200,
"message": "success",
"took_ms": 3200,
"data": {
"organic": [
{
"title": "Article Title",
"link": "https://example.com/article",
"snippet": "Brief description...",
"contexts": [
{ "idx": 0, "text": "Extracted relevant passage..." }
]
}
]
}
}
Web Reader returns:
{
"code": 200,
"message": "success",
"content": "# Page Title\n\nFull page content in Markdown..."
}
| HTTP Status | Meaning | Action |
|---|---|---|
| 401 / 403 | Invalid or expired API key | Ask user to check key at console.pipellm.com |
| 429 | Rate limited | Wait and retry |
| 500+ | Server error | Retry once, then inform user |
| Timeout | Search took too long | Try a more specific query |
"React Server Components streaming SSR" not "React""Python asyncio timeout handling best practices 2025""How to deploy Go service to Kubernetes with zero downtime""OpenAI GPT-5 release date announcement"For thorough research tasks, combine tools in stages:
encodeURIComponent() or urllib.parse.quote() to prevent injection.PIPELLM_API_KEY in outputs visible to the user or in URLs.If the API key is not configured and calls fail, guide the user:
pipe-)export PIPELLM_API_KEY=pipe-your-keynpx claudepluginhub pipellm-ai/pipellm-websearch-skill --plugin pipellm-websearchPerforms AI-optimized web searches via Tavily API, returning clean snippets for current information and news.
Executes web searches via Tavily, filters and extracts content inside Python so only curated results enter the context window. Activates on research queries like "search for", "look up", or "find".
Searches the web and extracts article content via the Tavily API, returning clean results with citations for real-time facts, news, or research. No browser needed.