> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# AIsa Tavily Extract

> 从公开 URL 提取干净、可读的内容。

[在 GitHub 上查看 ->](https://github.com/AIsa-team/agent-skills/tree/main/search-research/tavily-extract)

**干净的网页内容提取。** 通过 AIsa 使用 Tavily Extract，将一个或多个公开 URL 转成可读文本。

## 安装

如果还没有安装 AIsa CLI，请先安装：

```bash theme={null}
npm install -g @aisa-one/cli
```

然后安装该技能：

```bash theme={null}
aisa skills install tavily-extract
```

## 智能体可以用它做什么？

> [card] 文章提取
>
> 从公开 URL 拉取可读文章文本。

> [card] 文档复核
>
> 在分析前提取源文本。

> [card] 引用准备
>
> 让摘要保留对应的来源内容。

> [card] 研究清理
>
> 去掉页面外壳，只保留有用内容。

## 设置

该技能需要 `AISA_API_KEY` 环境变量。作为 Claude 插件安装时，key 会通过插件的 `userConfig` 配置。

## 用法

用 `extract` 子命令运行搜索客户端：

```bash theme={null}
python3 ${CLAUDE_PLUGIN_ROOT}/skills/tavily-extract/scripts/search_client.py extract --urls "<comma-separated URLs>"
```

### 参数

| 参数 | 必填 | 默认值 | 说明 |
| - | - | - | - |
| `--urls` / `-u` | Yes | — | 要提取内容的 URL，以逗号分隔 |

### 示例

```bash theme={null}
# 提取单篇文章
python3 ${CLAUDE_PLUGIN_ROOT}/skills/tavily-extract/scripts/search_client.py extract --urls "https://example.com/article"

# 提取多个页面
python3 ${CLAUDE_PLUGIN_ROOT}/skills/tavily-extract/scripts/search_client.py extract --urls "https://example.com/page1,https://example.com/page2"
```

## 输出

对每个 URL，脚本会打印：

* **URL** — 来源 URL
* **Content** — 干净提取文本（每页最多 3000 字符）

## 何时使用

当用户提供 URL 并希望阅读或分析其内容，或当你需要获取搜索结果中某篇文章的全文时使用该技能。它最适合“读这个页面”或“总结这个 URL”类请求。

## 开始使用

1. 在 [aisa.one](https://aisa.one) 注册（新账户有 \$1 免费额度）。
2. 从控制台生成 API key。
3. 设置 key 并安装技能：
   ```bash theme={null}
   export AISA_API_KEY="your-key"
   npm install -g @aisa-one/cli
   aisa skills install tavily-extract
   ```
4. 启动新的智能体会话，让运行时加载更新后的技能说明。

## 相关

> [card] [Tavily Search](https://aisa.one/docs/zh/agent-skills/tavily-search.md)
>
> 提取来源前先搜索网页。

> [card] [AIsa Tavily Search](https://aisa.one/docs/zh/agent-skills/aisa-tavily.md)
>
> 组合搜索与提取工作流。

> [card] [Tavily Extract API](https://aisa.one/docs/api-reference/search/post_tavily-extract.md)
>
> 提取端点参考。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.