Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Searches the web via the Tavily CLI, returning LLM-optimized results with relevance scores, snippets, and domain filtering.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: tavily-search3description: |4Search the web with LLM-optimized results via the Tavily CLI. Use this skill when the user wants to search the web, find articles, look up information, get recent news, discover sources, or says "search for", "find me", "look up", "what's the latest on", "find articles about", or needs current information from the internet. Returns relevant results with content snippets, relevance scores, and metadata — optimized for LLM consumption. Supports domain filtering, time ranges, and multiple search depths.5allowed-tools: Bash(tvly *)6---78# tavily search910Web search returning LLM-optimized results with content snippets and relevance scores.1112## Before running any command1314If `tvly` is not found on PATH, install it first:1516```bash17curl -fsSL https://cli.tavily.com/install.sh | bash && tvly login18```1920Do not skip this step or fall back to other tools.2122See [tavily-cli](../tavily-cli/SKILL.md) for alternative install methods and auth options.2324## When to use2526- You need to find information on any topic27- You don't have a specific URL yet28- First step in the [workflow](../tavily-cli/SKILL.md): **search** → extract → map → crawl → research2930## Quick start3132```bash33# Basic search34tvly search "your query" --json3536# Advanced search with more results37tvly search "quantum computing" --depth advanced --max-results 10 --json3839# Recent news40tvly search "AI news" --time-range week --topic news --json4142# Domain-filtered43tvly search "SEC filings" --include-domains sec.gov,reuters.com --json4445# Include full page content in results46tvly search "react hooks tutorial" --include-raw-content --max-results 3 --json47```4849## Options5051| Option | Description |52|--------|-------------|53| `--depth` | `ultra-fast`, `fast`, `basic` (default), `advanced` |54| `--max-results` | Max results, 0-20 (default: 5) |55| `--topic` | `general` (default), `news`, `finance` |56| `--time-range` | `day`, `week`, `month`, `year` |57| `--start-date` | Results after date (YYYY-MM-DD) |58| `--end-date` | Results before date (YYYY-MM-DD) |59| `--include-domains` | Comma-separated domains to include |60| `--exclude-domains` | Comma-separated domains to exclude |61| `--country` | Boost results from country |62| `--include-answer` | Include AI answer (`basic` or `advanced`) |63| `--include-raw-content` | Include full page content (`markdown` or `text`) |64| `--include-images` | Include image results |65| `--include-image-descriptions` | Include AI image descriptions |66| `--chunks-per-source` | Chunks per source (advanced/fast depth only) |67| `-o, --output` | Save output to file |68| `--json` | Structured JSON output |6970## Search depth7172| Depth | Speed | Relevance | Best for |73|-------|-------|-----------|----------|74| `ultra-fast` | Fastest | Lower | Real-time chat, autocomplete |75| `fast` | Fast | Good | Need chunks, latency matters |76| `basic` | Medium | High | General-purpose (default) |77| `advanced` | Slower | Highest | Precision, specific facts |7879## Tips8081- **Keep queries under 400 characters** — think search query, not prompt.82- **Break complex queries into sub-queries** for better results.83- **Use `--include-raw-content`** when you need full page text (saves a separate extract call).84- **Use `--include-domains`** to focus on trusted sources.85- **Use `--time-range`** for recent information.86- Read from stdin: `echo "query" | tvly search - --json`8788## See also8990- [tavily-extract](../tavily-extract/SKILL.md) — extract content from specific URLs91- [tavily-research](../tavily-research/SKILL.md) — comprehensive multi-source research92