According to AlphaMoat, as of 2026-10, tavily-search has 31,910 downloads and 3 stars — ranked by downloads #850 among 10,914 AI skills in this ranking, and #134 of 1,632 in AI Agent.
The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.
| Platform | Downloads | Stars | Comments |
|---|---|---|---|
| ClawHub ↗ | 3.2K | - | - |
| SkillHub ↗ | 31.9K | 3 | — |
Platforms count differently and update at different times.
What this skill does
It targets cases that need current web information, covering news, research, and general topics. Set TAVILY_API_KEY first and install tavily-python; for retrieval-augmented generation, call get_search_context() instead of standard search. Search queries and returned content go to Tavily; the fast helper may cache results under ~/.cache/tavily_search. Avoid sensitive or confidential prompts unless that handling is acceptable.
Profile published 2026-10-27
What you can do with it
- Add up-to-date web material to an answer
- Fetch context that can be pasted into a RAG pipeline
When to use it
- When the question depends on current information
- When search results need to come with sources
Example prompts
Generated from the skill’s documentation as examples; not results of actual runs.
Monthly Trend
The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.
| Month | Downloads | MoM | Stars |
|---|---|---|---|
| 2026-10 | 31.9K | — | 3 |
| 2026-09 | 14.4K | — | 3 |
| 2026-08 | 11.7K | +9.2% | 3 |
| 2026-07 | 10.7K | +15.8% | 3 |
| 2026-06 | 9.3K | +7.8% | 3 |
| 2026-05 | 8.6K | — | 2 |
| 2026-03 | 5.7K | — | - |
SKILL.md (original)
The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.
---
name: tavily-search
description: Web search using Tavily API - a powerful search engine for AI agents. Use when you need to search the web for current information, news, research, or any topic that requires up-to-date web data. Supports multiple search modes including basic search, Q&A, and context retrieval for RAG applications.
metadata:
openclaw:
emoji: 🔍
requires:
env:
- TAVILY_API_KEY
---Show all (202 lines)Show less
# Tavily Search
Web search using Tavily API - optimized for AI agents and RAG applications.
## Quick Start
### Prerequisites
Set your Tavily API key:
```bash
export TAVILY_API_KEY="tvly-your-api-key"
```
Or use the Python client directly with API key.
### Basic Search
```python
from tavily import TavilyClient
client = TavilyClient(api_key="tvly-your-api-key")
response = client.search("Latest AI developments")
for result in response['results']:
print(f"Title: {result['title']}")
print(f"URL: {result['url']}")
print(f"Content: {result['content'][:200]}...")
```
### Q&A Search (Get Direct Answers)
```python
answer = client.qna_search(query="Who won the 2024 US Presidential Election?")
print(answer)
```
### Context Search (For RAG Applications)
```python
context = client.get_search_context(
query="Climate change effects on agriculture",
max_tokens=4000
)
# Use context directly in LLM prompts
```
## Search Parameters
### Common Parameters
| Parameter | Type | Description | Default |
|-----------|------|-------------|---------|
| `query` | string | Search query (required) | - |
| `search_depth` | string | "basic" or "comprehensive" | "basic" |
| `max_results` | int | Number of results (1-20) | 5 |
| `include_answer` | bool | Include AI-generated answer | False |
| `include_raw_content` | bool | Include full page content | False |
| `include_images` | bool | Include image URLs | False |
### Advanced Parameters
| Parameter | Type | Description |
|-----------|------|-------------|
| `topic` | string | Search topic: "general" or "news" |
| `time_range` | string | Time filter: "day", "week", "month", "year" |
| `include_domains` | list | Restrict to specific domains |
| `exclude_domains` | list | Exclude specific domains |
| `exact_match` | bool | Require exact phrase matching |
## Response Format
### Standard Search Response
```json
{
"query": "search query",
"results": [
{
"title": "Result Title",
"url": "https://example.com/article",
"content": "Snippet or full content...",
"score": 0.95,
"raw_content": "Full page content (if requested)..."
}
],
"answer": "AI-generated answer (if requested)",
"images": ["image_url1", "image_url2"],
"response_time": 1.23
}
```
## Error Handling
### Common Errors
```python
from tavily import TavilyClient
from tavily.exceptions import TavilyError, RateLimitError, InvalidAPIKeyError
client = TavilyClient(api_key="your-api-key")
try:
response = client.search("query")
except InvalidAPIKeyError:
print("Invalid API key. Check your TAVILY_API_KEY.")
except RateLimitError:
print("Rate limit exceeded. Please wait before retrying.")
except TavilyError as e:
print(f"Tavily error: {e}")
```
## Best Practices
### 1. Use Context Search for RAG
For retrieval-augmented generation, use `get_search_context()` instead of standard search:
```python
context = client.get_search_context(
query=user_query,
max_tokens=4000, # Fit within your LLM's context window
search_depth="comprehensive"
)
# Use in prompt
prompt = f"""Based on the following context:
{context}
Answer this question: {user_query}"""
```
### 2. Handle Rate Limits
Tavily has rate limits. Implement exponential backoff:
```python
import time
from tavily.exceptions import RateLimitError
def search_with_retry(client, query, max_retries=3):
for attempt in range(max_retries):
try:
return client.search(query)
except RateLimitError:
if attempt < max_retries - 1:
wait_time = 2 ** attempt # Exponential backoff
print(f"Rate limited. Waiting {wait_time}s...")
time.sleep(wait_time)
else:
raise
```
### 3. Filter Results
Use domain filters to improve result quality:
```python
# Only search trusted news sources
response = client.search(
query="breaking news",
include_domains=["bbc.com", "reuters.com", "apnews.com"],
time_range="day" # Only recent news
)
```
### 4. Use Q&A Mode for Facts
For factual questions, use Q&A mode for direct answers:
```python
# Good for: "Who won the 2024 election?"
answer = client.qna_search("Who won the 2024 US Presidential Election?")
# Good for: "What is the capital of France?"
answer = client.qna_search("Capital of France")
```
## Additional Resources
- **Tavily Documentation**: https://docs.tavily.com
- **Python SDK**: https://github.com/tavily-ai/tavily-python
- **JavaScript SDK**: https://github.com/tavily-ai/tavily-js
- **API Reference**: https://docs.tavily.com/documentation/api-reference
## Skill Maintenance
This skill requires:
- `TAVILY_API_KEY` environment variable set
- `tavily-python` package installed (`pip install tavily-python`)
For issues or updates, refer to the Tavily documentation or GitHub repository.Popular in AI Agent
Records learnings, errors and corrections as Markdown files for later reuse and promotion into workspace memory.
Finds skills in local and remote catalogs from a plain-language request and recommends what to install.
A browser-automation command line skill for AI agents.
Turns corrections and self-review into tiered memory and promotes or archives it by use.
A workspace setup guide for planning proactive follow-up, working memory and review routines for an AI agent.
A guide to creating and updating effective Claude skills.
Reviews a third-party skill's source, permissions, and danger patterns against a checklist before it is installed.
以李白(701—762,字太白,号青莲居士,世称诗仙)的诗学观、意象系统与口吻,进行唐诗赏析、文学评论、考据问答与拟体创作。触发词:李白、李太白、太白、青莲居士、诗仙、谪仙人、将进酒、静夜思、蜀道难、唐诗、盛唐诗人、浪漫主义诗人、拟李白风格、以李白视角、李白会怎么写、用李白口吻。能力:诗词鉴赏与风格DNA解析、诗学观与文学谱系评述、诗句出处考据与真伪边界标注、以李白口吻答问、拟李白体旧体诗(必显式标注非原作)。适用边界:仅用于唐代文学与古典诗歌相关话题,非此类话题不触发;本 skill 为文学普及与研究辅助,不代表李白本人立场,所拟之作均非李白原作;涉及生平佚事、篇目归属等内容不构成学术定论,皆标存疑或待考。
Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.