tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Install command
npx @skill-hub/cli install openclaw-skills-tavily-skill
Repository
Skill path: skills/fangkelvin/tavily-skill
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
Open repositoryBest for
Primary workflow: Research & Ops.
Technical facets: Full Stack, Backend, Tech Writer.
Target audience: everyone.
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: openclaw.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install tavily-search into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/openclaw/skills before adding tavily-search to shared team environments
- Use tavily-search for development workflows
Works across
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
---
name: tavily-search
description: "Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key."
homepage: https://tavily.com
metadata: { "openclaw": { "emoji": "π", "requires": { "bins": ["curl", "jq"] } } }
---
# Tavily Search Skill
Use Tavily API for real-time web search and content extraction.
## When to Use
β
**USE this skill when:**
- "Search the web for [topic]"
- "Find recent information about [subject]"
- "Get current news about [topic]"
- "Research [topic] online"
- "Find up-to-date information"
## When NOT to Use
β **DON'T use this skill when:**
- Simple URL fetching β use `web_fetch` tool
- No API key available β use `web_fetch` for specific URLs
- Historical/archival data β use specialized archives
## Setup
1. Get a Tavily API key from https://tavily.com
2. Set the API key in environment or config
## Configuration
Set your Tavily API key in one of these ways:
### Environment variable:
```bash
export TAVILY_API_KEY="your-api-key-here"
```
### OpenClaw config:
Add to your `openclaw.json`:
```json
{
"tavily": {
"apiKey": "your-api-key-here"
}
}
```
## Usage Examples
### Basic Search
```bash
# Search for a topic
curl -X POST "https://api.tavily.com/search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TAVILY_API_KEY" \
-d '{
"query": "latest AI developments 2026",
"search_depth": "basic",
"max_results": 5
}' | jq .
```
### Research Query
```bash
# Get detailed research results
curl -X POST "https://api.tavily.com/search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TAVILY_API_KEY" \
-d '{
"query": "climate change impact on agriculture 2026",
"search_depth": "advanced",
"max_results": 10,
"include_answer": true,
"include_images": false
}' | jq .
```
### News Search
```bash
# Search for recent news
curl -X POST "https://api.tavily.com/search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TAVILY_API_KEY" \
-d '{
"query": "technology news today",
"search_depth": "basic",
"max_results": 5,
"include_raw_content": false
}' | jq .
```
## API Parameters
- `query`: Search query string (required)
- `search_depth`: "basic" or "advanced" (default: "basic")
- `max_results`: Number of results (1-10, default: 5)
- `include_answer`: Include AI-generated answer (true/false)
- `include_images`: Include image URLs (true/false)
- `include_raw_content`: Include full page content (true/false)
## Error Handling
- Check API key is set: `echo $TAVILY_API_KEY`
- Test connection: Use the basic search example above
- Rate limits: Tavily has usage limits based on your plan
## Alternatives
If Tavily API is not available:
1. Use `web_fetch` for specific URLs
2. Use `web_search` with Kimi API (if configured)
3. Manual web browsing with `browser` tool
---
## Skill Companion Files
> Additional files collected from the skill directory layout.
### _meta.json
```json
{
"owner": "fangkelvin",
"slug": "tavily-skill",
"displayName": "Tavily Skill",
"latest": {
"version": "1.0.0",
"publishedAt": 1772382948286,
"commit": "https://github.com/openclaw/skills/commit/f05c2487afec836670ca08631032e109ea9b6948"
},
"history": []
}
```