360 Secure SkillHub
360 安全技能中心

Tavily Search

通过 Node 脚本调用 Tavily API 完成 AI 优化的网络搜索与网页内容提取:搜索支持指定结果数量、深度检索、新闻主题过滤与时间范围;提取脚本按 URL 获取正文内容,需配置 TAVILY_API_KEY 并联网。

分类:搜索
rajtejani61
rajtejani61
热度 53.32
最近更新 2026-05-11 17:26:03

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add rajtejani61/tavily-web-search
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
tavily-search
description
AI-optimized search and content extraction using Tavily API. Includes deep search, news filtering, and raw content extraction for LLM processing.
homepage
https://tavily.com
metadata
{"clawdbot":{"emoji":"🔍","requires":{"bins":["node"],"env":["TAVILY_API_KEY"]}}}

Tavily Search

Tavily is a search engine built specifically for AI agents (LLMs). This skill provides optimized search results and content extraction.

Prerequisites

  1. Node.js installed.
  2. Tavily API Key: Get one at tavily.com.
  3. Environment Variable: Set TAVILY_API_KEY in your environment.

Usage

Search

Perform an AI-optimized search.

node scripts/search.mjs "What are the latest developments in agentic AI?"

Options:

  • -n <number>: Number of results (default: 5, max: 20).
  • --deep: Use advanced search depth (more tokens, better results).
  • --topic <general|news>: Filter by topic (default: general).
  • --days <number>: For news topic, limit results to past N days.

Extract content from URL

node {baseDir}/scripts/extract.mjs "https://example.com/article"

Notes:

  • Needs TAVILY_API_KEY from https://tavily.com
  • Tavily is optimized for AI - returns clean, relevant snippets
  • Use --deep for complex research questions
  • Use --topic news for current events

Troubleshooting

  • Missing API Key: Ensure TAVILY_API_KEY is exported or set in your session.
  • Network Errors: Check your internet connection and API quota at Tavily.