
Adds Tavily web search as an alternative to Brave when you need Claude to look up current information or find sources. Returns a focused set of results with titles, URLs, and snippets, plus optional short answer summaries. The format options are handy: default JSON, a Brave-compatible schema if you're switching between providers, or Markdown for quick readability. Requires a Tavily API key in your environment or config file. The documentation is smart about keeping result counts low to avoid token bloat, which matters more than people think when you're chaining searches together in a longer task.
npx -y skills add jacky1n7/openclaw-skill-tavily-search --skill tavily-search --agent claude-codeInstalls into .claude/skills of the current project.
Use the bundled script to discover public web sources through Tavily. Resolve
scripts/tavily_search.py relative to this SKILL.md file rather than assuming the user's
current working directory.
--format brave for stable machine-readable results. Keep the default at
3-5 results unless broader coverage is necessary.# General structured search
python3 scripts/tavily_search.py --query "..." --max-results 5 --format brave
# Recent news
python3 scripts/tavily_search.py --query "..." --topic news --time-range week --format brave
# Restrict or exclude domains (repeat flags as needed)
python3 scripts/tavily_search.py --query "..." \
--include-domain example.org --exclude-domain example.com --format brave
# Human-readable output
python3 scripts/tavily_search.py --query "..." --format md
Available search depths are basic, advanced, fast, and ultra-fast. advanced costs more
Tavily credits; use it only when the task needs deeper relevance. Topics are general, news, and
finance.
Set TAVILY_API_KEY in the agent's environment. The host application may load that variable from
its own credential or environment configuration; the script does not read credential files. Never
print, quote, log, or include the key in generated output. Search queries and requested domain
filters are sent to Tavily's API.
raw: {query, answer?, results:[{title,url,content,score?}]}brave: {query, answer?, results:[{title,url,snippet,score?}]}md: compact numbered links with snippetsThe script writes successful data to stdout and diagnostics to stderr. Authentication, rate-limit, TLS, network, malformed-response, and response-size failures return a nonzero exit status. TLS certificate verification must remain enabled.