allenpeng0705/envoymesh/tavily
- community
Checking that the SKILL.md file is still in the repository.
AI-optimized web search using Tavily Search API. Use when you need comprehensive web research, current events lookup, domain-specific search, or AI-generated answer summaries. Tavily is optimized for LLM consumption with clean structured results, answer generation, and raw content extraction. Best for research tasks, news queries, fact-checking, and gathering authoritative sources.
Install
npx vskill@latest install allenpeng0705/envoymesh/tavilySKILL.md
The same SKILL.md was published earlier as pr-e/openclaw-master-skills/tavily.
Tavily AI Search
Overview
Tavily is a search engine specifically optimized for Large Language Models and AI applications. Unlike traditional search APIs, Tavily provides AI-ready results with optional answer generation, clean content extraction, and domain filtering capabilities.
Key capabilities:
- AI-generated answer summaries from search results
- Clean, structured results optimized for LLM processing
- Fast (
basic) and comprehensive (advanced) search modes - Domain filtering (include/exclude specific sources)
- News-focused search for current events
- Image search with relevant visual content
- Raw content extraction for deeper analysis
Architecture
Quick Start
Basic Search
Advanced Search
Domain Filtering
With Images
Search Modes
Basic vs Advanced
| Mode | Speed | Coverage | Use Case | |
|---|---|---|---|---|
| basic | 1-2s | Good | Quick facts, simple queries | |
| advanced | 5-10s | Excellent | Research, complex topics, comprehensive analysis |
Decision tree:
- Need a quick fact or definition? → Use
basic - Researching a complex topic? → Use
advanced - Need multiple perspectives? → Use
advanced - Time-sensitive query? → Use
basic
General vs News
| Topic | Time Range | Sources | Use Case | |
|---|---|---|---|---|
| general | All time | Broad web | Evergreen content, tutorials, documentation | |
| news | Last 7 days | News sites | Current events, recent developments, breaking news |
Decision tree:
- Query contains "latest", "recent", "current", "today"? → Use
news - Looking for historical or evergreen content? → Use
general - Need up-to-date information? → Use
news
API Key Setup
Option 1: Clawdbot Config (Recommended)
Add to your Clawdbot config:
Access in scripts via Clawdbot's config system.
Option 2: Environment Variable
Add to ~/.clawdbot/.env or your shell profile.
Getting an API Key
- Visit https://tavily.com
- Sign up for an account
- Navigate to your dashboard
- Generate an API key (starts with
tvly-) - Note your plan's rate limits and credit allocation
Common Use Cases
1. Research & Fact-Finding
2. Current Events
3. Domain-Specific Research
4. Visual Research
5. Content Extraction
Response Handling
AI Answer
The AI-generated answer provides a concise summary synthesized from search results:
Use when:
- Need a quick summary
- Want synthesized information from multiple sources
- Looking for a direct answer to a question
Skip when (--no-answer):
- Only need source URLs
- Want to form your own synthesis
- Conserving API credits
Structured Results
Each result includes:
title: Page titleurl: Source URLcontent: Extracted text snippetscore: Relevance score (0-1)raw_content: Full HTML (if--raw-contentenabled)
Images
When --images is enabled, returns URLs of relevant images found during search.
Best Practices
1. Choose the Right Search Depth
- Start with
basicfor most queries (faster, cheaper) - Escalate to
advancedonly when: - Initial results are insufficient
- Topic is complex or nuanced
- Need comprehensive coverage
2. Use Domain Filtering Strategically
Include domains for:
- Academic research (
.edudomains) - Official documentation (official project sites)
- Trusted news sources
- Known authoritative sources
Exclude domains for:
- Known low-quality content farms
- Irrelevant content types (Pinterest for non-visual queries)
- Sites with paywalls or access restrictions
3. Optimize for Cost
- Use
basicdepth as default - Limit
max_resultsto what you'll actually use - Disable
include_raw_contentunless needed - Cache results locally for repeated queries
4. Handle Errors Gracefully
The script provides helpful error messages:
Integration Patterns
Programmatic Usage
JSON Output for Parsing
Chaining with Other Tools
Comparison with Other Search APIs
vs Brave Search:
- ✅ AI answer generation
- ✅ Raw content extraction
- ✅ Better domain filtering
- ❌ Slower than Brave
- ❌ Costs credits
vs Perplexity:
- ✅ More control over sources
- ✅ Raw content available
- ✅ Dedicated news mode
- ≈ Similar answer quality
- ≈ Similar speed
vs Google Custom Search:
- ✅ LLM-optimized results
- ✅ Answer generation
- ✅ Simpler API
- ❌ Smaller index
- ≈ Similar cost structure
Troubleshooting
Script Won't Run
API Key Issues
Rate Limit Errors
- Check your plan's credit allocation at https://tavily.com
- Reduce
max_resultsto conserve credits - Use
basicdepth instead ofadvanced - Implement local caching for repeated queries
Resources
See api-reference.md for:
- Complete API parameter documentation
- Response format specifications
- Error handling details
- Cost and rate limit information
- Advanced usage examples
Dependencies
- Python 3.6+
tavily-pythonpackage (install:pip install tavily-python)- Valid Tavily API key
Credits & Attribution
- Tavily API: https://tavily.com
- Python SDK: https://github.com/tavily-ai/tavily-python
- Documentation: https://docs.tavily.com
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingapps/node/skills/tavily/SKILL.md
Popularity
- Repository stars
- 3,119
- Repository forks
- 14
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/allenpeng0705/envoymesh/tavily)