home / skills / openclaw / skills / tavily-search
/skills/arun-8687/tavily-search
This skill helps AI agents perform efficient web searches using Tavily API to return concise, relevant results.
npx playbooks add skill openclaw/skills --skill tavily-searchReview the files below or copy the command above to add this skill to your agents.
---
name: tavily
description: AI-optimized web search via Tavily API. Returns concise, relevant results for AI agents.
homepage: https://tavily.com
metadata: {"clawdbot":{"emoji":"🔍","requires":{"bins":["node"],"env":["TAVILY_API_KEY"]},"primaryEnv":"TAVILY_API_KEY"}}
---
# Tavily Search
AI-optimized web search using Tavily API. Designed for AI agents - returns clean, relevant content.
## Search
```bash
node {baseDir}/scripts/search.mjs "query"
node {baseDir}/scripts/search.mjs "query" -n 10
node {baseDir}/scripts/search.mjs "query" --deep
node {baseDir}/scripts/search.mjs "query" --topic news
```
## Options
- `-n <count>`: Number of results (default: 5, max: 20)
- `--deep`: Use advanced search for deeper research (slower, more comprehensive)
- `--topic <topic>`: Search topic - `general` (default) or `news`
- `--days <n>`: For news topic, limit to last n days
## Extract content from URL
```bash
node {baseDir}/scripts/extract.mjs "https://example.com/article"
```
Notes:
- Needs `TAVILY_API_KEY` from https://tavily.com
- Tavily is optimized for AI - returns clean, relevant snippets
- Use `--deep` for complex research questions
- Use `--topic news` for current events
This skill provides AI-optimized web search via the Tavily API, returning concise, relevant results tailored for AI agents. It focuses on clean snippets and structured results to speed up information retrieval and downstream processing. The utility includes options for result count, depth, topical filtering, and direct content extraction from URLs.
The skill calls the Tavily API using an API key to perform searches optimized for machine consumption, returning brief, relevant snippets and metadata. It supports a fast default mode and a --deep mode that performs more comprehensive, slower searches for complex research. A separate extract command fetches and cleans article content from a provided URL for direct use by agents.
How do I authenticate?
Set the TAVILY_API_KEY environment variable with your Tavily API key.
What does --deep do?
--deep enables a more thorough search mode that is slower but returns broader and deeper results for complex queries.
How many results can I request?
Use -n to request up to 20 results; the default is 5.