tavily

TotalClaw 作者 totalclaw

通过 Tavily API 进行人工智能优化的网络搜索。为 AI 代理返回简洁、相关的结果。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~tavily-search-1-0-0
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~tavily-search-1-0-0/file -o tavily-search-1-0-0.md
# Tavily Search

AI-optimized web search using Tavily API. Designed for AI agents - returns clean, relevant content.

## Search

```bash
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
```

## Options

- `-n <count>`: Number of results (default: 5, max: 20)
- `--deep`: Use advanced search for deeper research (slower, more comprehensive)
- `--topic <topic>`: Search topic - `general` (default) or `news`
- `--days <n>`: For news topic, limit to last n days

## Extract content from URL

```bash
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

---

## 中文说明

# Tavily Search

使用 Tavily API 进行 AI 优化的网络搜索。专为 AI 代理设计——返回干净、相关的内容。

## 搜索

```bash
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
```

## 选项

- `-n <count>`:结果数量(默认:5,最大:20)
- `--deep`:使用高级搜索进行更深入的研究(更慢,更全面)
- `--topic <topic>`:搜索主题——`general`(默认)或 `news`
- `--days <n>`:用于 news 主题,限制为最近 n 天

## 从 URL 提取内容

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

注意:
- 需要来自 https://tavily.com 的 `TAVILY_API_KEY`
- Tavily 针对 AI 进行了优化——返回干净、相关的摘要
- 对于复杂的研究问题使用 `--deep`
- 对于时事使用 `--topic news`