Agent Skillstavily-ai/skills › tavily-cli

tavily-cli

GitHub

通过Tavily CLI执行Web搜索、内容提取、站点爬取及深度研究,提供LLM优化的JSON输出。适用于在线查找资料、抓取网页内容、发现URL及多源综合分析等场景。

skills/tavily-cli/SKILL.md tavily-ai/skills

Trigger Scenarios

用户需要搜索网络或查找文章 用户要求提取特定URL的页面内容 用户需要对某个主题进行深度研究并获取引用

Install

npx skills add tavily-ai/skills --skill tavily-cli -g -y
More Options

Use without installing

npx skills use tavily-ai/skills@tavily-cli

指定 Agent (Claude Code)

npx skills add tavily-ai/skills --skill tavily-cli -a claude-code -g -y

安装 repo 全部 skill

npx skills add tavily-ai/skills --all -g -y

预览 repo 内 skill

npx skills add tavily-ai/skills --list

SKILL.md

Frontmatter
{
    "name": "tavily-cli",
    "description": "Web 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.\n",
    "allowed-tools": "Bash(tvly *)",
    "compatibility": "Requires tavily-cli (`curl -fsSL https:\/\/cli.tavily.com\/install.sh | bash`) and a Tavily API key from tavily.com."
}

Tavily CLI

Web search, content extraction, site crawling, URL discovery, and deep research. Returns JSON optimized for LLM consumption.

Run tvly --help or tvly <command> --help for full option details.

Prerequisites

Must be installed and authenticated. Check with tvly --status.

tavily v0.1.0

> Authenticated via OAuth (tvly login)

If not ready:

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

Or manually: uv tool install tavily-cli / pip install tavily-cli

Then authenticate:

tvly login --api-key tvly-YOUR_KEY
# or: export TAVILY_API_KEY=tvly-YOUR_KEY
# or: tvly login  (opens browser for OAuth)

Workflow

Follow this escalation pattern — start simple, escalate when needed:

  1. Search — No specific URL. Find pages, answer questions, discover sources.
  2. Extract — Have a URL. Pull its content directly.
  3. Map — Large site, need to find the right page. Discover URLs first.
  4. Crawl — Need bulk content from an entire site section.
  5. Research — Need comprehensive, multi-source analysis with citations.
Need Command When
Find pages on a topic tvly search No specific URL yet
Get a page's content tvly extract Have a URL
Find URLs within a site tvly map Need to locate a specific subpage
Bulk extract a site section tvly crawl Need many pages (e.g., all /docs/)
Deep research with citations tvly research Need multi-source synthesis

For detailed command reference, use the individual skill for each command (e.g., tavily-search, tavily-crawl) or run tvly <command> --help.

Output

All commands support --json for structured, machine-readable output and -o to save to a file.

tvly search "react hooks" --json -o results.json
tvly extract "https://example.com/docs" -o docs.md
tvly crawl "https://docs.example.com" --output-dir ./docs/

Tips

  • Always quote URLs — shell interprets ? and & as special characters.
  • Use --json for agentic workflows — every command supports it.
  • Read from stdin with -echo "query" | tvly search -
  • Exit codes: 0 = success, 2 = bad input, 3 = auth error, 4 = API error.

Version History

  • ea5e820 Current 2026-07-25 07:40

Same Skill Collection

skills/tavily-best-practices/SKILL.md
skills/tavily-extract/SKILL.md
skills/tavily-map/SKILL.md
skills/tavily-research/SKILL.md
skills/tavily-crawl/SKILL.md
skills/tavily-dynamic-search/SKILL.md
skills/tavily-search/SKILL.md

Metadata

Files
0
Version
ea5e820
Hash
aa8cee0e
Indexed
2026-07-25 07:40

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 01:28
浙ICP备14020137号-1 $mapa de visitantes$