Tavily Web Search
Real-time web search using Tavily API optimized for AI agents. Use when you need current information, recent news, factual research, competitive analysis, or...
Patrick
@moochmaniac
What This Skill Does
Performs real-time web searches via the Tavily API, returning structured results with URLs, content snippets, relevance scores, and optional AI-generated answers. Supports basic and advanced search depths, image inclusion, and raw JSON output for programmatic use.
Replaces manual web browsing and generic search APIs by delivering AI-optimized, structured results with relevance scoring and optional summarization.
When to Use It
- Search for recent news or updates beyond your training cutoff
- Fact-check claims or verify information from multiple sources
- Conduct competitive analysis or market research on a specific topic
- Find documentation, tutorials, or resources for a technical subject
- Monitor news or trends on a recurring topic with structured results
- Gather image URLs alongside search results for visual research
Install
$ openclaw skills install @moochmaniac/moochmaniac-tavily-searchTavily Search
Web search powered by Tavily API, optimized for AI agent consumption with structured, relevant results.
When to Use
- User asks for current/recent information beyond training cutoff
- Research tasks requiring multiple sources
- Fact-checking or verification
- Competitor analysis, market research
- News and updates on specific topics
- Finding documentation or resources
Quick Start
Basic search (5 results):
python3 scripts/search.py "your query here"
With options:
# Fewer results
python3 scripts/search.py "AI agents" --max-results 3
# AI-generated answer
python3 scripts/search.py "what is OpenClaw" --answer
# Advanced search (deeper crawling)
python3 scripts/search.py "casino bonuses" --depth advanced
# Include images
python3 scripts/search.py "WordPress themes" --images
# Raw JSON output
python3 scripts/search.py "n8n automation" --json
Parameters
- query (required): Search query string
--max-results N: Number of results (1-10, default 5)--depth: Search depthbasic(default): Fast, good for most queriesadvanced: Deeper crawling, more comprehensive
--answer: Include AI-generated answer summary--images: Include relevant image URLs--json: Output raw JSON instead of formatted text
Output Structure
Formatted output includes:
- Query and response time
- AI-generated answer (if requested)
- Search results with:
- Title and URL
- Relevance score (0-1)
- Content snippet (truncated to 300 chars)
- Images (if requested)
JSON output provides full Tavily API response for programmatic use.
API Key Setup
The script looks for the Tavily API key in:
workspace/secrets/tavily_api_key(OpenClaw workspace)secrets/tavily_api_key(relative to current directory)TAVILY_API_KEYenvironment variable
Current key is stored at: workspace/secrets/tavily_api_key
Examples
Research task:
python3 scripts/search.py "WordPress plugin security best practices 2026" --max-results 5 --answer
Quick fact check:
python3 scripts/search.py "OpenClaw GitHub repository" --max-results 3
Competitive analysis:
python3 scripts/search.py "top casino affiliate sites" --depth advanced --max-results 10
News monitoring:
python3 scripts/search.py "AI agent frameworks January 2026" --answer
Tips
- Use specific queries for better results
--answeris useful for summarization tasks--depth advancedfor comprehensive research (uses more API credits)- Relevance scores help identify best sources
--jsonoutput is useful for parsing and processing results programmatically
Top skills in this category
Multi Search Engine
@gpyangyoujunMulti search engine integration with 16 engines (7 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and Wolfra...
Agent Browser
@matrixyHeadless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
Openai Whisper
@steipeteLocal speech-to-text with the Whisper CLI (no API key).
Tavily 搜索
@jacky1n7Web search via Tavily API (alternative to Brave). Use when the user asks to search the web / look up sources / find links and Brave web_search is unavailable...
Baidu web search
@ide-reaSearch the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.