← 返回 Skills 市场
matthew77

Tavily Extract

作者 Liang · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
426
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install liang-tavily-extract
功能描述
Extract content from specific URLs using Tavily's extraction API. Returns clean markdown/text from web pages.
使用说明 (SKILL.md)

Tavily Extract

Extract clean content from specific URLs. Ideal when you know which pages you want content from.

Authentication

Get your API key at https://tavily.com and add to your OpenClaw config:

{
  "skills": {
    "entries": {
      "tavily-extract": {
        "enabled": true,
        "apiKey": "tvly-YOUR_API_KEY_HERE"
      }
    }
  }
}

Or set in environment variable:

export TAVILY_API_KEY="tvly-YOUR_API_KEY_HERE"

Quick Start

Using the Script

node {baseDir}/scripts/extract.mjs "https://example.com/article"
node {baseDir}/scripts/extract.mjs "url1,url2,url3"
node {baseDir}/scripts/extract.mjs "url" --query "authentication API"

Examples

# Single URL
node {baseDir}/scripts/extract.mjs "https://docs.python.org/3/tutorial/classes.html"

# Multiple URLs
node {baseDir}/scripts/extract.mjs "https://example.com/page1,https://example.com/page2"

# With query focus
node {baseDir}/scripts/extract.mjs "https://example.com/docs" --query "authentication API"

# Advanced extraction for JS pages
node {baseDir}/scripts/extract.mjs "https://app.example.com" --depth advanced --timeout 60

Options

Option Description Default
--query \x3Ctext> Rerank chunks by relevance -
--chunks \x3Cn> Chunks per URL (1-5, requires query) 3
--depth \x3Cmode> Extract depth: basic or advanced basic
--format \x3Cfmt> Output format: markdown or text markdown
--timeout \x3Csec> Max wait time (1-60 seconds) varies
--json Output raw JSON false

Extract Depth

Depth When to Use
basic Simple text extraction, faster
advanced Dynamic/JS-rendered pages, tables, structured data

Tips

  • Max 20 URLs per request - batch larger lists
  • Use --query + --chunks to get only relevant content
  • Try basic first, fall back to advanced if content is missing
  • Set longer --timeout for slow pages (up to 60s)
  • Check failed_results in JSON output for URLs that couldn't be extracted
安全使用建议
This skill appears coherent, but consider the following before installing: (1) The script sends URLs (and the service will fetch page content) to Tavily's API — do not send private/internal URLs you don't want a third party to access. (2) Protect the TAVILY_API_KEY like any secret and avoid reusing it across unrelated services. (3) Ensure your Node runtime supports global fetch (Node 18+ or supply a fetch polyfill). (4) Check Tavily's privacy, retention, and billing policies if you will submit many or sensitive URLs.
功能分析
Type: OpenClaw Skill Name: liang-tavily-extract Version: 1.0.0 The OpenClaw skill bundle for 'tavily-extract' is benign. The `SKILL.md` file provides clear, functional instructions without any prompt injection attempts or hidden agendas. The `scripts/extract.mjs` script correctly implements the described functionality, making a `fetch` request to the legitimate Tavily API endpoint (https://api.tavily.com/extract) using an API key from the environment variable `TAVILY_API_KEY`. There is no evidence of data exfiltration, malicious command execution, persistence mechanisms, or obfuscation. All actions are directly aligned with the stated purpose of extracting web content.
能力评估
Purpose & Capability
Name/description, required binary (node), required env var (TAVILY_API_KEY), and the shipped script all consistently implement a client for Tavily's extraction API. There are no unrelated credentials, binaries, or config paths requested.
Instruction Scope
SKILL.md only instructs how to supply the API key and run the provided script. The script accepts URLs and options and sends them to https://api.tavily.com/extract. It does not read other local files, environment variables, or system paths beyond TAVILY_API_KEY.
Install Mechanism
This is an instruction-only skill with a single node script (no install spec). That's low-risk. One note: the script uses the global fetch API, so it requires a Node runtime that provides fetch (Node 18+ or equivalent polyfill).
Credentials
Only TAVILY_API_KEY is required and is the primary credential used for Authorization in requests to the Tavily API. No additional secrets or unrelated env vars are requested.
Persistence & Privilege
always is false and the skill does not request any persistent system-level privileges or modify other skills. It can be invoked autonomously (platform default), which is expected for a skill of this type.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install liang-tavily-extract
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /liang-tavily-extract 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of tavily-extract skill. - Extracts clean markdown or text from URLs using Tavily's extraction API. - Supports single or multiple URLs (up to 20 per request). - Optional query-based content reranking and chunk limiting. - Basic and advanced extraction modes for static or JS-rendered pages. - Multiple output formats: markdown, text, or raw JSON. - Requires TAVILY_API_KEY for authentication.
元数据
Slug liang-tavily-extract
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Tavily Extract 是什么?

Extract content from specific URLs using Tavily's extraction API. Returns clean markdown/text from web pages. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 426 次。

如何安装 Tavily Extract?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install liang-tavily-extract」即可一键安装,无需额外配置。

Tavily Extract 是免费的吗?

是的,Tavily Extract 完全免费(开源免费),可自由下载、安装和使用。

Tavily Extract 支持哪些平台?

Tavily Extract 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Tavily Extract?

由 Liang(@matthew77)开发并维护,当前版本 v1.0.0。

💬 留言讨论