Tavily 搜索

v0.1.0

Web search via Tavily API (alternative to Brave). Use when the user asks to search the web / look up sources / find links and Brave web_search is unavailable...

230· 87.3k·1.2k current·1.3k all-time
byXiaoran Li@jacky1n7

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for jacky1n7/openclaw-tavily-search.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Tavily 搜索" (jacky1n7/openclaw-tavily-search) from ClawHub.
Skill page: https://clawhub.ai/jacky1n7/openclaw-tavily-search
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install jacky1n7/openclaw-tavily-search

ClawHub CLI

Package manager switcher

npx clawhub@latest install openclaw-tavily-search
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The code and SKILL.md implement a web-search using Tavily's API (POST to https://api.tavily.com/search), which is coherent with the skill's name/description. However, the registry metadata claims 'Required env vars: none' and 'Primary credential: none' while the script and SKILL.md require a TAVILY_API_KEY — an inconsistency that should have been declared in the registry entry.
Instruction Scope
Runtime instructions are narrowly scoped: run the bundled Python script with a query; the script only reads an API key (env or ~/.openclaw/.env), constructs a JSON payload, and posts it to Tavily. It does not enumerate/collect arbitrary local files, system secrets, or other unrelated data.
Install Mechanism
This is an instruction-only skill with an included script and no install spec. Nothing is downloaded or installed automatically; code is run from the workspace. Low install risk.
!
Credentials
The script requires a TAVILY_API_KEY (environment variable or line in ~/.openclaw/.env) but the registry metadata does not list any required credentials. Reading ~/.openclaw/.env can be surprising to users (although the script only extracts the TAVILY_API_KEY). The missing declaration in metadata and implicit file access reduce transparency and are disproportionate to what was advertised in the registry entry.
Persistence & Privilege
The skill does not request persistent or elevated privileges, 'always' is false, and it does not modify other skills or system-wide settings.
What to consider before installing
This script appears to do exactly what it says — call Tavily's search API and return results — but there are a few caution points: (1) the registry metadata did not declare the required TAVILY_API_KEY; you will need to provide that key (via env var or ~/.openclaw/.env). (2) There is no homepage or source provenance listed; if you don't already trust api.tavily.com or the package owner, verify who operates Tavily and whether you want to share queries and an API key with that service. (3) Prefer exporting TAVILY_API_KEY in a restricted environment variable rather than storing other secrets in ~/.openclaw/.env; consider creating a dedicated API key with limited scope. (4) If you have security concerns, review the script (it's small and readable) and consider running it in an isolated environment before giving it access to a production agent.

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

latestvk97deqsbg40w5vcbf12c6n0h0981wpab
87.3kdownloads
230stars
1versions
Updated 1mo ago
v0.1.0
MIT-0

Tavily Search

Use the bundled script to search the web with Tavily.

Requirements

  • Provide API key via either:
    • environment variable: TAVILY_API_KEY, or
    • ~/.openclaw/.env line: TAVILY_API_KEY=...

Commands

Run from the OpenClaw workspace:

# raw JSON (default)
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5

# include short answer (if available)
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --include-answer

# stable schema (closer to web_search): {query, results:[{title,url,snippet}], answer?}
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --format brave

# human-readable Markdown list
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --format md

Output

raw (default)

  • JSON: query, optional answer, results: [{title,url,content}]

brave

  • JSON: query, optional answer, results: [{title,url,snippet}]

md

  • A compact Markdown list with title/url/snippet.

Notes

  • Keep max-results small by default (3–5) to reduce token/reading load.
  • Prefer returning URLs + snippets; fetch full pages only when needed.

Comments

Loading comments...