Chuyển đến nội dung
Skillpedia
Thu thập dữ liệu web5.5k · #14817

wigolo-crawl

Skill này làm gì

Skill này dạy agent cách thu thập nhiều trang từ một website, như tài liệu của nó. Skill dùng chiến lược sitemap hoặc đi theo liên kết, giữ trong các đường dẫn đã chọn, và tôn trọng giới hạn tần suất cùng robots.txt.

Khi nào nên dùng

  • ✓Khi người dùng muốn lập chỉ mục một trang tài liệu để đọc sau.
  • ✓Khi người dùng yêu cầu lấy toàn bộ trang nằm dưới một đường dẫn của website.
  • ✓Khi người dùng muốn một bản sao hàng loạt văn bản của một site được lưu trong bộ nhớ đệm cục bộ.

Liên kết skill

https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-crawl/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-crawl/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thu thập tài liệu của trang này, chỉ trong thư mục API reference, và lưu tối đa ba mươi trang.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chọn một chiến lược, như sitemap, thu thập theo liên kết, hoặc chỉ khám phá URL, rồi thêm các mẫu để giữ việc thu thập trong phạm vi. Sau đó agent tải các trang trong giới hạn và lưu chúng vào bộ nhớ đệm cục bộ.

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.

wigolo crawl

Crawl sites with configurable strategy, depth, and rate limiting. All pages enter the local cache with embeddings.

Quick Reference

// Crawl docs via sitemap (fastest, recommended for doc sites)
{ "url": "https://docs.example.com", "strategy": "sitemap", "max_pages": 30 }

// BFS crawl with scope filter
{ "url": "https://example.com", "strategy": "bfs", "max_depth": 3, "max_pages": 50, "include_patterns": ["^https://example\\.com/docs"] }

// URL discovery only (no content fetched — fastest for scoping)
{ "url": "https://example.com", "strategy": "map" }

// Authenticated crawl
{ "url": "https://app.example.com/docs", "strategy": "bfs", "use_auth": true, "max_pages": 20 }

Parameters

Parameter Type Default When to use
url string required Seed URL
strategy string "bfs" "sitemap" for doc sites, "map" for URL discovery only
max_depth number 2 How many link levels to follow
max_pages number 20 Hard cap on pages fetched
include_patterns string[] none Regex whitelist — ALWAYS add to stay in scope
exclude_patterns string[] none Regex blacklist
use_auth boolean false For authenticated sites
extract_links boolean false Return inter-page link graph
max_total_chars number 100000 Total char budget
max_tokens_out number none Token-budget cap (cl100k-base)
include_full_markdown boolean false Pages return evidence-only by default
citation_format string "numbered" "numbered" / "json" / "anthropic_tags"

Pages are dedup'd by canonical URL (anchor-fragment aware: /intro and /intro#install collapse to one entry).

After Crawling

All crawled pages enter the local cache with embeddings. This means:

  • cache({ query: "..." }) finds content instantly (no network).
  • find_similar({ url: "..." }) discovers related pages from cached content.
  • Future searches that hit cached URLs return instantly.

Crawl first, then use cache and find_similar for subsequent lookups.

Anti-Patterns

  • DON'T crawl max_pages: 100 without include_patterns — fetches nav/footer/sitemap noise.
  • DON'T use BFS on large doc sites — strategy: "sitemap" is faster and more complete.
  • DON'T crawl when you need one page — use fetch.

When NOT to use wigolo-crawl

  • Login-required crawl beyond what use_auth covers — handle authentication externally first, then crawl.

See Also

Câu hỏi thường gặp

Nó có tuân theo robots.txt không?

Có. Skill nói nó tôn trọng robots.txt và áp dụng giới hạn tần suất.

Làm sao giữ việc thu thập trong phạm vi?

Skill khuyên thêm các mẫu bao gồm để giới hạn việc thu thập vào đúng khu vực.

Chiến lược sitemap là gì?

Nó đọc sitemap của website, thường là cách nhanh nhất để bao phủ một trang tài liệu.

Chi tiết

Mô tả gốc của tác giả

Local-first multi-page crawl with sitemap, BFS, DFS, and URL-map strategies, anchor-fragment dedup, rate limiting, robots.txt respect, and automatic local cache population. Use when the user wants to index documentation, crawl a docs site, extract all pages under a path, or says "crawl", "index this site", "get all the docs", "bulk extract". Prefer when crawled pages should land in a reusable local cache for later `cache` / `find_similar` queries.

repo: KnockOutEZ/wigolo

Độ phổ biến

Sao GitHub
5.5k
Vị trí xếp hạng
#14817
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự