Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Web search, URL content extraction, site crawling, URL discovery, and AI-powered deep research via the Tavily CLI (tvly).
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: tavily-cli3description: |4Web search, content extraction, crawling, and deep research via the Tavily CLI. Use this skill whenever the user wants to search the web, find articles, research a topic, look something up online, extract content from a URL, grab text from a webpage, crawl documentation, download a site's pages, discover URLs on a domain, or conduct in-depth research with citations. Also use when they say "fetch this page", "pull the content from", "get the page at https://", "find me articles about", or reference extracting data from external websites. This provides LLM-optimized web search, content extraction, site crawling, URL discovery, and AI-powered deep research — capabilities beyond what agents can do natively. Do NOT trigger for local file operations, git commands, deployments, or code editing tasks.5compatibility: Requires tavily-cli (`curl -fsSL https://cli.tavily.com/install.sh | bash`) and a Tavily API key from tavily.com.6allowed-tools: Bash(tvly *)7---89# Tavily CLI1011Web search, content extraction, site crawling, URL discovery, and deep research. Returns JSON optimized for LLM consumption.1213Run `tvly --help` or `tvly <command> --help` for full option details.1415## Prerequisites1617Must be installed and authenticated. Check with `tvly --status`.1819```bash20tavily v0.1.02122> Authenticated via OAuth (tvly login)23```2425If not ready:2627```bash28curl -fsSL https://cli.tavily.com/install.sh | bash29```3031Or manually: `uv tool install tavily-cli` / `pip install tavily-cli`3233Then authenticate:3435```bash36tvly login --api-key tvly-YOUR_KEY37# or: export TAVILY_API_KEY=tvly-YOUR_KEY38# or: tvly login (opens browser for OAuth)39```4041## Workflow4243Follow this escalation pattern — start simple, escalate when needed:44451. **Search** — No specific URL. Find pages, answer questions, discover sources.462. **Extract** — Have a URL. Pull its content directly.473. **Map** — Large site, need to find the right page. Discover URLs first.484. **Crawl** — Need bulk content from an entire site section.495. **Research** — Need comprehensive, multi-source analysis with citations.5051| Need | Command | When |52|------|---------|------|53| Find pages on a topic | `tvly search` | No specific URL yet |54| Get a page's content | `tvly extract` | Have a URL |55| Find URLs within a site | `tvly map` | Need to locate a specific subpage |56| Bulk extract a site section | `tvly crawl` | Need many pages (e.g., all /docs/) |57| Deep research with citations | `tvly research` | Need multi-source synthesis |5859For detailed command reference, use the individual skill for each command (e.g., `tavily-search`, `tavily-crawl`) or run `tvly <command> --help`.6061## Output6263All commands support `--json` for structured, machine-readable output and `-o` to save to a file.6465```bash66tvly search "react hooks" --json -o results.json67tvly extract "https://example.com/docs" -o docs.md68tvly crawl "https://docs.example.com" --output-dir ./docs/69```7071## Tips7273- **Always quote URLs** — shell interprets `?` and `&` as special characters.74- **Use `--json` for agentic workflows** — every command supports it.75- **Read from stdin with `-`** — `echo "query" | tvly search -`76- **Exit codes**: 0 = success, 2 = bad input, 3 = auth error, 4 = API error.77