agentleFS
AlexisZ12AlexisZ12/tavily-skills/skills/tavily-crawl/SKILL.md

tavily-crawl

Skill1 starsChanged 5 months agoMITView on GitHub

通过 Tavily Crawl API 对网站进行图式遍历爬取。当用户需要从指定 URL 出发、按深度和广度爬取整个网站内容时使用。

  • Installs packages

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. wkylin/pro-react-admin★ 948same name
    2. PracticalSwan/agent-skills★ 22same name
    3. jpoindexter/theft-kit★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

Files
SKILL.md

Tavily 网站爬取

使用 Tavily Crawl API (POST /crawl) 从根 URL 出发,基于图并行遍历网站,内置内容提取和智能发现。

环境准备

  • Python 3.8+
  • Tavily API key(在 https://app.tavily.com 获取)
  • 安装依赖:pip install requests python-dotenv

用法

python scripts/tavily-crawl.py --url "docs.tavily.com"

参数

参数类型默认值说明
--urlstr必填爬取起始 URL
--instructionsstr-自然语言指令引导爬虫方向。提供后费用升至 2 credits / 10 页
--chunks-per-sourceint3每个来源返回的内容片段数(1-5,仅提供 --instructions 时生效)
--max-depthint1爬取最大深度(1-5)
--max-breadthint20每层跟随的最大链接数(1-500)
--limitint50爬虫停止前处理的总链接数
--extract-depthstrbasicbasic / advanced(每 5 次成功提取消耗 1 或 2 credits)

示例

# 基本爬取
python scripts/tavily-crawl.py --url "docs.tavily.com"

# 带指令的爬取,加深深度
python scripts/tavily-crawl.py --url "docs.tavily.com" --instructions "找到所有关于 Python SDK 的页面" --max-depth 3 --limit 100

# 高级提取
python scripts/tavily-crawl.py --url "docs.tavily.com" --extract-depth advanced --max-depth 2

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.