Langsung ke konten
Skillpedia
Web scraping6.3k Β· #14301

webcrawler-deep-crawl

Fungsinya

Skill ini mengunjungi halaman-halaman situs, dimulai dari tautan yang Anda berikan, lalu mengembalikan teks bersih, Markdown, dan detail untuk setiap halaman. Skill ini ditujukan untuk tim yang membangun basis pengetahuan, indeks pencarian, atau konten chatbot dari sebuah situs web.

Kapan dipakai

  • βœ“Saat Anda ingin menyalin konten seluruh situs dokumentasi.
  • βœ“Ketika Anda perlu membangun basis pengetahuan dari blog atau pusat bantuan perusahaan.
  • βœ“Saat Anda ingin mengumpulkan semua halaman sebuah situs web dalam satu kumpulan catatan.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/browser-act/skills/blob/main/solutions/search-research/webcrawler-deep-crawl/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œRayapi situs dokumentasi yang dimulai dari docs.example.com, hingga 200 halaman, dan berikan saya teks setiap halaman.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini dimulai dari tautan yang Anda berikan dan mengikuti tautan di dalam cakupan yang Anda atur, berpindah tingkat demi tingkat. Untuk setiap halaman, ia menghapus menu, header, dan footer, lalu mengembalikan teks utama dengan judul, deskripsi, dan tautan keluarnya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Bisakah saya membatasi seberapa banyak yang dirayapi?

Bisa, Anda dapat mengatur cakupan, kedalaman, dan jumlah halaman.

Apa yang dikembalikan untuk setiap halaman?

Setiap halaman disertai URL, teks, Markdown, HTML, metadata, dan tautan yang mengarah ke luar situs.

Apakah saya perlu login?

Hanya untuk halaman di balik login. Dalam kasus itu, browser harus sudah masuk ke situs tersebut.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
6.3k
Peringkat
#14301
Lisensi
MIT
Diperbarui
24/8/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa