← 返回 Skills 市场
15914355527

Tavily Search V2

作者 15914355527 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
177
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install liang-tavily-search-v2
功能描述
Web search using Tavily's LLM-optimized API. Returns relevant results with content snippets, scores, and metadata.
使用说明 (SKILL.md)

Tavily Search

Search the web and get relevant results optimized for LLM consumption.

Authentication

Get your API key at https://tavily.com and add to your OpenClaw config:

{
  "skills": {
    "entries": {
      "tavily-search": {
        "enabled": true,
        "apiKey": "tvly-YOUR_API_KEY_HERE"
      }
    }
  }
}

Or set the environment variable:

export TAVILY_API_KEY="tvly-YOUR_API_KEY_HERE"

Quick Start

Using the Script

node {baseDir}/scripts/search.mjs "query"
node {baseDir}/scripts/search.mjs "query" -n 10
node {baseDir}/scripts/search.mjs "query" --deep
node {baseDir}/scripts/search.mjs "query" --topic news

Examples

# Basic search
node {baseDir}/scripts/search.mjs "python async patterns"

# With more results
node {baseDir}/scripts/search.mjs "React hooks tutorial" -n 10

# Advanced search
node {baseDir}/scripts/search.mjs "machine learning" --deep

# News search
node {baseDir}/scripts/search.mjs "AI news" --topic news

# Domain-filtered search
node {baseDir}/scripts/search.mjs "Python docs" --include-domains docs.python.org

Options

Option Description Default
-n \x3Ccount> Number of results (1-20) 10
--depth \x3Cmode> Search depth: ultra-fast, fast, basic, advanced basic
--topic \x3Ctopic> Topic: general or news general
--time-range \x3Crange> Time range: day, week, month, year -
--include-domains \x3Cdomains> Comma-separated domains to include -
--exclude-domains \x3Cdomains> Comma-separated domains to exclude -
--raw-content Include full page content false
--json Output raw JSON false

Search Depth

Depth Latency Relevance Use Case
ultra-fast Lowest Lower Real-time chat, autocomplete
fast Low Good Need chunks but latency matters
basic Medium High General-purpose, balanced
advanced Higher Highest Precision matters, research

Tips

  • Keep queries under 400 characters - Think search query, not prompt
  • Break complex queries into sub-queries - Better results than one massive query
  • Use --include-domains to focus on trusted sources
  • Use --time-range for recent information
  • Filter by score (0-1) to get highest relevance results
安全使用建议
This skill looks coherent and only needs your Tavily API key and Node. Before installing: verify you trust the tavily.com service and the skill publisher; prefer setting TAVILY_API_KEY as an environment variable rather than pasting it into shared config files; review and rotate the key if you later delete the skill; note minor metadata mismatches in the bundled _meta.json (slug/version/owner differ from registry) — these are likely benign but you may want to confirm the publisher identity if provenance matters. Also ensure your Node version supports global fetch or run in an environment where fetch is available.
功能分析
Type: OpenClaw Skill Name: liang-tavily-search-v2 Version: 1.0.0 The skill provides a legitimate interface for the Tavily Search API. The script 'scripts/search.mjs' correctly handles API authentication via environment variables and communicates only with the official Tavily endpoint (api.tavily.com). No malicious patterns, obfuscation, or unauthorized data access were found in the code or the 'SKILL.md' instructions.
能力评估
Purpose & Capability
Name and description (web search via Tavily) match the requirements and code: only Node and TAVILY_API_KEY are required, and the script POSTs to https://api.tavily.com/search. Nothing in the files demands unrelated services or permissions.
Instruction Scope
SKILL.md instructions stay on-topic: they show how to provide an API key (env or config) and how to run the provided Node script with search options. The runtime instructions do not ask the agent to read unrelated files, system secrets, or exfiltrate data to unexpected endpoints.
Install Mechanism
There is no install spec (instruction-only plus an included script), so nothing is downloaded or installed automatically. The included script is small and plain JS; it makes a network call to the declared Tavily API host only.
Credentials
Only a single environment variable (TAVILY_API_KEY) is required and is justified by the API call. The SKILL.md suggests storing the key in OpenClaw config or as an env var — standard for API clients.
Persistence & Privilege
The skill is not always-enabled and is user-invocable; it does not request elevated system persistence or modify other skills' configurations. Autonomous invocation is allowed (platform default) but not combined with other concerning permissions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install liang-tavily-search-v2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /liang-tavily-search-v2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of Tavily Search skill. - Enables web search using Tavily’s LLM-optimized API with relevant results, content snippets, scores, and metadata. - Supports multiple result options such as search depth, topic, result count, domain filters, time range, and output format. - Requires API key configuration via environment variable or OpenClaw config. - Includes command-line script for quick searches with flexible parameters.
元数据
Slug liang-tavily-search-v2
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Tavily Search V2 是什么?

Web search using Tavily's LLM-optimized API. Returns relevant results with content snippets, scores, and metadata. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 177 次。

如何安装 Tavily Search V2?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install liang-tavily-search-v2」即可一键安装,无需额外配置。

Tavily Search V2 是免费的吗?

是的,Tavily Search V2 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Tavily Search V2 支持哪些平台?

Tavily Search V2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Tavily Search V2?

由 15914355527(@15914355527)开发并维护,当前版本 v1.0.0。

💬 留言讨论