Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

better-tavily-searchbetter Tavily 搜索

Agent Skill

better-tavily-search 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,990

周安装

163

GitHub Stars

1

下载量

1,278
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:better-tavily-search(better Tavily 搜索)
来源仓库:https://github.com/soymilkwinsagain/better-tavily-search
安装命令:
openclaw skills install better-tavily-search
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install better-tavily-search

简介

用于查找、检索和筛选相关信息。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

  • 支持关键词搜索和线索快速定位。
  • 可结合来源仓库和原始 README 继续核验用法。
  • 安装前建议确认权限范围和维护状态。
  • better-tavily-search 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
better-tavily-search
description
The best skill to retrieve fresh web evidence with Tavily. Use for source finding, link discovery, official documentation lookup, current-event verification, and other tasks that need external web retrieval. Let the model plan the search, then express that plan with Tavily-native controls and a small-result, evidence-first workflow.
homepage
https://docs.tavily.com/documentation/api-reference/endpoint/search
metadata
openclaw
emoji
🔎
requires
bins
["python3"]
primaryEnv
TAVILY_API_KEY

Better Tavily Search

Use Tavily when the task needs fresh external evidence, links, current facts, official documentation, or source discovery.

This skill is not a rigid search policy. The model should still plan. Use Tavily's controls to express that plan more precisely:

  • choose the right query
  • choose the right profile
  • keep the first pass small
  • escalate only when the first pass is insufficient

Core Idea

Prefer evidence-first retrieval over answer-first retrieval.

Default pattern:

  1. Run a small Tavily search with an intent-aligned profile.
  2. Inspect titles, URLs, domains, snippets, dates, and scores.
  3. Rewrite the query or refine Tavily parameters if the first pass is weak.
  4. Extract content from the best 1–3 URLs only when more detail is needed.
  5. Use site mapping only for documentation or site-navigation tasks.

Do not start with large raw-content payloads unless the task clearly requires them.

Requirements

Authentication is loaded by the script itself. Either of these is valid:

  • environment variable: TAVILY_API_KEY
  • ~/.openclaw/.env containing TAVILY_API_KEY=...

The skill metadata only requires python3, because the script can load the API key from either location.

Quick Start

# general search
python3 {baseDir}/scripts/tavily.py search \
  --query "OpenClaw skills documentation" \
  --profile general \
  --max-results 5 \
  --format agent

# recent news search
python3 {baseDir}/scripts/tavily.py search \
  --query "Federal Reserve meeting March 2026" \
  --profile news \
  --time-range month \
  --max-results 5 \
  --format agent

# official-domain search
python3 {baseDir}/scripts/tavily.py search \
  --query "Python asyncio task group docs" \
  --profile official \
  --include-domains docs.python.org \
  --max-results 5 \
  --format agent

# higher-precision search
python3 {baseDir}/scripts/tavily.py search \
  --query '"exact phrase" OpenClaw' \
  --profile precision \
  --search-depth advanced \
  --chunks-per-source 3 \
  --max-results 5 \
  --format agent

# extract content from top URLs
python3 {baseDir}/scripts/tavily.py extract \
  --query "OpenClaw skills frontmatter requirements" \
  --urls "https://docs.openclaw.ai/tools/skills,https://docs.openclaw.ai/tools/creating-skills" \
  --chunks-per-source 3 \
  --format md

# map a documentation site before extraction
python3 {baseDir}/scripts/tavily.py map \
  --url "https://docs.openclaw.ai" \
  --format raw

Working Principles

  • Keep search queries compact, entity-heavy, and task-specific.
  • Keep the first pass small: usually max_results=3..5.
  • Prefer explicit parameters over broad, vague prompting.
  • Use Tavily-native knobs to match intent instead of stuffing instructions into the query.
  • Default to --include-answer off and let downstream reasoning synthesize the answer.
  • Default to --include-raw-content off on the first pass.
  • Prefer search -> extract over search + huge raw content.
  • Use --auto-parameters only as a recovery step or when the intent is genuinely ambiguous.

Intent Profiles

Think in profiles, not in a flat list of low-level flags. Choose the smallest profile that matches the task.

general

Use for ordinary web search, concept lookup, background verification, and broad source finding.

Default shape:

  • topic=general
  • search_depth=basic
  • max_results=3..5
  • include_answer=false
  • include_raw_content=false

news

Use when the user asks about recent events, recent policy changes, sports, politics, or anything framed as latest, recent, today, or this week.

Default shape:

  • topic=news
  • add time_range or start_date/end_date when the time window matters
  • start with search_depth=basic

finance

Use for company, market, filings, earnings, and finance-specific information.

Default shape:

  • topic=finance
  • start with basic
  • add time_range or domain filters if needed

official

