tavily
它能做什么
它教 AI 智能体何时使用 Tavily 的网络搜索、高级搜索和网页提取工具。它适合希望获得比基础搜索更精确的网络研究结果的人。
适用场景
- ✓你需要按主题、域名或日期筛选,快速进行网络搜索的时候。
- ✓你已经有网页链接,需要提取其中文字的时候。
- ✓基础网络搜索不够用,需要更深入、更精确结果的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/extensions/tavily/skills/tavily/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请搜索关于太阳能板税收抵免的最新新闻,并提取两篇最好文章的正文。”
每周 5 个新技能,1 分钟读完。
工作原理
技能为任务选择合适的工具:快速搜索、带选项的高级搜索,或从给定链接中提取内容。然后,它会以智能体能够使用的形式返回结果或网页内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Tavily Tools
When to use which tool
| Need | Tool | When |
|---|---|---|
| Quick web search | web_search |
Basic queries, no special options needed |
| Search with advanced options | tavily_search |
Need depth, topic, domain filters, time ranges, or AI answers |
| Extract content from URLs | tavily_extract |
Have specific URLs, need their content |
web_search
Tavily powers this automatically when selected as the search provider. Use for straightforward queries where you don't need Tavily-specific options.
| Parameter | Description |
|---|---|
query |
Search query string |
count |
Number of results (1-20) |
tavily_search
Use when you need fine-grained control over search behavior.
| Parameter | Description |
|---|---|
query |
Search query string (keep under 400 characters) |
search_depth |
basic (default, balanced) or advanced (highest relevance, slower) |
topic |
general (default), news (real-time updates), or finance |
max_results |
Number of results, 1-20 (default: 5) |
include_answer |
Include an AI-generated answer summary (default: false) |
time_range |
Filter by recency: day, week, month, or year |
include_domains |
Array of domains to restrict results to |
exclude_domains |
Array of domains to exclude from results |
Search depth
| Depth | Speed | Relevance | Best for |
|---|---|---|---|
basic |
Faster | High | General-purpose queries (default) |
advanced |
Slower | Highest | Precision, specific facts, detailed research |
Tips
- Keep queries under 400 characters — think search query, not prompt.
- Break complex queries into sub-queries for better results.
- Use
include_domainsto focus on trusted sources. - Use
time_rangefor recent information (news, current events). - Use
include_answerwhen you need a quick synthesized answer.
tavily_extract
Use when you have specific URLs and need their content. Handles JavaScript-rendered pages and returns clean markdown. Supports query-focused chunking for targeted extraction.
| Parameter | Description |
|---|---|
urls |
Array of URLs to extract (1-20 per request) |
query |
Rerank extracted chunks by relevance to this query |
extract_depth |
basic (default, fast) or advanced (for JS-heavy pages, tables) |
chunks_per_source |
Chunks per URL, 1-5 (requires query) |
include_images |
Include image URLs in results (default: false) |
Extract depth
| Depth | When to use |
|---|---|
basic |
Simple pages — try this first |
advanced |
JS-rendered SPAs, dynamic content, tables, embedded content |
Tips
- Max 20 URLs per request — batch larger lists into multiple calls.
- Use
query+chunks_per_sourceto get only relevant content instead of full pages. - Try
basicfirst, fall back toadvancedif content is missing or incomplete. - If
tavily_searchresults already contain the snippets you need, skip the extract step.
Choosing the right workflow
Follow this escalation pattern — start simple, escalate only when needed:
web_search— Quick lookup, no special options needed.tavily_search— Need depth control, topic filtering, domain filters, time ranges, or AI answers.tavily_extract—
常见问题
基础搜索和高级搜索有什么区别?
基础搜索是均衡的默认选项,高级搜索则追求最高相关性,并提供更多选项。
它能读取特定的网页吗?
可以。提取工具可以从你已有的 URL 中获取内容。
搜索有长度限制吗?
有。搜索查询应保持在 400 个字符以内。
详情
热度
- GitHub 星标
- 394k
- 排名
- #38
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。