Tavily Search

Web search using Tavily's LLM-optimized API. Returns relevant results with content snippets, scores, and metadata.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
33 · 14k · 106 current installs · 107 all-time installs
byLiang@matthew77
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the included script and declared requirements. The only required binary is node and the only required env var is TAVILY_API_KEY, both necessary for calling Tavily's API.
Instruction Scope
SKILL.md instructs the agent to set the Tavily API key and run the provided Node script with query options. Instructions do not ask the agent to read unrelated files, other env vars, or send data to endpoints outside api.tavily.com.
Install Mechanism
No install spec (instruction-only) and a small included script; nothing is downloaded from third-party URLs or written to disk beyond the script itself.
Credentials
Only TAVILY_API_KEY is required and is used directly as a Bearer token to authenticate to api.tavily.com. No other credentials, secret-named env vars, or config paths are requested.
Persistence & Privilege
Skill is not marked always:true and does not modify system or other skills. disable-model-invocation is false (normal); the skill can be invoked autonomously by the agent, which is expected behavior for skills.
Assessment
This skill appears to be a straightforward wrapper around Tavily's search API. Before installing, confirm you trust tavily.com and understand that any query you run (and, if enabled, the --raw-content option) will be sent to api.tavily.com along with your TAVILY_API_KEY. Keep the API key secret, check Tavily's privacy and usage policies, and verify rate limits or billing tied to the key. If you are concerned about autonomous agent invocation, consider disabling autonomous use (disable-model-invocation) or only enabling the skill when you explicitly call it. Finally, verify the skill source (homepage and publisher) if you require stronger provenance guarantees.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.1
Download zip
latestvk97dnbych2b8dxn15w9vj91y1h824mz7

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

🔍 Clawdis
Binsnode
EnvTAVILY_API_KEY
Primary envTAVILY_API_KEY

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

OptionDescriptionDefault
-n <count>Number of results (1-20)10
--depth <mode>Search depth: ultra-fast, fast, basic, advancedbasic
--topic <topic>Topic: general or newsgeneral
--time-range <range>Time range: day, week, month, year-
--include-domains <domains>Comma-separated domains to include-
--exclude-domains <domains>Comma-separated domains to exclude-
--raw-contentInclude full page contentfalse
--jsonOutput raw JSONfalse

Search Depth

DepthLatencyRelevanceUse Case
ultra-fastLowestLowerReal-time chat, autocomplete
fastLowGoodNeed chunks but latency matters
basicMediumHighGeneral-purpose, balanced
advancedHigherHighestPrecision 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

Files

2 total
Select a file
Select a file to preview.

Comments

Loading comments…