Use when the user implicitly wants official docs, vendor docs, standards, API references, or primary sources.

Default shape:

  • topic=general
  • use include_domains
  • keep max_results small
  • escalate to advanced only if the first pass is noisy

precision

Use when exact wording, a specific page, or a narrow entity match matters.

Default shape:

  • use quoted strings when appropriate
  • consider exact_match=true
  • use search_depth=advanced
  • set chunks_per_source=2..3

regional

Use when the source region matters more than the global web average.

Default shape:

  • add country
  • combine with general, news, or finance intent as needed

Query Planning

Plan the query at the semantic level, then let Tavily do the retrieval work.

Good first-pass queries usually have these properties:

  • one main information goal
  • the main entities named explicitly
  • little or no conversational filler
  • no unnecessary formatting instructions
  • optional date or source constraints only when they help retrieval

Prefer:

  • OpenClaw skills documentation site:docs.openclaw.ai
  • SEC 10-K NVIDIA fiscal 2026
  • Boston University data science tuition 2026 official

Avoid:

  • long essay prompts
  • combining many unrelated asks in one query
  • asking Tavily to already write the final answer inside the query

For detailed rewrite patterns, read:

  • references/query_playbook.md

Command Surface

The implementation lives at:

  • scripts/tavily.py

Search

python3 {baseDir}/scripts/tavily.py search --query "..."

Main flags:

  • --profile {general,news,finance,official,precision,regional}
  • --topic {general,news,finance}
  • --search-depth {ultra-fast,fast,basic,advanced}
  • --max-results N
  • --time-range {day,week,month,year} or exact --start-date YYYY-MM-DD --end-date YYYY-MM-DD
  • --include-domains ...
  • --exclude-domains ...
  • --country ...
  • --exact-match
  • --auto-parameters
  • --chunks-per-source N
  • --include-answer [basic|advanced]
  • --include-raw-content [markdown|text]
  • --include-favicon
  • --safe-search
  • --format {agent,raw,md,brave}

Extract

python3 {baseDir}/scripts/tavily.py extract --urls "https://..."

Main flags:

  • --query ... for reranking extracted chunks
  • --chunks-per-source N
  • --extract-depth {basic,advanced}
  • --content-format {markdown,text}
  • --include-images
  • --include-favicon
  • --request-timeout SECONDS
  • --format {agent,raw,md}

Map

python3 {baseDir}/scripts/tavily.py map --url "https://..."

Main flags:

  • --instructions ...
  • --max-depth N
  • --max-breadth N
  • --limit N
  • --select-paths ...
  • --select-domains ...
  • --exclude-paths ...
  • --exclude-domains ...
  • --allow-external / --no-allow-external (default is to exclude external links)
  • --request-timeout SECONDS
  • --format {agent,raw,md}

For exact flag behavior, run --help on the relevant subcommand.

Escalation Ladder

Use the lightest step that can solve the task.

Step 1 — Small search

Start with a profile-aligned search call.

Step 2 — Rewrite the query

If results are broad, stale, or noisy, rewrite the query before expanding result count.

Step 3 — Refine parameters

Use one or more of:

  • topic
  • time_range or start_date/end_date
  • include_domains / exclude_domains
  • country
  • exact_match
  • search_depth=fast|advanced
  • chunks_per_source

Step 4 — Extract top URLs

When snippets are promising but insufficient, run extract on the best 1–3 URLs. Pass the same user intent as query so Tavily can rerank extracted chunks.

Step 5 — Map then extract

When the task is really about navigating a documentation site or knowledge base, map the site first, then extract selected pages.

Step 6 — Stop escalating

If the top sources already answer the question, stop. Do not keep searching just because more knobs exist.

For the detailed decision tree, read:

  • references/escalation_rules.md

Output Philosophy

Expose a stable shape to the model while preserving Tavily signals that help planning.

Preferred default output is agent, which preserves:

  • the original query
  • the executed query and parameters
  • the selected profile
  • source domain
  • score when available
  • snippet or extracted content chunks
  • usage metadata when available
  • response time and request identifiers when available

Use raw when you need the closest representation of Tavily's response. Use md for human inspection. Use brave only when a downstream consumer expects a Brave-like result shape.

For the detailed schema, read:

  • references/output_contract.md
  • references/param_matrix.md

When Not to Use This Skill

Do not use this skill when:

  • the answer is fully contained in local files or already-open documents
  • the task is pure writing or transformation with no need for external sources
  • a specialized tool already exists for the target system
  • the task is a large, asynchronous research workflow better handled by Tavily Research or another research-specific workflow

Notes for the Implementer

This wrapper should reflect Tavily's design, not fight it. Expose the parameters that matter for model planning, but still protect context size and credit usage with conservative defaults and stable output contracts.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

86.19%
按下载量换算1,102

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills