Перейти к содержанию
Skillpedia
Веб-скрапинг6.3k · #14301

webcrawler-deep-crawl

Что он делает

Этот скилл обходит страницы сайта, начиная со ссылок, которые вы даёте, и возвращает для каждой страницы чистый текст, Markdown и подробности. Он нужен командам, которые создают базы знаний, поисковые индексы или контент для чат-ботов на основе сайта.

Когда использовать

  • ✓Когда нужно скопировать содержимое всего сайта документации.
  • ✓Когда нужно создать базу знаний из блога компании или центра справки.
  • ✓Когда нужно собрать все страницы сайта в одном наборе записей.

Ссылка на скилл

https://github.com/browser-act/skills/blob/main/solutions/search-research/webcrawler-deep-crawl/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/browser-act/skills/blob/main/solutions/search-research/webcrawler-deep-crawl/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Обойди сайт документации, начиная с docs.example.com, до 200 страниц, и дай мне текст каждой страницы.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Скилл начинает со ссылок, которые вы дали, и переходит по ссылкам внутри заданных рамок, уровень за уровнем. Для каждой страницы он убирает меню, шапки и подвалы и возвращает основной текст с заголовком, описанием и исходящими ссылками.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Website Deep Crawl

Input: one or more start URLs (+ optional scope, depth, page-count, globs, removal selectors). Output: per-page records {url, crawl, metadata, text, markdown, html, outboundLinks} for every page reached within scope.

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

From a small set of start URLs, breadth-first crawl every reachable in-scope page, strip boilerplate (navigation, header, footer, cookie banners, etc.), and emit per-page LLM-ready content (text / markdown / HTML) plus structured metadata — suitable for feeding RAG pipelines, vector databases, or chatbot knowledge bases.

Prerequisites

  • One or more start URLs are provided by the caller.
  • Target pages are publicly reachable, OR the running browser is already logged in for any pages behind authentication.
  • A working directory is available for writing per-page JSON records and the crawl state file.

Pre-execution Checks

1. Tool Readiness

If browser-act has been confirmed available in the current session → skip this step.

Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.

2. Login Verification (when prerequisites include login requirement)

If login status for the target site has been confirmed in the current session → skip this step.

Otherwise: open the target site and observe the page login status:

  • Logout/sign-out entry, user avatar, or username exists → logged in, continue execution
  • Login/register entry exists with no logout entry → not logged in, inform the user that login is needed first, assist the user in completing the login flow

User refuses or cannot log in → terminate execution.

Capability Components

This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. JS code is encapsulated in Python files under the scripts/ directory, invoked via browser-act --session <name> eval "$(python scripts/xxx.py {params})". $(...) is bash syntax; use the bash tool for execution. The eval token below refers to the browser-act CLI eval subcommand — always include the browser-act --session <name> prefix and the "$(...)" substitution.

Below are all atomic capabilities discovered and verified during the exploration phase, listed by command template with parameters. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify. Only inspect scripts when execution fails for troubleshooting. Combine freely as needed during execution.

API: discover URLs from /llms.txt

Probes {origin}/llms.txt (a convention used by LLM-friendly documentation sites) and returns every URL it lists. Fast path — try this first.

eval "$(python scripts/discover-llms-txt.py 'https://example.com')"

Parameters:

  • positional origin: the site origin (scheme + host), e.g. https://docs.example.com

Output example:

{
  "error": false,
  "source": "llms.txt",
  "count": 88,
  "urls": ["https://docs.example.com/intro", "https://docs.example.com/install"]
}

On failure (file missing or HTTP error): {"error": true, "message": "llms.txt not available (HTTP 404)", "urls": []} — move on to sitemap discovery.

API: discover URLs from /sitemap.xml

Probes {origin}/sitemap.xml and {origin}/sitemap_index.xml, follows nested sitemap indexes, and collects every <loc> URL.

eval "$(python scripts/discover-sitemap.py 'https://example.com' --max-urls 5000)"

Parameters:

  • positional origin: site origin
  • --max-urls: hard cap to stop ballooning sitemap indexes, default 5000

Output example:

{
  "error": false,
  "source": "sitemap.xml",
  "count": 86,
  "urls": ["https://example.com/page-a", "https://example.com/page-b"]
}

On failure: {"error": true, "message": "No sitemap found at standard paths", "urls": []} — fall back to DOM link discovery.

DOM: discover URLs from the current page

Reads <a href> from the currently loaded page DOM, normalizes them to absolute URLs, drops fragments, asset extensions, and out-of-scope links, and optionally applies include / exclude glob filters. Use when llms.txt and sitemap are both unavailable, o

Частые вопросы

Можно ли ограничить объём обхода?

Да, можно задать рамки, глубину и число страниц.

Что возвращается для каждой страницы?

Каждая страница приходит с адресом, текстом, Markdown, HTML, метаданными и ссылками, которые ведут за пределы сайта.

Нужно ли входить в аккаунт?

Только для страниц за логином. В этом случае браузер уже должен быть вошедшим в аккаунт на сайте.

Подробности

Оригинальное описание автора

Deep-crawl any website from start URLs, return per-page LLM-ready text/markdown/HTML plus metadata (title, description, author, language, canonical URL, OG) and in-scope outbound links. Use when user mentions deep crawl website, recursive crawl, crawl a whole site, scrape entire website, scrape docs site, scrape documentation, scrape knowledge base, scrape blog, build RAG corpus, build vector database from website, knowledge base for chatbot, GPT knowledge files, llms.txt, sitemap crawl, BFS crawl, scrape with depth or page limit, include exclude URL globs, remove boilerplate, strip navigation

repo: browser-act/skills

Популярность

Звёзды на GitHub
6.3k
Место в рейтинге
#14301
Лицензия
MIT
Обновлён
24.08.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы