agents/skills/web-search/SKILL.md
Web search, content extraction, and research via multiple providers (Tavily, Exa, Brave, etc.). Use when searching for documentation, facts, current information, extracting content from URLs, fetching pages, finding similar pages, getting direct answers to questions, or finding code examples. Triggers on "search for", "look up", "find information", "extract content", "fetch page", "search the web", "research", or any web lookup task.
npx skillsauth add juanibiapina/dotfiles web-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Multi-provider web search and content extraction via the websearch CLI.
websearch search "query" # Search (default: Tavily)
websearch search "query" -p brave # Specific provider
websearch search "query" -n 10 # More results (default: 5)
websearch search "query" --content # Include page content
websearch search "query" --freshness week # Filter: day, week, month, year
websearch search "query" --country DE # Country-specific results
websearch search "query" -p serpapi --engine google_scholar # SerpAPI engine
websearch extract "https://example.com/article"
websearch extract "https://docs.rust-lang.org/book/ch04-01-what-is-ownership.html"
Extraction is always local (fetches HTML, parses with Readability, converts to markdown). No API credits used.
websearch answer "What is the latest version of Node.js?"
websearch answer "latest React version" -p exa
websearch similar "https://example.com/article" # Exa only
websearch similar "https://example.com/article" -n 10
websearch code "React hooks state management" # Exa only
websearch code "Express.js middleware authentication"
All commands support --json for raw JSON output.
| Provider | Best for | Free tier | |---|---|---| | tavily | General AI-optimized search, answers | 1,000/month | | exa | Semantic search, similar pages, code context | 1,000/month | | websearchapi | Google-powered search, generous quota | 2,000/month | | brave | Independent index, privacy-focused | ~1,000/month | | serpapi | YouTube, Scholar, Amazon (40+ engines) | 100/month |
Defaults: search→tavily, extract→local, answer→tavily, similar→exa, code→exa
similar and code commands.-p serpapi --engine youtube for video tutorials, --engine google_scholar for academic papers, --engine google_news for news.Each provider needs an API key as an environment variable. Only configure the ones you use:
TAVILY_API_KEY # https://app.tavily.com
EXA_API_KEY # https://dashboard.exa.ai
WEBSEARCHAPI_KEY # https://websearchapi.ai
BRAVE_API_KEY # https://api-dashboard.search.brave.com
SERPAPI_KEY # https://serpapi.com/manage-api-key
--content to include page text in search results (avoids a separate extract call)answer for factual questions. Returns a direct answer with sources.similar to discover related pages from a known good URLcode to find real working code examples instead of relying on training dataextract to read long documentation pages (free, no API credits)-p serpapi --engine youtube to search YouTube, or --engine google_scholar for papers-pdevelopment
Use before starting work on any coding task: implementing a feature, fixing a bug, refactoring, or changing code. Drives the complete implementation.
development
Use when writing code plans, architecture, or generally discussing code
testing
Use when writing, reviewing, or improving tests, deciding what to mock, or designing interfaces for testability.
development
Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.