Community程式設計與開發github.com

tavily

Tavily 網路搜尋、內容擷取與研究工具。

tavily 是什麼?

這是一套以 Tavily 搜尋引擎為基礎的工具組,提供網頁搜尋、進階搜尋控制以及網頁內容擷取功能。開發者或 AI 代理人可以根據需求選擇不同工具:`web_search` 適用於快速、無特殊選項的查詢;`tavily_search` 支援搜尋深度、主題過濾、網域限制、時間範圍與 AI 摘要生成;`tavily_extract` 則能從指定 URL 擷取內容,並可依查詢進行關聯性排序與分塊。這些工具支援 Claude Code、Cursor、Codex 等平台,適合需要整合即時網路資訊的研究與開發場景。建議從最簡單的 `web_search` 開始,逐步升級至更細緻的搜尋或內容擷取,以提升效率與準確性。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/extensions/tavily/skills/tavily

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Tavily 工具

何時使用哪個工具

需求工具使用時機
快速網頁搜尋web_search基本查詢,無需特殊選項
進階選項搜尋tavily_search需要深度、主題、網域過濾、時間範圍或 AI 答案
從 URL 擷取內容tavily_extract已有特定 URL,需要取得其內容

web_search

當選定 Tavily 為搜尋提供者時,此工具會自動啟用。適用於無需 Tavily 特定選項的簡單查詢。

參數說明
query搜尋查詢字串
count回傳結果數量 (1-20)

tavily_search

當需要精細控制搜尋行為時使用。

參數說明
query搜尋查詢字串 (請勿超過 400 個字元)
search_depthbasic (預設,平衡) 或 advanced (最高相關性,較慢)
topicgeneral (預設)、news (即時更新) 或 finance
max_results結果數量,1-20 (預設:5)
include_answer是否包含 AI 生成的答案摘要 (預設:false)
time_range按時間範圍過濾:day、week、month 或 year
include_domains限制結果僅來自這些網域的陣列
exclude_domains從結果中排除這些網域的陣列

搜尋深度

深度速度相關性最佳使用時機
basic較快高通用查詢 (預設)
advanced較慢最高精確性、特定事實、詳細研究

提示

  • 查詢請勿超過 400 個字元 — 將其視為搜尋詞,而非提示詞。
  • 將複雜查詢拆解為子查詢 以獲得更好的結果。
  • 使用 include_domains 聚焦於可信賴的來源。
  • 使用 time_range 取得近期資訊 (新聞、時事)。
  • 使用 include_answer 當你需要快速合成答案時。

tavily_extract

當你有特定 URL 並需要其內容時使用。能處理 JavaScript 渲染的頁面,並回傳乾淨的 Markdown。支援基於查詢的內容分塊,以進行目標式擷取。

參數說明
urls欲擷取的 URL 陣列 (每次請求 1-20 個)
query根據此查詢重新排序擷取塊的相關性
extract_depthbasic (預設,快速) 或 advanced (用於 JS 繁重頁面、表格)
chunks_per_source每個 URL 回傳的區塊數,1-5 (需搭配 query)
include_images在結果中包含圖片 URL (預設:false)

擷取深度

深度使用時機
basic簡單頁面 — 優先嘗試此選項
advancedJS 渲染的 SPA、動態內容、表格、嵌入內容

提示

  • 每次請求最多 20 個 URL — 較大的清單請分批呼叫。
  • 使用 query + chunks_per_source 僅取得相關內容,而非完整頁面。
  • 先嘗試 basic,若內容遺失或不完整再改用 advanced。
  • 如果 tavily_search 的結果已包含所需片段,可跳過擷取步驟。

選擇正確的工作流程

請遵循以下的升級模式 — 從簡單開始,只在必要時升級:

  1. web_search — 快速查詢,無需特殊選項。
  2. tavily_search — 需要深度控制、主題過濾、網域過濾、時間範圍或 AI 答案。
  3. tavily_extract — 已有特定 URL,需要完整內容或目標區塊。

當你需要先找到頁面,再取得其完整內容時,可合併搜尋與擷取。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相關技能