webcrawler-deep-crawl
Skill này làm gì
Skill truy cập các trang của một website, bắt đầu từ các liên kết bạn đưa, và trả về văn bản sạch, Markdown cùng chi tiết của từng trang. Skill dành cho đội ngũ xây dựng cơ sở tri thức, chỉ mục tìm kiếm hoặc nội dung chatbot từ một website.
Khi nào nên dùng
- ✓Khi bạn muốn sao chép nội dung của toàn bộ một trang tài liệu.
- ✓Khi bạn cần xây dựng cơ sở tri thức từ blog công ty hoặc trung tâm trợ giúp.
- ✓Khi bạn muốn thu thập tất cả các trang của một website trong một tập bản ghi.
Liên kết skill
https://github.com/browser-act/skills/blob/main/solutions/search-research/webcrawler-deep-crawl/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thu thập website tài liệu bắt đầu từ docs.example.com, tối đa 200 trang, và cho tôi văn bản của từng trang.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill bắt đầu từ các liên kết bạn đưa và đi theo liên kết trong phạm vi bạn đặt, từng cấp một. Với mỗi trang, skill bỏ menu, tiêu đề đầu và chân trang, rồi trả về nội dung chính cùng tiêu đề, mô tả và các liên kết đi ra ngoài website.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 viabrowser-act --session <name> eval "$(python scripts/xxx.py {params})".$(...)is bash syntax; use the bash tool for execution. Theevaltoken below refers to the browser-act CLIevalsubcommand — always include thebrowser-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, default5000
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
Câu hỏi thường gặp
Bạn có thể giới hạn mức thu thập không?
Có. Bạn có thể đặt phạm vi, độ sâu và số lượng trang.
Mỗi trang trả về những gì?
Mỗi trang gồm URL, văn bản, Markdown, HTML, siêu dữ liệu và các liên kết đi ra ngoài website.
Bạn có cần đăng nhập không?
Chỉ với các trang yêu cầu đăng nhập. Trong trường hợp đó, trình duyệt phải đã đăng nhập sẵn vào website.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14301
- Giấy phép
- MIT
- Cập nhật
- 24/8/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-act-skill-forge
6.3kGiúp agent của bạn khám phá một website một lần rồi lưu thành một skill tái sử dụng với các script, để lấy dữ liệu từ site đó sau này nhanh hơn.
browser-act
6.3kGiúp agent của bạn chạy công cụ tự động hóa trình duyệt để mở trang, đọc nội dung đã render, điền biểu mẫu, chụp ảnh màn hình và quản lý phiên đã đăng nhập.
1688-product-detail
6.3kGiúp agent của bạn lấy chi tiết sản phẩm từ một trang bán buôn 1688.com, như bậc giá, biến thể, thống kê người bán và thuộc tính.
airbnb-listing-detail
6.3kGiúp agent của bạn lấy chi tiết công khai của một tin đăng Airbnb theo ID, như ảnh, tiện nghi, đánh giá và nội quy nhà.
Skill tương tự
tavily
394kGiúp agent của bạn tìm kiếm web bằng Tavily và lấy văn bản từ các trang cụ thể, với tùy chọn về độ sâu, tên miền và ngày tháng.
blogwatcher
394kCho phép agent của bạn theo dõi blog và nguồn cấp RSS hoặc Atom, kiểm tra bài viết mới và đánh dấu những bài bạn đã đọc.
data-scraper-agent
280kGiúp agent tự động thu thập dữ liệu từ mọi nguồn công khai. Có thể lên lịch, bổ sung thông tin và lưu kết quả. Hữu ích để theo dõi dữ liệu trực tuyến.