本文へスキップ
Skillpedia
Webスクレイピング5.5k · #14817

wigolo-crawl

できること

このスキルは、一つの Web サイトから多くのページを集める方法を説明します。サイトマップまたはリンクをたどる方法を使い、選んだパスの範囲内にとどまり、レート制限と robots.txt を守ります。

使う場面

  • ✓ユーザーが、後で読むためにドキュメントサイトをインデックス化したいとき。
  • ✓ユーザーが、Web サイトの一つのパス配下にあるページをすべて取得したいとき。
  • ✓ユーザーが、サイトの本文の一括コピーをローカルのキャッシュに保存したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-crawl/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このサイトのドキュメントをクロールしてください。API リファレンスのフォルダーに限定し、最大30ページまで保存してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、サイトマップ、リンクのクロール、URL の探索だけなど、戦略を一つ選びます。範囲を保つためにパターンを加えます。その後、上限の中でページを取得し、ローカルのキャッシュに保存します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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

よくある質問

robots.txt を守りますか?

はい。robots.txt を守り、レート制限を適用するとされています。

クロールの範囲をどう保ちますか?

正しい領域に限定する include パターンを加えるよう勧められています。

サイトマップの戦略とは何ですか?

サイトのサイトマップを読む方法で、ドキュメントサイトを網羅する最も速い方法であることが多いです。

詳細

作者による元の説明

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

人気

GitHubのスター
5.5k
ランキング
#14817
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル