tavily-search

Web search with LLM-optimized results, content snippets, and relevance scores. Supports four search depths (ultra-fast, fast, basic, advanced) with configurable result counts up to 20, plus domain filtering and time-range constraints Returns structured JSON output with content snippets, relevance scores, and metadata optimized for LLM consumption Includes specialized search modes for news and finance topics, with optional AI-generated answers and full page content extraction Integrates into multi-step research workflows: search → extract → map → crawl → research

INSTALLATION
npx skills add https://github.com/tavily-ai/skills --skill tavily-search
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

tavily search

Web search returning LLM-optimized results with content snippets and relevance scores.

Before running any command

If tvly is not found on PATH, install it first:

curl -fsSL https://cli.tavily.com/install.sh | bash && tvly login

Do not skip this step or fall back to other tools.

See tavily-cli for alternative install methods and auth options.

When to use

  • You need to find information on any topic
  • You don't have a specific URL yet
  • First step in the workflow: search → extract → map → crawl → research

Quick start

# Basic search

tvly search "your query" --json

# Advanced search with more results

tvly search "quantum computing" --depth advanced --max-results 10 --json

# Recent news

tvly search "AI news" --time-range week --topic news --json

# Domain-filtered

tvly search "SEC filings" --include-domains sec.gov,reuters.com --json

# Include full page content in results

tvly search "react hooks tutorial" --include-raw-content --max-results 3 --json

Options

OptionDescription
--depthultra-fast, fast, basic (default), advanced
--max-resultsMax results, 0-20 (default: 5)
--topicgeneral (default), news, finance
--time-rangeday, week, month, year
--start-dateResults after date (YYYY-MM-DD)
--end-dateResults before date (YYYY-MM-DD)
--include-domainsComma-separated domains to include
--exclude-domainsComma-separated domains to exclude
--countryBoost results from country
--include-answerInclude AI answer (basic or advanced)
--include-raw-contentInclude full page content (markdown or text)
--include-imagesInclude image results
--include-image-descriptionsInclude AI image descriptions
--chunks-per-sourceChunks per source (advanced/fast depth only)
-o, --outputSave output to file
--jsonStructured JSON output

Search depth

DepthSpeedRelevanceBest for
ultra-fastFastestLowerReal-time chat, autocomplete
fastFastGoodNeed chunks, latency matters
basicMediumHighGeneral-purpose (default)
advancedSlowerHighestPrecision, specific facts

Tips

  • Keep queries under 400 characters — think search query, not prompt.
  • Break complex queries into sub-queries for better results.
  • **Use --include-raw-content** when you need full page text (saves a separate extract call).
  • **Use --include-domains** to focus on trusted sources.
  • **Use --time-range** for recent information.
  • Read from stdin: echo "query" | tvly search - --json

See also

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card